/* Stilovi samo za sadržaj početne stranice. */

.aod-home {
    padding: 28px 24px;
    color: #171717;
}

.aod-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 5.3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: start;
}

.aod-home-layout > * {
    min-width: 0;
}

.aod-home .aod-section-title {
    position: relative;
    margin: 0 0 20px;
    padding: 0 0 12px;
    border-bottom: 2px solid #b7b7b7;
    color: #003f8a;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

.aod-home .aod-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #003f8a;
}

.aod-announcements-list {
    padding: 4px 18px 18px;
    background: #eef3fa;
}

.aod-announcement {
    padding: 20px 0;
    border-bottom: 1px solid #cbd1da;
}

.aod-home .aod-date {
    margin: 0 0 7px;
    color: #171717;
    font-size: 14px;
    line-height: 1.4;
}

.aod-home .aod-announcement-title,
.aod-home .aod-news-title {
    margin: 0 0 10px;
    color: #002c64;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.aod-home .aod-news-title a {
    color: inherit;
    text-decoration: none;
}

.aod-home .aod-news-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.aod-announcement-document {
    margin-top: 7px;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.aod-home .aod-announcement-document a {
    color: #003f8a;
}

.aod-news-item {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #cbd1da;
}

.aod-news-item:first-child {
    padding-top: 12px;
}

.aod-news-text {
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.aod-news-text p {
    margin: 0 0 12px;
}

.aod-news-text > :last-child {
    margin-bottom: 0;
}

.aod-news-text img {
    max-width: 100%;
    height: auto;
}

.aod-news-text ul,
.aod-news-text ol {
    padding-left: 24px;
    margin: 0 0 12px;
    overflow: visible;
}

.aod-news-text ul {
    list-style-type: disc;
}

.aod-news-text ol {
    list-style-type: decimal;
}

.aod-news-text li {
    float: none;
}

.aod-home .aod-more {
    display: inline-block;
    margin-top: 18px;
}

.aod-sidebar {
    text-align: center;
}

.aod-sidebar-block {
    margin: 0 0 28px;
}

.aod-sidebar img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.aod-video {
    position: relative;
    height: 0;
    padding-bottom: 73.88%;
    overflow: hidden;
}

.aod-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.aod-sidebar-caption {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    .aod-home {
        padding-right: 16px;
        padding-left: 16px;
    }

    .aod-home-layout {
        gap: 22px;
        grid-template-columns: minmax(0, 3.6fr) minmax(0, 5fr) minmax(0, 2.2fr);
    }
}

@media (max-width: 991.98px) {
    .aod-home-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    }

    .aod-sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .aod-sidebar-block {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .aod-home {
        padding: 20px 15px;
    }

    .aod-home-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .aod-home .aod-section-title {
        font-size: 27px;
    }

    .aod-home .aod-news-title,
    .aod-home .aod-announcement-title {
        font-size: 18px;
    }

    .aod-sidebar {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
    }
}