/* FSGK - Vesti i pojedinačna objava */

.fsgk-section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-family: var(--accent-font);
    font-size: 18px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fsgk-page-header-meta {
    margin-top: 22px;
}

.fsgk-page-header-meta ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fsgk-page-header-meta ol li {
    margin: 0;
}

.fsgk-inner-ticker {
    border-top: 1px solid var(--dark-divider-color);
}

.fsgk-news-archive {
    background: #f7f8f9;
}

.fsgk-news-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 0 0 45px;
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 35px;
}

.fsgk-news-intro > div:first-child {
    max-width: 720px;
}

.fsgk-news-intro h2,
.fsgk-news-results-heading h2,
.fsgk-featured-news h2,
.fsgk-related-news h2,
.fsgk-comments h2 {
    font-size: 48px;
}

.fsgk-news-intro p {
    margin: 15px 0 0;
}

.fsgk-news-stats {
    display: flex;
    gap: 10px;
}

.fsgk-news-stats span {
    min-width: 105px;
    padding: 18px 16px;
    border-radius: 10px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    text-align: center;
}

.fsgk-news-stats strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.fsgk-news-stats small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    text-transform: uppercase;
}

.fsgk-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin-bottom: 45px;
    border-radius: 12px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
}

.fsgk-news-search {
    display: flex;
    flex: 1;
    gap: 10px;
}

.fsgk-news-search label {
    position: relative;
    flex: 1;
    margin: 0;
}

.fsgk-news-search label i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

.fsgk-news-search input {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 48px;
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    outline: none;
    color: var(--primary-color);
    background: #f7f8f9;
}

.fsgk-news-search input:focus {
    border-color: var(--accent-color);
}

.fsgk-news-search .btn-default {
    border: 0;
    min-width: 130px;
}

.fsgk-news-types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fsgk-news-types a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary-color);
    background: var(--divider-color);
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.fsgk-news-types a:hover,
.fsgk-news-types a.is-active {
    color: var(--white-color);
    background: var(--accent-color);
}

.fsgk-featured-news {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    overflow: hidden;
    margin-bottom: 70px;
    border-radius: 20px;
    background: var(--primary-color);
}

.fsgk-featured-news__image,
.fsgk-featured-news__image figure,
.fsgk-featured-news__image img {
    width: 100%;
    height: 100%;
}

.fsgk-featured-news__image {
    min-height: 450px;
    cursor: none;
}

.fsgk-featured-news__image img {
    object-fit: cover;
}

.fsgk-featured-news__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
}

.fsgk-featured-news__meta,
.fsgk-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 15px;
}

.fsgk-featured-news__meta span,
.fsgk-news-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.fsgk-featured-news__meta span {
    color: rgba(255,255,255,.72);
}

.fsgk-featured-news__meta i,
.fsgk-news-card__meta i {
    color: var(--accent-color);
}

.fsgk-featured-news h2 {
    margin-bottom: 18px;
    color: var(--white-color);
}

.fsgk-featured-news h2 a {
    color: inherit;
}

.fsgk-featured-news p {
    color: rgba(255,255,255,.72);
}

.fsgk-featured-news .btn-default {
    align-self: flex-start;
    margin-top: 10px;
}

.fsgk-news-layout {
    align-items: flex-start;
}

.fsgk-news-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.fsgk-news-results-heading strong {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--accent-color);
    font-family: var(--accent-font);
    font-size: 34px;
    font-weight: 400;
}

.fsgk-news-results-heading strong small {
    color: var(--text-color);
    font-family: var(--default-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.fsgk-news-card {
    padding: 12px;
    border-radius: 14px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    transition: transform .25s ease, box-shadow .25s ease;
}

.fsgk-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(3, 21, 33, .09);
}

.fsgk-news-card__image {
    position: relative;
}

.fsgk-news-card__image a,
.fsgk-news-card__image figure {
    height: 100%;
}

.fsgk-news-card__image img {
    width: 100%;
    aspect-ratio: 1 / .72;
}

.fsgk-news-card__type {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 100px;
    background: var(--accent-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsgk-news-card .post-item-body {
    padding: 5px 8px 10px;
}

.fsgk-news-card__meta {
    margin: 0 0 12px;
}

.fsgk-news-card__meta span {
    color: var(--text-color);
}

.fsgk-news-card .post-item-content {
    margin-bottom: 18px;
}

.fsgk-news-card .post-item-content h2 {
    min-height: 3.1em;
    font-size: 24px;
    line-height: 1.28;
}

.fsgk-news-card .post-item-content p {
    margin: 10px 0 0;
    font-size: 14px;
}

.fsgk-news-sidebar,
.fsgk-article-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 25px;
    padding-left: 20px;
}

.fsgk-sidebar-box,
.fsgk-sidebar-cta {
    padding: 30px;
    border-radius: 15px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
}

.fsgk-sidebar-box h3,
.fsgk-sidebar-cta h3 {
    margin-bottom: 22px;
    font-size: 32px;
}

.fsgk-category-list {
    display: grid;
}

.fsgk-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.fsgk-category-list a:last-child {
    border-bottom: 0;
}

.fsgk-category-list a strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 100px;
    color: var(--primary-color);
    background: var(--divider-color);
    font-size: 12px;
}

.fsgk-category-list a:hover,
.fsgk-category-list a.is-active {
    color: var(--accent-color);
}

.fsgk-category-list a.is-active strong {
    color: var(--white-color);
    background: var(--accent-color);
}

.fsgk-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fsgk-tag-cloud a {
    padding: 9px 13px;
    border-radius: 100px;
    color: var(--primary-color);
    background: var(--divider-color);
    font-size: 12px;
    font-weight: 700;
}

.fsgk-tag-cloud a:hover {
    color: var(--white-color);
    background: var(--accent-color);
}

.fsgk-sidebar-cta {
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    background: linear-gradient(145deg, var(--primary-color), #153752);
    border: 0;
}

.fsgk-sidebar-cta > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--accent-color);
    font-size: 22px;
}

.fsgk-sidebar-cta > span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-family: var(--accent-font);
    font-size: 18px;
    text-transform: uppercase;
}

.fsgk-sidebar-cta h3 {
    color: var(--white-color);
}

.fsgk-sidebar-cta p {
    color: rgba(255,255,255,.68);
}

.fsgk-sidebar-cta .btn-default {
    margin-top: 5px;
}

.fsgk-empty-state {
    padding: 70px 30px;
    border: 1px dashed rgba(3,21,33,.22);
    border-radius: 15px;
    background: var(--white-color);
    text-align: center;
}

.fsgk-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--accent-color);
    font-size: 28px;
}

.fsgk-empty-state h3 {
    margin-bottom: 10px;
    font-size: 38px;
}

.fsgk-empty-state p {
    margin: 0;
}

.fsgk-empty-action {
    margin-top: 25px;
}

.page-pagination ul li.active span {
    background: var(--accent-color);
    color: var(--white-color);
}

.page-pagination ul li.disabled span {
    background: transparent;
}

/* Pojedinačna vest */
.fsgk-article-header .page-header-box h1 {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(48px, 6vw, 86px);
}

.fsgk-single-news {
    background: #f7f8f9;
}

.fsgk-single-news .post-image {
    position: relative;
    margin-bottom: 55px;
}

.fsgk-single-news .post-image img {
    aspect-ratio: 16 / 7;
}

.fsgk-article-type {
    position: absolute;
    left: 30px;
    bottom: 30px;
    padding: 10px 18px;
    border-radius: 100px;
    color: var(--white-color);
    background: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsgk-article-layout {
    align-items: flex-start;
}

.fsgk-post-content {
    max-width: none;
    padding: 0 15px 0 0;
}

.fsgk-article-lead {
    padding: 25px 28px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    color: var(--primary-color);
    background: var(--white-color);
    font-size: 19px;
    font-weight: 600;
}

.fsgk-post-content .post-entry {
    padding: 35px;
    border: 1px solid var(--divider-color);
    border-radius: 15px;
    background: var(--white-color);
}

.fsgk-post-content .post-entry img {
    height: auto !important;
    margin: 20px 0;
    border-radius: 12px;
}

.fsgk-post-content .post-entry table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    border-collapse: collapse;
}

.fsgk-post-content .post-entry td,
.fsgk-post-content .post-entry th {
    padding: 10px;
    border: 1px solid var(--divider-color);
}

.fsgk-news-context {
    padding: 30px;
    margin: 30px 0;
    border-radius: 15px;
    background: var(--primary-color);
}

.fsgk-news-context__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fsgk-news-context__grid a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--dark-divider-color);
    border-radius: 10px;
    color: var(--white-color);
    background: rgba(255,255,255,.04);
}

.fsgk-news-context__grid a > i {
    color: var(--accent-color);
    font-size: 20px;
}

.fsgk-news-context__grid small,
.fsgk-news-context__grid strong {
    display: block;
}

.fsgk-news-context__grid small {
    margin-bottom: 4px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fsgk-news-context__grid strong {
    color: var(--white-color);
    font-size: 13px;
}

.fsgk-post-tag-links {
    padding: 25px 0 35px;
    border-bottom: 1px solid var(--divider-color);
}

.post-social-sharing ul li button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--accent-color);
    transition: .25s ease;
}

.post-social-sharing ul li button:hover {
    background: var(--primary-color);
}

.fsgk-copy-message {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: var(--accent-color);
    font-size: 11px;
}

.fsgk-related-news {
    padding-top: 55px;
}

.fsgk-related-news__heading {
    margin-bottom: 25px;
}

.fsgk-comments {
    padding-top: 40px;
    margin-top: 25px;
    border-top: 1px solid var(--divider-color);
}

.fsgk-comments__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.fsgk-comments__heading p {
    margin: 8px 0 0;
}

.fsgk-comments__heading > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--accent-color);
    font-family: var(--accent-font);
    font-size: 28px;
    font-weight: 400;
}

.fsgk-comments__list {
    display: grid;
    gap: 15px;
}

.fsgk-comments__list article {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    background: var(--white-color);
}

.fsgk-comments__list article.is-reply {
    margin-left: 55px;
}

.fsgk-comments__list article > span {
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 18px;
}

.fsgk-comments__list article > div {
    flex: 1;
}

.fsgk-comments__list article header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.fsgk-comments__list article header strong {
    color: var(--primary-color);
}

.fsgk-comments__list article time {
    font-size: 11px;
}

.fsgk-comments__list article p {
    margin: 0;
}

.fsgk-comments__empty {
    padding: 35px;
    border-radius: 12px;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    text-align: center;
}

.fsgk-comments__empty i {
    display: block;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 34px;
}

.fsgk-comments__empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.fsgk-comments__empty p {
    margin: 0;
}

.fsgk-comment-form {
    padding: 35px;
    margin-top: 30px;
    border-radius: 15px;
    color: var(--text-color);
    background: var(--white-color);
    border: 1px solid var(--divider-color);
}

.fsgk-comment-form header {
    margin-bottom: 25px;
}

.fsgk-comment-form header h3 {
    margin-bottom: 8px;
    font-size: 36px;
}

.fsgk-comment-form header p {
    margin: 0;
}

.fsgk-comment-form label {
    display: block;
    margin-bottom: 18px;
}

.fsgk-comment-form label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.fsgk-comment-form input,
.fsgk-comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    outline: none;
    color: var(--primary-color);
    background: #f7f8f9;
}

.fsgk-comment-form input:focus,
.fsgk-comment-form textarea:focus {
    border-color: var(--accent-color);
}

.fsgk-comment-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fsgk-comment-form__footer p {
    margin: 0;
    font-size: 13px;
}

.fsgk-comment-form__footer p.is-success { color: #18864b; }
.fsgk-comment-form__footer p.is-error { color: #c42221; }

.fsgk-comment-form__footer button {
    border: 0;
}

.fsgk-comment-form__footer button:disabled {
    opacity: .65;
    pointer-events: none;
}

.fsgk-comment-form__trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.fsgk-article-facts {
    display: grid;
    gap: 10px;
}

.fsgk-article-facts > span {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider-color);
}

.fsgk-article-facts > span:last-child {
    border-bottom: 0;
}

.fsgk-article-facts i {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white-color);
    background: var(--accent-color);
}

.fsgk-article-facts small,
.fsgk-article-facts strong {
    display: block;
}

.fsgk-article-facts small {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fsgk-article-facts strong {
    color: var(--primary-color);
    font-size: 14px;
}

@media (max-width: 991px) {
    .fsgk-news-intro,
    .fsgk-news-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .fsgk-featured-news {
        grid-template-columns: 1fr;
    }

    .fsgk-featured-news__image {
        min-height: 360px;
    }

    .fsgk-news-sidebar,
    .fsgk-article-sidebar {
        position: static;
        padding-left: 0;
        margin-top: 45px;
    }

    .fsgk-post-content {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .fsgk-news-archive,
    .fsgk-single-news {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .fsgk-news-intro h2,
    .fsgk-news-results-heading h2,
    .fsgk-featured-news h2,
    .fsgk-related-news h2,
    .fsgk-comments h2 {
        font-size: 36px;
    }

    .fsgk-news-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .fsgk-news-stats span {
        min-width: 0;
        padding: 14px 8px;
    }

    .fsgk-news-stats strong {
        font-size: 28px;
    }

    .fsgk-news-search,
    .fsgk-comment-form__footer,
    .fsgk-comments__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .fsgk-news-search .btn-default {
        width: 100%;
    }

    .fsgk-featured-news__image {
        min-height: 260px;
    }

    .fsgk-featured-news__content,
    .fsgk-sidebar-box,
    .fsgk-sidebar-cta,
    .fsgk-comment-form,
    .fsgk-post-content .post-entry {
        padding: 25px;
    }

    .fsgk-news-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsgk-news-card .post-item-content h2 {
        min-height: 0;
    }

    .fsgk-single-news .post-image img {
        aspect-ratio: 4 / 3;
    }

    .fsgk-article-type {
        left: 18px;
        bottom: 18px;
    }

    .fsgk-news-context__grid {
        grid-template-columns: 1fr;
    }

    .fsgk-comments__list article.is-reply {
        margin-left: 20px;
    }

    .fsgk-comments__list article header {
        flex-direction: column;
        gap: 3px;
    }

    .post-social-sharing {
        margin-top: 20px;
        text-align: left;
    }
}
