/*
 * Körös-menti Kft – Ghost Theme
 * Based on: korosmentinkft.hu
 * Colours: #092a49 (dark navy) | #0796fe (accent blue) | #797979 (body text)
 * Fonts  : Oswald (headings, 200–400) | Lato (body)
 *
 * NOTE: This file is also copied verbatim to assets/built/screen.css
 *       (the file Ghost actually serves). Run `npm run dev` to rebuild
 *       via the Gulp pipeline, or edit both files together.
 */

@import "fonts.css";

/* ============================================================
   BASE
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #797979;
    background: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;

    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

body > footer {
    margin-top: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #092a49;
    font-family: "Oswald", sans-serif;
    margin-top: 0;
}

a {
    color: #454545;
    transition: 0.3s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: #092a49;
    outline: none;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-top: 0;
}

.container-fluid {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ghost portal/membership UI – hidden (membership disabled) */
#ghost-portal-root {
    display: none !important;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    display: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    padding-top: 10px;
}

/* ============================================================
   TOP BAR
   ============================================================ */

.top-bar {
    position: relative;
    height: 35px;
    background: #188aa3;
    background: linear-gradient(
        90deg,
        rgba(24, 138, 163, 1) 0%,
        rgba(64, 148, 172, 1) 49%,
        rgba(117, 169, 192, 1) 100%
    );
}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 35px;
    padding: 0 10px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .text:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .text i {
    font-size: 14px;
    color: #ffffff;
    margin-right: 5px;
}

.top-bar .text h2 {
    color: #eeeeee;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
    font-family: "Lato", sans-serif;
    line-height: 1.2;
}

.top-bar .text p {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 0 5px;
    line-height: 1.2;
}

.top-bar .social {
    display: flex;
    height: 35px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 100%;
    font-size: 16px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .social a:hover {
    color: #092a49;
    background: #ffffff;
}

@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }
}
@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}

/* ============================================================
   NAVBAR
   ============================================================ */

.kfn-navbar {
    position: absolute;
    width: 100%;
    top: 35px;
    padding: 20px 60px;
    background: rgba(9, 42, 73, 0.2);
    z-index: 999;
    /* Only transition visual properties — never top/position (causes jump) */
    transition:
        background 0.4s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}

.kfn-navbar.page {
    background: #092a49;
}

.kfn-navbar.nav-sticky {
    position: fixed;
    top: 0 !important;
    background: #092a49 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 60px;
}

.kfn-navbar .kfn-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Brand / logos */
.kfn-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.kfn-brand .kfn-logo img {
    max-height: 45px;
    width: auto;
    display: block;
}

.kfn-brand .kfn-sztp-logo {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kfn-brand .kfn-sztp-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .kfn-sztp-logo-desktop {
        display: none !important;
    }
}

/* Navigation (Ghost outputs <ul>) */
.kfn-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kfn-nav-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.kfn-nav-wrapper ul li a {
    display: block;
    padding: 8px 15px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    transition: color 0.3s;
}

.kfn-nav-wrapper ul li a:hover,
.kfn-nav-wrapper ul li.nav-current > a {
    color: #0796fe;
}

/* Search button */
.kfn-search-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 10px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.kfn-search-btn:hover {
    color: #0796fe;
}

/* Hamburger toggler */
.kfn-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
}

.kfn-toggler .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 4px 0;
    transition: 0.3s;
}

/* Mobile collapse */
.kfn-collapse {
    display: flex;
    align-items: center;
}

/* Mobile brand with SZTP below logo */
.kfn-brand-mobile {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

.kfn-brand-mobile .kfn-sztp-logo-mobile {
    height: 45px;
    width: auto;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .kfn-navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 15px;
        background: #092a49 !important;
        z-index: 9999;
    }

    .kfn-navbar.nav-sticky {
        padding: 12px 15px;
    }

    .kfn-navbar .kfn-navbar-inner {
        flex-wrap: nowrap;
        position: relative;
    }

    .kfn-brand {
        display: none;
    }
    .kfn-brand-mobile {
        display: flex;
    }

    .kfn-brand-mobile .kfn-logo img {
        max-height: 36px;
    }
    .kfn-brand-mobile .kfn-sztp-logo-mobile {
        height: 40px;
    }

    .kfn-toggler {
        display: block;
    }

    .kfn-collapse {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
    }

    .kfn-collapse.open {
        display: flex;
    }

    .kfn-nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .kfn-nav-wrapper ul {
        flex-direction: column;
        width: 100%;
    }

    .kfn-nav-wrapper ul li {
        width: 100%;
    }
    .kfn-nav-wrapper ul li a {
        padding: 10px 5px;
    }
    .kfn-search-btn {
        padding: 10px 5px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .kfn-brand-mobile .kfn-logo img {
        max-height: 40px;
    }
    .kfn-brand-mobile .kfn-sztp-logo-mobile {
        height: 46px;
    }
}

/* ============================================================
   HERO (static full-viewport)
   ============================================================ */

.kfn-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 35px);
    min-height: 420px;
    background: #092a49;
    overflow: hidden;
    margin-bottom: 45px;
}

.kfn-hero .kfn-hero-img {
    position: absolute;
    inset: 0;
}

.kfn-hero .kfn-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kfn-hero .kfn-hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 42, 73, 0.7);
    z-index: 1;
}

.kfn-hero .kfn-hero-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.kfn-hero .kfn-hero-text h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 1.2;
}

.kfn-hero .kfn-hero-text p {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .kfn-hero {
        height: calc(100vh - 85px);
    }
    .kfn-hero .kfn-hero-text h1 {
        font-size: 35px;
    }
    .kfn-hero .kfn-hero-text p {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .kfn-hero .kfn-hero-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .kfn-hero .kfn-hero-text h1 {
        font-size: 25px;
    }
}

/* ============================================================
   PAGE HEADER BAND (inner pages – replaces full-height hero)
   ============================================================ */

.kfn-page-header {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(to right, #0796fe, #092a49);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    margin-top: 50px;
}

.kfn-page-header h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 200;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .kfn-page-header {
        height: 140px;
        margin-top: 10px;
    }
    .kfn-page-header h1 {
        font-size: 28px;
    }
}

/* ============================================================
   ABOUT SECTION (home page)
   ============================================================ */

.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .about-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .about-img img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about .about-text p {
    font-size: 16px;
}

.about .about-cms-content p {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 1rem;
}

.about .about-cms-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px), (min-width: 768px) and (max-width: 991.98px) {
    .about .about-img img {
        width: 60%;
    }
}

/* ============================================================
   FACT / DOCUMENTS SECTION
   ============================================================ */

.fact {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.fact .fact-item {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 30px 0 25px 0;
    text-align: center;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.fact .fact-item:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.fact .fact-item img {
    max-height: 50px;
    margin-bottom: 15px;
}

.fact .fact-item h2 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* CMS-editable documents page: style bullet list as fact-item cards */
.dokumentumok-content {
    padding: 45px 0 15px;
}

.dokumentumok-content .gh-content ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.dokumentumok-content .gh-content ul li {
    flex: 0 0 calc(50% - 15px);
    position: relative;
    padding: 30px 20px 25px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    transition: 0.3s;
    list-style: none;
}

.dokumentumok-content .gh-content ul li:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.dokumentumok-content .gh-content ul li::before {
    content: "\f56d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    font-size: 32px;
    color: #0796fe;
    margin-bottom: 12px;
}

.dokumentumok-content .gh-content ul li a {
    color: #092a49;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.dokumentumok-content .gh-content ul li a:hover {
    color: #0796fe;
}

@media (max-width: 767.98px) {
    .dokumentumok-content .gh-content ul li {
        flex: 0 0 100%;
    }
}

/* ============================================================
   TEAM / MUNICIPALITY CARDS
   ============================================================ */

.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
}

.team .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.team .team-text {
    position: absolute;
    width: calc(100% - 30px);
    height: 96px;
    bottom: -46px;
    left: 15px;
    padding: 25px 15px;
    text-align: center;
    background: rgba(256, 256, 256, 0.9);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    overflow: hidden;
}

.team .team-item:hover .team-text {
    height: 130px;
}

.team .team-text h2 {
    color: #0796fe;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.team .team-text p {
    margin-bottom: 20px;
    color: #092a49;
    font-size: 14px;
}

.team .team-social {
    position: relative;
    font-size: 0;
}

.team .team-social a {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    color: #092a49;
    border: 1px solid #092a49;
    transition: 0.3s;
}

.team .team-social a:hover {
    color: #ffffff;
    background: #092a49;
}

/* Pályázatok page tweaks */
.palyazatok-page .team-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    bottom: 0;
    background: rgba(9, 42, 73, 0.85);
    overflow: hidden;
}

.palyazatok-page .team-item:hover .team-text {
    height: 60px;
}

.palyazatok-page .team-text a {
    display: inline-block;
    color: #ffffff;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 20px;
    transition: color 0.3s;
}

.palyazatok-page .team-text a:hover {
    color: #0796fe;
}

.palyazat_kep {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ============================================================
   BLOG / NEWS CARDS
   ============================================================ */

.blog {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.blog.blog-page .blog-item {
    margin: 0 0 30px 0;
}

.blog-item {
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.blog-item:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.blog .blog-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog .blog-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-item:hover .blog-img img {
    transform: scale(1.03);
}

.blog .blog-content {
    position: relative;
    padding: 25px 30px;
    background: #ffffff;
}

.blog .blog-content h2.blog-title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #092a49;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog .blog-meta {
    position: relative;
    margin-bottom: 12px;
}

.blog .blog-meta * {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 300;
    color: #797979;
}

.blog .blog-meta i {
    color: #0796fe;
    margin: 0 3px 0 10px;
}

.blog .blog-meta i:first-child {
    margin-left: 0;
}

.blog .blog-text p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.blog .blog-item a.btn {
    position: relative;
    padding: 0 0 0 35px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #0796fe;
    background: none;
    border: none;
    transition: 0.3s;
}

.blog .blog-item a.btn:hover {
    color: #092a49;
}

.blog .blog-item a.btn::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    top: 10px;
    left: 0;
    background: #0796fe;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    position: relative;
    width: 100%;
}

.contact .contact-info {
    position: relative;
    display: flex;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: 0.3s;
}

.contact .contact-info:hover {
    border-color: transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .contact-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.contact .contact-icon i {
    font-size: 18px;
    color: #0796fe;
}

.contact .contact-text {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.contact .contact-text h3 {
    font-size: 16px;
    font-weight: 400;
    color: #092a49;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact .contact-text p {
    margin: 0;
    font-size: 16px;
}

.contact .contact-map {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: 0.3s;
}

.contact .contact-map:hover {
    border-color: transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .contact-map iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.kfn-footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #092a49;
}

.kfn-footer .footer-contact,
.kfn-footer .footer-link {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
}

.kfn-footer .footer-contact h2,
.kfn-footer .footer-link h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
}

.kfn-footer .footer-contact h2::after,
.kfn-footer .footer-link h2::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0796fe;
}

.kfn-footer .footer-contact p {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 15px;
}

.kfn-footer .footer-contact p i {
    width: 22px;
    color: #0796fe;
}

.kfn-footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.kfn-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 16px;
    margin-right: 8px;
    transition: 0.3s;
}

.kfn-footer .footer-social a:hover {
    background: #0796fe;
    border-color: #0796fe;
    color: #ffffff;
}

.kfn-footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 15px;
    transition: 0.3s;
}

.kfn-footer .footer-link a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #0796fe;
}

.kfn-footer .footer-link a:hover {
    color: #0796fe;
    letter-spacing: 1px;
}

.kfn-footer .footer-copyright {
    padding: 0 30px;
}

.kfn-footer .footer-copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.kfn-footer .footer-copyright p {
    margin: 0;
    color: #999999;
}

.kfn-footer .footer-copyright p a {
    color: #ffffff;
}
.kfn-footer .footer-copyright p a:hover {
    color: #0796fe;
}
.kfn-footer .footer-copyright .text-right p {
    text-align: right;
}

.footer-admin-icon {
    color: #999999;
    margin-left: 10px;
    font-size: 16px;
    opacity: 0.6;
    transition: all 0.3s;
}

.footer-admin-icon:hover {
    color: #0796fe;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .kfn-footer .footer-copyright p,
    .kfn-footer .footer-copyright .text-right p {
        text-align: center;
        margin: 5px 0;
    }
}

/* ============================================================
   GHOST POST / PAGE CONTENT
   ============================================================ */

.kfn-post-wrap {
    padding: 60px 0 45px;
}

.gh-article-header {
    max-width: 740px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.gh-article-header .gh-article-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #092a49;
    margin-bottom: 12px;
}

.gh-article-header .gh-article-meta {
    font-size: 14px;
    color: #999999;
    margin-bottom: 20px;
}

.gh-article-header .gh-article-meta a {
    color: #0796fe;
}

.gh-article-header .gh-article-excerpt {
    font-size: 20px;
    line-height: 1.45;
    color: #555;
    margin-top: 12px;
}

.gh-article-header .gh-article-image {
    margin-top: 30px;
    overflow: hidden;
}
.gh-article-header .gh-article-image img {
    width: 100%;
    display: block;
}

.gh-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 15px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.gh-content > * + * {
    margin-top: 2rem;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    font-family: "Newsreader", serif;
    color: #092a49;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.gh-content h2 {
    font-size: 32px;
    font-weight: 300;
}
.gh-content h3 {
    font-size: 26px;
    font-weight: 300;
}
.gh-content h4 {
    font-size: 22px;
    font-weight: 400;
}

.gh-content p {
    margin: 0 0 1.2rem;
}
.gh-content a {
    color: #0796fe;
}
.gh-content a:hover {
    color: #092a49;
}

.gh-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}

.gh-content blockquote {
    border-left: 4px solid #0796fe;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.gh-content ul,
.gh-content ol {
    padding-left: 2rem;
    margin: 0 0 1.2rem;
}

.gh-content li {
    margin-bottom: 0.5rem;
}

.gh-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 3rem 0;
}

.gh-content code {
    font-family: monospace;
    font-size: 0.9em;
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
}

.gh-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    overflow-x: auto;
    border-radius: 4px;
}

.gh-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Koenig cards */
.kg-image-card,
.kg-gallery-card,
.kg-embed-card,
.kg-bookmark-card,
.kg-callout-card {
    margin: 2rem 0;
}

.gh-content .kg-width-wide {
    width: min(1200px, calc(100vw - 30px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 767.98px) {
    .gh-content .kg-width-wide,
    .gh-content .kg-width-full {
        width: calc(100vw - 30px);
    }
}

.kg-image-card img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.kg-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kg-gallery-row {
    display: flex;
    gap: 6px;
    flex: 1;
}
.kg-gallery-image {
    flex: 1;
    overflow: hidden;
}
.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-bookmark-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    gap: 16px;
}

.kg-bookmark-title {
    font-weight: 700;
    color: #092a49;
}
.kg-bookmark-description {
    color: #797979;
    font-size: 14px;
}
.kg-bookmark-metadata {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.kg-bookmark-thumbnail img {
    width: 140px;
    height: 100px;
    object-fit: cover;
}

.kg-callout-card {
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #0796fe;
    display: flex;
    gap: 12px;
}
.kg-callout-emoji {
    font-size: 24px;
}

/* Post navigation */
.gh-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 740px;
    margin: 60px auto 0;
    padding: 40px 15px 0;
    border-top: 1px solid #e0e0e0;
}

.gh-navigation-link {
    display: block;
    color: #444;
    transition: color 0.3s;
}
.gh-navigation-link:hover {
    color: #0796fe;
}

.gh-navigation-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.gh-navigation-title {
    font-size: 18px;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    color: #092a49;
    margin: 0;
}

.gh-navigation-next {
    text-align: right;
}

/* ============================================================
   GENERIC PAGE CONTENT
   ============================================================ */

.kfn-page-content {
    padding: 60px 0 45px;
}
.kfn-page-content .gh-content {
    max-width: 900px;
}

/* ============================================================
   SZTP MODAL (custom lightbox)
   ============================================================ */

.kfn-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kfn-modal-dialog {
    max-width: 560px;
    width: 100%;
}

.kfn-modal-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.kfn-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #188aa3;
    background: linear-gradient(
        90deg,
        rgba(24, 138, 163, 1) 0%,
        rgba(64, 148, 172, 1) 49%,
        rgba(117, 169, 192, 1) 100%
    );
}

.kfn-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    font-family: "Newsreader", serif;
}

.kfn-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
}

.kfn-modal-close:hover {
    opacity: 1;
}

.kfn-modal-body {
    padding: 30px;
    background: #f8f9fa;
    text-align: center;
}

.kfn-modal-body img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* ============================================================
   COOKIK / LEGAL PAGES
   ============================================================ */

.kfn-legal {
    padding: 60px 0 45px;
}

.kfn-legal h1,
.kfn-legal h2,
.kfn-legal h3 {
    font-family: "Oswald", sans-serif;
    color: #092a49;
    font-weight: 300;
    margin-bottom: 1rem;
}

.kfn-legal p,
.kfn-legal li {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.kfn-legal ul,
.kfn-legal ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

/* ============================================================
   MISC RESPONSIVE
   ============================================================ */

@media (max-width: 767.98px) {
    .blog .blog-img img {
        height: 220px;
    }
    .gh-navigation {
        grid-template-columns: 1fr;
    }
    .gh-navigation-next {
        text-align: left;
    }
}

/* Bootstrap row/col helpers (minimal, used by our templates) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.row > [class*="col-"] {
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}
.col-md-5 {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
}
.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.col-md-7 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
}
.col-md-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
}
.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
.col-lg-5 {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
}
.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.col-lg-7 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
}
.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .col-lg-3,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}
.align-items-center {
    align-items: center;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.text-justify {
    text-align: justify;
}

/* d-none / d-md-block helpers */
.d-none {
    display: none !important;
}
@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
}

.hero-section {
    /* background: #188aa3;
    background: linear-gradient(
        0deg,
        rgba(24, 138, 163, 1) 0%,
        rgba(64, 148, 172, 1) 49%,
        rgba(117, 169, 192, 1) 100%
    ); */
}

:root {
    --font-sans:
        Stanley, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
        sans-serif; /* stylelint-disable-line value-keyword-case */
    --font-serif:
        Stanley, Times, serif; /* stylelint-disable-line value-keyword-case */
    --gh-font-heading: "Oswald", sans-serif;
    --gh-font-body: "Lato", sans-serif;
    --color-primary-text: var(--color-black);
    --color-darker-gray: var(--color-black);
    --head-nav-gap: 3.2rem;
}

.tag-template .gh-main,
.author-template .gh-main {
    padding-top: 8vmin;
}

.gh-head-menu,
.gh-head-actions {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.gh-latest {
    margin-top: 4rem;
    margin-bottom: 12rem;
}

.gh-latest .gh-card-meta {
    margin-top: 2.4rem;
}

.gh-wrapper {
    display: grid;
    grid-template-columns: 4fr 2fr;
    column-gap: 2.4rem;
}

.gh-wrapper > .gh-section {
    max-width: 720px;
}

.gh-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 2.4rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.gh-section-title::after {
    flex-grow: 1;
    height: 1px;
    margin-left: 1.6rem;
    content: "";
    background-color: var(--color-light-gray);
}

.gh-card + .gh-card {
    margin-top: 8rem;
}

.gh-card-link {
    display: block;
}

.gh-card-link:hover {
    opacity: 1;
}

.gh-card-title {
    font-size: 3.4rem;
    font-weight: 600;
    word-break: break-word;
}

.gh-card-link:hover .gh-card-title {
    opacity: 0.8;
}

.gh-card-excerpt {
    margin-top: 1.2rem;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.gh-card-meta {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-secondary-text);
    text-transform: uppercase;
}

.gh-card-date {
    color: var(--ghost-accent-color);
}

.gh-card-meta svg {
    position: relative;
    top: -1px;
    margin-left: 0.6rem;
}

.gh-card-meta > * {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gh-card-meta > * + *:not(script)::before {
    width: 2px;
    height: 2px;
    content: "";
    background-color: var(--color-secondary-text);
    border-radius: 50%;
}

.gh-loadmore {
    width: 100%;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    margin-top: 8rem;
    font-weight: 600;
    color: var(--color-darker-gray);
    letter-spacing: -0.02em;
    background-color: transparent;
    border: 1px solid var(--color-light-gray);
}

.gh-loadmore:hover {
    border-color: var(--color-mid-gray);
}

.gh-sidebar {
    position: sticky;
    top: 4.8rem;
    height: max-content;
    padding-left: 4rem;
    font-size: 1.4rem;
}

.gh-sidebar .gh-section + .gh-section {
    margin-top: 8rem;
}

.gh-about {
    display: flex;
}

.gh-about-icon {
    width: 64px;
    height: 64px;
    margin-right: 2rem;
}

.gh-about-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gh-about-title {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gh-about-description {
    margin-top: 0.4rem;
    line-height: 1.55;
}

.gh-signup {
    margin-top: 2.8rem;
}

.gh-signup-description {
    line-height: 1.55;
}

.gh-signup .gh-subscribe-input {
    height: 48px;
    padding-left: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.gh-signup-btn {
    margin-top: 1.6rem;
}

.gh-featured .gh-card + .gh-card {
    margin-top: 2.8rem;
}

.gh-featured .gh-card-title {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.gh-featured .gh-card-excerpt {
    margin-top: 0.8rem;
    font-family: var(--font-sans);
    font-size: inherit;
    line-height: 1.55;
    color: var(--color-secondary-text);
    letter-spacing: 0;
}

.gh-featured .gh-card-meta {
    margin-top: 1.6rem;
}

.gh-topic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-topic-item + .gh-topic-item {
    margin-top: 1.6rem;
}

.gh-topic-name {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0;
}

.has-serif-title:not([class*=" gh-font-heading"]):not(
        [class^="gh-font-heading"]
    )
    .gh-topic-name {
    font-family: var(--gh-font-heading, var(--font-serif));
}

.gh-topic-count {
    padding: 0.4rem 0.8rem;
    font-size: 1.3rem;
    line-height: 1;
    border: 1px solid var(--color-light-gray);
    border-radius: 32px;
}

.gh-recommendations .recommendations {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.gh-recommendations .recommendation:first-child {
    margin-top: 4px;
}

.gh-recommendations .recommendation a {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 4px 12px;
}

.gh-recommendations .recommendation a:hover {
    opacity: 1;
}

.gh-recommendations .recommendation-favicon {
    grid-row: span 2;
    width: 100%;
    border-radius: 4px;
}

.gh-recommendations .recommendation-title {
    margin-top: -2px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.009em;
}

.gh-recommendations .recommendation a:hover .recommendation-title {
    opacity: 0.8;
}

.gh-recommendations .recommendation-url {
    order: 1;
    overflow: hidden;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--color-secondary-text);
    text-overflow: ellipsis;
}

.gh-recommendations .recommendation-description {
    display: -webkit-box;
    display: none;
    grid-column: 2;
    overflow-y: hidden;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--color-secondary-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gh-recommendations button {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    padding: 0;
    margin-top: 24px;
    font-size: 1.2rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    background-color: transparent;
    border: 0;
}

.gh-recommendations button svg {
    width: 12px;
    margin-top: -1px;
}

.gh-recommendations button:hover {
    opacity: 0.8;
}

.gh-subscribe {
    padding: 7.2rem 0;
    margin: 12rem 0 8rem;
    background-color: var(--ghost-accent-color);
}

.gh-subscribe-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.gh-subscribe-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
}

.has-serif-title:not([class*=" gh-font-heading"]):not(
        [class^="gh-font-heading"]
    )
    .gh-subscribe-title {
    font-family: var(--gh-font-heading, var(--font-serif));
    letter-spacing: -0.01em;
}

.gh-subscribe-description {
    margin-top: 2rem;
    font-size: 1.9rem;
    line-height: 1.4;
    color: #fff;
}

.gh-subscribe-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 440px;
    height: 56px;
    padding: 0 1.6rem;
    margin: 4.8rem auto 0.8rem;
    font-size: 1.6rem;
    color: var(--color-secondary-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 6px;
}

.gh-subscribe .gh-subscribe-input {
    border: 0;
}

.gh-subscribe-input:hover {
    border-color: var(--color-mid-gray);
    opacity: 1;
}

.gh-subscribe-input-text {
    display: flex;
    align-items: center;
}

.gh-subscribe-input svg {
    position: relative;
    top: 1px;
    margin-right: 0.8rem;
}

.gh-subscribe-input-btn {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.gh-subscribe-btn {
    margin-top: 3.2rem;
    color: var(--ghost-accent-color);
    background-color: #fff;
}

.gh-article:not(.no-image) .gh-article-header > * {
    grid-column: wide-start / wide-end;
}

.gh-article-meta {
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-secondary-text);
    text-transform: uppercase;
}

.gh-article-meta a {
    font-weight: 600;
}

.gh-article-title {
    font-size: 7.4rem;
    font-weight: 600;
    line-height: 1;
}

.gh-article-excerpt {
    max-width: 920px;
    margin-top: 1.6rem;
    font-size: 2.8rem;
    line-height: 1.35;
    color: var(--color-darker-gray);
}

.gh-article-footer {
    padding-top: 3.2rem;
    margin-top: 8rem;
    border-top: 1px solid var(--color-light-gray);
}

.gh-article-footer.no-border {
    margin-top: 24px;
    border-top: 0;
}

.gh-navigation {
    grid-column: wide-start / wide-end;
}

.gh-navigation > div {
    align-items: flex-start;
    height: 100%;
}

.gh-navigation-link {
    flex-direction: column;
    align-items: flex-start;
}

.gh-navigation-next .gh-navigation-link {
    align-items: flex-end;
    text-align: right;
}

.gh-navigation-previous svg {
    margin-left: -2px;
}

.gh-navigation-next svg {
    margin-right: -2px;
}

.gh-navigation-label {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.gh-navigation-title {
    margin-top: 0.8rem;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0;
    word-break: break-word;
}

.gh-pagehead {
    position: sticky;
    top: 4vmin;
    grid-column: wide-start/main-start;
    max-width: 200px;
    height: max-content;
    padding-top: 0.8rem;
    font-size: 1.4rem;
    line-height: 1;
}

.gh-pagehead-title {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gh-pagehead-description {
    margin-top: 0.8rem;
    line-height: 1.45;
    color: var(--color-secondary-text);
}

.gh-tag-label {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
}

.gh-tag-description {
    margin-top: 1.6rem;
}

.gh-author-image {
    width: 80px;
    height: 80px;
    margin-bottom: 2.4rem;
    border-radius: 50%;
}

.gh-author-meta {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.gh-author-location {
    margin-left: -4px;
    color: var(--color-darker-gray);
}

.gh-author-website {
    margin-top: 1.2rem;
}

.gh-author-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 2.4rem;
}

@media (max-width: 767px) {
    .gh-latest {
        margin-bottom: 8rem;
    }

    .gh-wrapper {
        grid-template-columns: 1fr;
    }

    .gh-card + .gh-card {
        margin-top: 6.4rem;
    }

    .gh-loadmore {
        margin-top: 6.4rem;
    }

    .gh-sidebar {
        padding-left: 0;
        margin-top: 8rem;
    }

    .gh-article-title {
        font-size: 4.2rem;
    }

    .gh-article-excerpt {
        font-size: 2.2rem;
    }

    .gh-navigation {
        grid-template-columns: 1fr;
        row-gap: 1.6rem;
    }

    .gh-subscribe {
        padding: 5.6rem 0;
        margin-top: 8rem;
    }

    .gh-pagehead {
        margin-bottom: 4.8rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gh-sidebar {
        padding-left: 1.6rem;
    }

    .gh-pagehead {
        margin-bottom: 8rem;
    }

    .gh-author-meta {
        flex-direction: row;
        align-items: center;
    }

    .gh-author-website,
    .gh-author-social {
        margin-top: 0;
        margin-left: 1.6rem;
    }
}

@media (max-width: 991px) {
    .gh-latest {
        margin-top: 0;
    }

    .gh-pagehead {
        position: static;
        grid-column: main-start / main-end;
        max-width: 480px;
        padding-top: 0;
    }
}

@supports (-moz-appearance: none) {
    .gh-topic-count {
        padding-bottom: 0.5rem;
    }

    .gh-subscribe-input-btn {
        position: relative;
        top: 1px;
    }
}
