/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* Outer card */

/* =================================
   MAIN FLIP CARD
================================= */

.flip-card {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

/* Inner rotating container */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

/* =================================
   DESKTOP HOVER
================================= */

@media (hover: hover) and (pointer: fine) {

    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card:hover .flip-card-cta {
        transform: translateX(-4px);
    }
}

/* =================================
   MOBILE TAP
================================= */

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* =================================
   FRONT AND BACK SIDES
================================= */

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* =================================
   FRONT SIDE
================================= */

.flip-card-front {
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    overflow: hidden;
}

/* =================================
   BACK SIDE
================================= */

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #00001f;
    color: #ffffff;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    

    overflow: hidden;
    box-sizing: border-box;
}

/* Back side paragraphs */
.flip-card-back p {
    max-width: 100%;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Back side headings */
.flip-card-back h2,
.flip-card-back h3,
.flip-card-back h4 {
    max-width: 100%;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 14px;
}

/* =================================
   LEARN MORE CTA
================================= */

.flip-card-front .flip-card-cta {
    position: absolute;
    right: 24px;
    bottom: 20px;
    margin: 0;
    color: #ffd900;
    font-size: 15px;
    font-weight: 600;
    z-index: 2;
    transition: transform 0.25s ease;
}

/* =================================
   TABLET AND MOBILE
================================= */

@media (max-width: 768px) {

    /* Increase card height */
    .flip-card {
        height: 420px;
    }

    .flip-card-front,
    .flip-card-back {
        border-radius: 12px;
    }

    /* Front side */
    .flip-card-front {
        padding: 18px;
    }

    /* Back side */
    .flip-card-back {
        padding: 30px 22px;
        justify-content: center;
        overflow: hidden;
    }

    .flip-card-back p {
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .flip-card-back h2,
    .flip-card-back h3,
    .flip-card-back h4 {
        line-height: 1.3;
        margin-bottom: 10px;
    }

    /* Learn more CTA */
    .flip-card-front .flip-card-cta {
        right: 18px;
        bottom: 18px;
    }
}

/* =================================
   ФОНТОВИ (локални, без Google)
   Наслови: Montserrat · Текст: Inter
================================= */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url('/wp-content/uploads/fonts/inter-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url('/wp-content/uploads/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url('/wp-content/uploads/fonts/montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url('/wp-content/uploads/fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --geo-font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --geo-font-head: 'Montserrat', 'Inter', system-ui, Arial, sans-serif;
}

body, button, input, select, textarea {
    font-family: var(--geo-font-text);
}

/* GenerateBlocks блоковите имаат Helvetica во своите стилови – ја поништуваме */
body .gb-text,
body [class*="gb-element-"],
body [class*="gb-media-"],
body .gb-shape {
    font-family: inherit;
}

body :is(h1, h2, h3, h4, h5, h6),
body :is(h1, h2, h3, h4, h5, h6).gb-text,
body .main-navigation .main-nav ul li a,
body a.gb-text,
body a[class*="gb-element-"],
body .wpcf7-submit {
    font-family: var(--geo-font-head);
    letter-spacing: -0.01em;
}

/* =================================
   „Зошто да ги изберете…“ – мобилен
================================= */

@media (max-width: 767px) {
    body .gb-element-46b1795e {
        padding-left: 16px;
        padding-right: 16px;
    }

    body .gb-element-fd22ff36 {
        max-width: 100%;
    }

    body .gb-element-0c2b1497 {
        border-right-width: 0 !important;
        border-bottom: 2px solid currentColor;
        padding-bottom: 16px;
        justify-items: start;
    }

    body .gb-element-d44532c0 p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =================================
   Мапа на „Контакт“
================================= */

.geo-map {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.geo-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .geo-map iframe {
        height: 300px;
    }
}

/* =================================
   Контакт форма – нови полиња
================================= */

.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: inherit;
}

.wpcf7 select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300001f' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.wpcf7 .wpcf7-acceptance input {
    margin-right: 8px;
}

/* Е-пошта во картичката на „Контакт“ да не се кине во два реда */
body .gb-text-018c84a5 {
    font-size: 17px;
    overflow-wrap: normal;
}

@media (max-width: 767px) {
    body .gb-text-018c84a5 {
        font-size: 16px;
    }
}

/* =================================
   Наслови претворени од H3 во P/H2 (SEO хиерархија)
   – го задржуваме истиот изглед
================================= */

body p.gb-text-f4c1c0dc,
body p.gb-text-a4baa688,
body p.gb-text-0f24baf7,
body p.gb-text-bb5394c7 {
    line-height: 1.2;
    margin-bottom: 20px;
}

body p.gb-text-f4c1c0dc {
    font-weight: 500;
}

body h2.gb-text-c676d98b {
    line-height: 1.2;
    margin-bottom: 20px;
}

body h2.gb-text-313de88f,
body h2.gb-text-1ab187b9,
body h2.gb-text-53fa00af,
body h2.gb-text-8659f636,
body h2.gb-text-e248c714 {
    line-height: 1.3;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    body p.gb-text-bb5394c7,
    body h2.gb-text-c676d98b {
        font-size: 29px;
    }
}

/* =================================
   Страница „Подрачја што ги покриваме“
================================= */

.geo-areas-page {
    padding: 60px 20px 40px;
}

.geo-areas-page h2 {
    margin-top: 48px;
    margin-bottom: 12px;
    font-size: 32px;
}

.geo-areas-page h2:first-child {
    margin-top: 0;
}

.geo-areas-page h3 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 20px;
}

ul.geo-areas,
ul.geo-services {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 16px;
}

ul.geo-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

ul.geo-areas li,
ul.geo-services li {
    margin: 0;
    padding: 10px 14px 10px 34px;
    position: relative;
    background: #f7f5f2;
    border-radius: 8px;
    line-height: 1.4;
}

ul.geo-areas li::before,
ul.geo-services li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: #ffd900;
    box-shadow: 0 0 0 2px #00001f inset;
}

ul.geo-services a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

ul.geo-services a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    ul.geo-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    ul.geo-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .geo-areas-page { padding: 40px 16px 24px; }
    .geo-areas-page h2 { font-size: 26px; }
    ul.geo-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    ul.geo-services { grid-template-columns: 1fr; }
}

/* =================================
   Горна лента со телефони и е-пошта
================================= */

.top-bar {
    background-color: #00001f;
    color: #ffffff;
    font-size: 14px;
}

.top-bar .inside-top-bar {
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-end;
}

.geo-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 22px;
}

.geo-topbar a {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.geo-topbar a:hover {
    color: #ffd900;
}

.geo-topbar .geo-ico {
    color: #ffd900;
    margin-right: 6px;
}

@media (max-width: 767px) {
    .top-bar { font-size: 13px; }
    .top-bar .inside-top-bar { justify-content: center; }
    .geo-topbar { justify-content: center; gap: 4px 14px; }
    .geo-topbar .geo-mail { flex-basis: 100%; text-align: center; }
}

@media (max-width: 767px) {
    ul.geo-areas { gap: 8px; }
    ul.geo-areas li {
        padding: 8px 8px 8px 26px;
        font-size: 14px;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
    ul.geo-areas li::before { left: 10px; width: 8px; height: 8px; margin-top: -4px; }
}

/* „Подрачја“ – содржина на 80% ширина */
body .geo-areas-page {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    body .geo-areas-page { max-width: 92%; }
}

@media (max-width: 767px) {
    body .geo-areas-page { max-width: 100%; }
}

/* =================================
   Интерактивна мапа на подрачјата
================================= */

.geo-map-wrap {
    margin: 28px 0 12px;
}

.geo-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.geo-map-legend .geo-f {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #d9d4cc;
    border-radius: 999px;
    background: #fff;
    color: #00001f;
    font-family: var(--geo-font-head);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.geo-map-legend .geo-f i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d9d4cc;
}

.geo-map-legend .geo-f:hover,
.geo-map-legend .geo-f.is-on {
    background: #ffd900;
    border-color: #ffd900;
}

.geo-region-map {
    width: 100%;
    height: 600px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f4;
    box-shadow: 0 10px 30px rgba(0, 0, 31, .12);
    z-index: 0;
}

.geo-map-note {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.geo-hq span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffd900;
    color: #00001f;
    font-size: 20px;
    line-height: 1;
    border: 3px solid #00001f;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.geo-region-map .leaflet-tooltip {
    font-family: var(--geo-font-text);
    font-size: 13px;
}

@media (max-width: 767px) {
    .geo-region-map { height: 380px; }
    .geo-map-legend .geo-f { padding: 6px 10px; font-size: 13px; }
}

/* =================================
   Картички за населени места – нов изглед
   (боите се исти како на мапата)
================================= */

ul.geo-areas { --geo-accent: #00001f; gap: 12px; }
ul.geo-areas.geo-m-vasilevo  { --geo-accent: #d99a00; }
ul.geo-areas.geo-m-bosilovo  { --geo-accent: #1f8a70; }
ul.geo-areas.geo-m-novoselo  { --geo-accent: #d1495b; }

ul.geo-areas li {
    background: #ffffff;
    border: 1px solid #e6e1d8;
    border-left: 4px solid var(--geo-accent);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    font-weight: 500;
    color: #00001f;
    box-shadow: 0 1px 2px rgba(0, 0, 31, .04);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

/* икона „пин“ во бојата на општината */
ul.geo-areas li::before {
    left: 14px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 0;
    box-shadow: none;
    background: var(--geo-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.geo-areas li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 31, .10);
}

/* седиштето на општината (прва картичка) */
ul.geo-areas li:first-child {
    background: var(--geo-accent);
    border-color: var(--geo-accent);
    color: #ffffff;
    font-weight: 700;
}

ul.geo-areas li:first-child::before {
    background: #ffffff;
}

ul.geo-areas.geo-m-strumica li:first-child::after {
    content: "седиште";
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .8;
    margin-top: 2px;
}

@media (max-width: 767px) {
    ul.geo-areas li { padding: 10px 10px 10px 32px; font-size: 14px; }
    ul.geo-areas li::before { left: 10px; width: 14px; height: 14px; margin-top: -7px; }
}

/* =================================
   „Поврзани услуги“ на страниците за услуги
================================= */

.geo-related {
    max-width: 80%;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

.geo-related h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.geo-related-note {
    margin-top: 16px;
    font-size: 15px;
}

@media (max-width: 1024px) { .geo-related { max-width: 92%; } }
@media (max-width: 767px)  { .geo-related { max-width: 100%; padding: 30px 16px 40px; } .geo-related h2 { font-size: 26px; } }

/* =================================
   Внатрешни линкови во текстот
================================= */

.entry-content p a:not([class*="gb-"]):not(.button):not([href^="tel"]):not([href^="mailto"]):not(.gb-element-17bbc1cb a):not(details a),
.geo-related-note a {
    color: #00001f;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.entry-content p a:not([class*="gb-"]):not(.button):not([href^="tel"]):not([href^="mailto"]):not(.gb-element-17bbc1cb a):not(details a):hover,
.geo-related-note a:hover {
    color: #8a6d00;
}

/* Без подвлекување на линковите низ целата страница */
body .entry-content a,
body .site-footer a,
body .top-bar a {
    text-decoration: none !important;
}

/* „Поврзани услуги“ – картички како линкови */
.geo-related { padding-bottom: 10px; }

ul.geo-services li {
    background: #ffffff;
    border: 1px solid #e6e1d8;
    border-left: 4px solid #ffd900;
    border-radius: 10px;
    padding: 0;
    transition: transform .18s ease, box-shadow .18s ease;
}

ul.geo-services li::before { display: none; }

ul.geo-services li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    color: #00001f;
}

ul.geo-services li a::after {
    content: "→";
    color: #00001f;
    font-weight: 700;
    transition: transform .18s ease;
}

ul.geo-services li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 31, .10);
}

ul.geo-services li:hover a { text-decoration: none; }
ul.geo-services li:hover a::after { transform: translateX(4px); }

/* =================================
   Facebook: скриено додека нема вистински линк (href="#")
================================= */
.wp-block-social-links:has(a[href="#"]) { display: none !important; }

/* =================================
   Плутачки копчиња: Viber + повик
================================= */
.geo-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.geo-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    font-family: var(--geo-font-head, inherit);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 31, .25);
    transition: transform .15s, box-shadow .15s;
}

.geo-float-btn svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 22px; }
.geo-float-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 31, .3); }

.geo-float-viber { background: #7360f2; color: #fff !important; }
.geo-float-call  { background: #ffd900; color: #00001f !important; }

/* На компјутер нема копче за повик; Viber останува само како икона */
@media (min-width: 1025px) {
    .geo-float-call { display: none; }
    .geo-float-viber { width: 54px; height: 54px; padding: 0; justify-content: center; }
    .geo-float-viber span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .geo-float-viber svg { width: 26px; height: 26px; flex-basis: 26px; }
}

@media (max-width: 767px) {
    .geo-float { right: 12px; bottom: 12px; gap: 8px; }
    .geo-float-btn { height: 46px; font-size: 14px; }
    .site-footer { padding-bottom: 70px; }
}

@media print { .geo-float { display: none; } }

/* =================================
   „Што ви треба и колку трае“ на страниците за услуги
================================= */
.geo-info {
    max-width: 80%;
    margin: 0 auto;
    padding: 50px 20px 10px;
    box-sizing: border-box;
}

.geo-info h2 { font-size: 32px; margin-bottom: 22px; }

.geo-info-grid,
.geo-info-grid > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.geo-info-card {
    position: relative;
    background: #fff;
    border: 1px solid #e6e1d8;
    border-top: 4px solid #00001f;
    border-radius: 12px;
    padding: 26px 24px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 31, .05);
}

.geo-info-card.geo-info-time  { border-top-color: #ffd900; }
.geo-info-card.geo-info-price { border-top-color: #917b00; }

.geo-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    margin: 0 0 14px;
}

.geo-info-card h3::before {
    content: "";
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #00001f center / 18px no-repeat;
}

.geo-info-docs  h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd900'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm-1 7V3.5L18.5 9H13zM8 13h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E"); }
.geo-info-time  h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd900'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.4 3.2 3.2-1.4 1.4L11 13.2V6h2v6.4z'/%3E%3C/svg%3E"); }
.geo-info-price h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd900'%3E%3Cpath d='M21.4 11.6 12.4 2.6A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7c0 .6.2 1.1.6 1.4l9 9a2 2 0 0 0 2.8 0l7-7a2 2 0 0 0 0-2.8zM6.5 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }

.geo-info-card p,
.geo-info-card li { font-size: 15.5px; line-height: 1.6; }

.geo-info-card ul { margin: 0; padding: 0; list-style: none; }

.geo-info-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
}

.geo-info-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #ffd900;
    transform: rotate(45deg);
}

.geo-info-note {
    margin-top: 18px;
    padding: 14px 18px;
    background: #fffbe0;
    border-left: 4px solid #ffd900;
    border-radius: 8px;
    font-size: 15px;
}

.geo-info-note a { color: #00001f; font-weight: 600; text-decoration: none; }
.geo-info-note a:hover { color: #8a6d00; }

@media (max-width: 1024px) {
    .geo-info { max-width: 92%; }
    .geo-info-grid > .wp-block-group__inner-container { grid-template-columns: 1fr 1fr; }
    .geo-info-card.geo-info-price { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    .geo-info { max-width: 100%; padding: 34px 16px 0; }
    .geo-info h2 { font-size: 26px; }
    .geo-info-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 14px; }
    .geo-info-card { padding: 22px 18px 16px; }
}

/* =================================
   Статии (Совети)
================================= */
.single-post .entry-content { font-size: 17px; line-height: 1.75; }
.single-post .entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.single-post .entry-content ul { margin-left: 1.2em; }
.single-post .entry-content li { margin-bottom: 6px; }
.single-post .entry-content a { color: #00001f; font-weight: 600; }
.single-post .entry-content a:hover { color: #8a6d00; }
.single-post .inside-article,
.archive .site-main { max-width: 820px; margin-left: auto; margin-right: auto; }
.single-post .entry-title { font-size: 38px; line-height: 1.2; }
@media (max-width: 767px) { .single-post .entry-title { font-size: 28px; } .single-post .entry-content { font-size: 16px; } }

/* класичната тема додава inner-container: решетката е на него */
.geo-info-grid:has(> .wp-block-group__inner-container) { display: block; }
.geo-info .wp-block-group__inner-container { padding: 0 !important; max-width: none; }
.geo-info-card > .wp-block-group__inner-container > h3 { margin-top: 0; }
.geo-info > .wp-block-group__inner-container { max-width: 1200px; margin: 0 auto; padding: 0 40px !important; }
@media (max-width: 767px) { .geo-info > .wp-block-group__inner-container { padding: 0 !important; } }
@media (max-width: 767px) { .geo-float { flex-direction: row; } }

/* =================================
   „Совети“ – архива како картички
================================= */
.archive .site-main {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 0 40px;
    box-sizing: border-box;
}

.archive .page-header {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 46px 40px !important;
    background: #00001f !important;
    border-radius: 14px;
    color: #f3efec;
    position: relative;
    overflow: hidden;
}

.archive .page-header::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border: 26px solid #ffd900;
    border-radius: 50%;
    opacity: .18;
}

.archive .page-title { color: #ffffff; font-size: 40px; margin: 0 0 8px; }
.archive .taxonomy-description p { color: #d9d6e6; font-size: 17px; margin: 0; max-width: 620px; }

.archive .site-main > article { margin: 0 !important; display: flex; }

.archive .site-main > article .inside-article {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #e6e1d8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 31, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.archive .site-main > article .inside-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 31, .13);
}

.archive .post-image { order: -1; margin: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.archive .post-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.archive .inside-article:hover .post-image img { transform: scale(1.04); }

.archive .entry-header { padding: 22px 24px 0; }
.archive .entry-meta { font-size: 13px; color: #6b6b7a; margin-top: 8px; }

.archive h2.entry-title { font-size: 21px; line-height: 1.3; margin: 0; }
.archive h2.entry-title a { color: #00001f; text-decoration: none; }
/* целата картичка е линк */
.archive h2.entry-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.archive .entry-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 24px 24px;
    margin: 0 !important;
    font-size: 15.5px;
    line-height: 1.6;
    color: #33334a;
}

.archive .entry-summary p { margin-bottom: 16px; }

.archive .entry-summary::after {
    content: "Прочитај повеќе →";
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--geo-font-head, inherit);
    font-weight: 700;
    font-size: 14px;
    color: #00001f;
    padding: 9px 16px;
    background: #ffd900;
    border-radius: 999px;
    transition: background .2s;
}

.archive .inside-article:hover .entry-summary::after { background: #ffe74d; }

.archive .entry-footer, .archive footer.entry-meta { display: none; }

@media (max-width: 1024px) {
    .archive .site-main { grid-template-columns: 1fr 1fr; padding: 0 24px; }
}

@media (max-width: 767px) {
    .archive .site-main { grid-template-columns: 1fr; padding: 0 16px; gap: 20px; }
    .archive .page-header { padding: 32px 22px !important; }
    .archive .page-title { font-size: 30px; }
}

/* =================================
   Статија – насловна слика и слики во текстот
================================= */
.single-post .featured-image,
.single-post .post-image { margin: 0 0 28px !important; }

.single-post .featured-image img,
.single-post .post-image img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.single-post .geo-post-img { margin: 30px 0; }
.single-post .geo-post-img img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 31, .12); }

.single-post .entry-meta { color: #6b6b7a; font-size: 14px; }

/* Потпис за изработка во copyright */
.geo-credit { margin-left: 6px; padding-left: 10px; border-left: 1px solid rgba(0, 0, 31, .25); }
.geo-credit a { color: inherit; font-weight: 600; }
.geo-credit a:hover { color: #8a6d00; }
@media (max-width: 767px) { .geo-credit { display: block; margin: 6px 0 0; padding: 0; border: 0; } }
.site-info .copyright-bar .geo-credit { font-size: inherit !important; display: inline !important; }
.site-info .copyright-bar .geo-credit a { display: inline !important; font-size: inherit !important; }
@media (max-width: 767px) { .site-info .copyright-bar .geo-credit { display: block !important; } }
/* Неутрализира стар trik од Additional CSS (font-size:0 + текст во ::after со фиксна година) */
.site-info .copyright-bar { font-size: 14px !important; }
.site-info .copyright-bar::after { content: none !important; display: none !important; }
.site-info .copyright-bar .geo-credit { font-size: 14px !important; }

/* =================================
   Подрачја – други градови (без „седиште“)
================================= */
ul.geo-areas.geo-m-other { --geo-accent: #4a5a8a; }
ul.geo-areas.geo-m-other li:first-child { background: #fff; color: inherit; font-weight: inherit; border-color: #e6e1d8; border-left-color: var(--geo-accent); }
ul.geo-areas.geo-m-other li:first-child::before { background: var(--geo-accent); }

/* =================================
   Проекти – теренска скица
================================= */
.geo-sketch {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.geo-sketch-tag {
    display: inline-block;
    background: #ffd900;
    color: #00001f;
    font-family: var(--geo-font-head, inherit);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.geo-sketch h2 { font-size: 34px; margin: 0 0 16px; }
.geo-sketch-text p { font-size: 16.5px; line-height: 1.7; }

.geo-sketch-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.geo-sketch-facts li { background: #fff; border: 1px solid #e6e1d8; border-left: 4px solid #00001f; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.geo-sketch-facts strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #917b00; }

.geo-sketch-figure { margin: 0; }
.geo-sketch-open { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e6e1d8; box-shadow: 0 14px 34px rgba(0, 0, 31, .14); }
.geo-sketch-open img { display: block; width: 100%; height: 560px; object-fit: cover; object-position: center 35%; transition: transform .4s ease; }
.geo-sketch-open:hover img { transform: scale(1.03); }
.geo-sketch-zoom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(0, 0, 31, .85); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.geo-sketch-figure figcaption { font-size: 13.5px; color: #6b6b7a; text-align: center; margin-top: 10px; }

/* Лајтбокс (без JavaScript) */
.geo-lightbox { display: none; position: fixed; inset: 0; z-index: 100000; }
.geo-lightbox:target { display: block; }
.geo-lightbox-bg { position: absolute; inset: 0; background: rgba(0, 0, 31, .88); }
.geo-lightbox-inner { position: absolute; inset: 30px; overflow: auto; text-align: center; -webkit-overflow-scrolling: touch; }
.geo-lightbox-inner img { max-width: none; width: min(1400px, 100%); height: auto; background: #fff; border-radius: 6px; }
.geo-lightbox-close { position: absolute; top: 12px; right: 18px; z-index: 2; width: 44px; height: 44px; line-height: 42px; text-align: center; font-size: 30px; color: #00001f !important; background: #ffd900; border-radius: 50%; }

@media (max-width: 1024px) {
    .geo-sketch { grid-template-columns: 1fr; gap: 30px; padding: 50px 24px; }
    .geo-sketch-open img { height: auto; aspect-ratio: 1085 / 1536; }
}
@media (max-width: 767px) {
    .geo-sketch { padding: 40px 16px; }
    .geo-sketch h2 { font-size: 27px; }
    .geo-lightbox-inner { inset: 60px 6px 6px; }
    .geo-lightbox-inner img { width: 200%; } /* на мобилен поголема, со скролање */
}

/* Honeypot – невидливо поле за ботови */
.geo-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* SVG икони наместо специјални знаци (се прикажуваат исто на сите уреди) */
.geo-topbar .geo-ico { display: inline-flex; align-items: center; }
.geo-topbar .geo-ico svg { width: 14px; height: 14px; fill: #ffd900; }
.geo-sketch-zoom { display: inline-flex; align-items: center; gap: 6px; }
.geo-sketch-zoom svg { width: 16px; height: 16px; fill: currentColor; }
.geo-hq span { display: inline-flex; align-items: center; justify-content: center; }
.geo-hq svg { display: block; }

/* Банер за колачиња */
.geo-cookie {
    position: fixed; left: 18px; bottom: 18px; z-index: 1000;
    max-width: 420px; padding: 18px 20px;
    background: #00001f; color: #e9e8f2;
    border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 0, 31, .35);
    font-size: 14.5px; line-height: 1.55;
}
.geo-cookie[hidden] { display: none; }
.geo-cookie p { margin: 0 0 14px; }
.geo-cookie a { color: #ffd900; font-weight: 600; }
.geo-cookie-btns { display: flex; gap: 10px; justify-content: flex-end; }
.geo-cookie button {
    border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
    font-family: var(--geo-font-head, inherit); font-weight: 700; font-size: 14px;
}
.geo-cookie-no  { background: transparent; color: #e9e8f2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.geo-cookie-yes { background: #ffd900; color: #00001f; }
@media (max-width: 767px) {
    .geo-cookie { left: 10px; right: 10px; bottom: 70px; max-width: none; }
}