/* =========================================================
   Saitebi.Net Category 
========================================================= */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

:root {
    --brand: #703C25;
    --hover-bg: linear-gradient(180deg, rgba(255, 217, 160, 0.28), rgba(255, 217, 160, 0.10));
}

body {
    background: #2e2e2e;
    font-family: Arial, Sylfaen, "DejaVu Sans", sans-serif;
    font-size: 13px;
    text-rendering: optimizeLegibility;
}

a { text-decoration: none; }


a:focus-visible,
.categories > span:focus-visible {
    outline: 3px solid #000080;
    outline-offset: 2px;
}

.footer a:focus-visible { outline-color: #ffffff; }


/* =========================================================
   TOP NAV
========================================================= */

.topnav {
    --nav-text: #FBF0E4;
    --nav-accent: #FFD9A0;
    --nav-ease: cubic-bezier(.3, .9, .3, 1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    z-index: 6000;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.topnav__bar {
    position: relative;
    width: 940px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.40);
}


.topnav__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255, 217, 160, 0.028) 0 2px, transparent 2px 7px),
        linear-gradient(180deg, #46291a, #22120a);
}


.topnav__bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 217, 160, 0.55) 50%, transparent);
}

.topnav__menu {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 3px;
    gap: 2px;
}

.topnav__menu li { position: relative; z-index: 1; flex: 0 1 auto; min-width: 0; }


.topnav__menu > li.topnav__item--dd { position: static; }


.topnav__glide {
    position: absolute !important;
    z-index: 0 !important;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 0;
    background: var(--hover-bg);
    box-shadow: inset 0 1px 0 rgba(255, 217, 160, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: transform .38s var(--nav-ease),
                width .38s var(--nav-ease),
                opacity .2s ease;
}

.topnav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px 6px 6px;
    border-radius: 0;
    color: var(--nav-text);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, text-shadow .2s ease, background .2s ease;
}

.topnav__ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 0;
    color: var(--nav-accent);
}
.topnav__ico svg { width: 18px; height: 18px; }

.topnav__chev {
    width: 12px;
    height: 12px;
    margin-left: -2px;
    opacity: .7;
    transition: transform .3s var(--nav-ease);
}


.topnav__link:focus-visible { color: #fff; outline: none; box-shadow: 0 0 0 2px var(--nav-accent); }


@media (hover: hover) {
    .topnav__link:hover,
    .topnav__item--dd:hover > .topnav__link {
        color: #fff;
        text-shadow: 0 0 12px rgba(255, 217, 160, 0.4);
    }
}


.topnav__dd {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease .14s,
                visibility 0s linear .32s,
                transform .28s var(--nav-ease) .14s;
}


.topnav__dd::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.topnav__item--dd.is-open .topnav__dd {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}
.topnav__item--dd.is-open .topnav__chev { transform: rotate(180deg); }

@media (min-width: 951px) {
    .topnav__item--dd:hover .topnav__dd,
    .topnav__item--dd:focus-within .topnav__dd {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
    .topnav__item--dd:hover .topnav__chev,
    .topnav__item--dd:focus-within .topnav__chev { transform: rotate(180deg); }

 
    .topnav__menu li:not(:last-child) > .topnav__link::after {
        content: "";
        position: absolute;
        right: -1px;
        top: 26%;
        height: 48%;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255, 217, 160, 0.28), transparent);
    }
}

.topnav__dd-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px 8px;
    padding: 12px;
    border-radius: 0;
    background: linear-gradient(180deg, #3a2112, #22120a);
    border: 1px solid rgba(255, 217, 160, 0.14);
    border-top: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

@keyframes navItemIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.topnav__dd-panel a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 0;
    color: var(--nav-text);
    font-size: 15px;
    line-height: 20px;
    transition: background .2s ease, color .2s ease, padding .28s var(--nav-ease), box-shadow .2s ease;
}


.topnav__dd-panel a::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--nav-accent);
    opacity: .4;
    transform: rotate(45deg);
    transition: opacity .2s ease, transform .28s var(--nav-ease), box-shadow .2s ease;
}

.topnav__dd-panel a:hover,
.topnav__dd-panel a:focus-visible {
    color: #fff;
    background: var(--hover-bg);
    box-shadow: inset 2px 0 0 var(--nav-accent);
    padding-left: 16px;
    outline: none;
}

.topnav__dd-panel a:hover::before,
.topnav__dd-panel a:focus-visible::before {
    opacity: 1;
    transform: rotate(45deg) scale(1.35);
    box-shadow: 0 0 8px rgba(255, 217, 160, 0.8);
}


@media (min-width: 951px) {
    .topnav__item--dd:hover .topnav__dd-panel a,
    .topnav__item--dd:focus-within .topnav__dd-panel a {
        animation: navItemIn .3s var(--nav-ease) both;
        animation-delay: calc(var(--i, 0) * 12ms);
    }
}


.topnav__item--more,
.topnav__more { display: contents; }

.topnav__more { list-style: none; margin: 0; padding: 0; }

.topnav__burger { display: none; }


@media screen and (max-width: 950px) {
    .topnav__bar { width: 100%; margin: 0; }

    .topnav__menu { gap: 0; }

    .topnav__glide { display: none; }

    .topnav__link { font-size: 14px; padding-right: 8px; touch-action: manipulation; }


    .topnav__menu > li:not(.topnav__glide) { flex: 1 1 0; }
    .topnav__menu > li.topnav__item--dd {
        flex: 1.35 1 0;
        border-left: 1px solid rgba(255, 217, 160, 0.14);
    }
    .topnav__menu > li.topnav__item--more {
        flex: 0 0 52px;
        border-left: 1px solid rgba(255, 217, 160, 0.14);
    }
    .topnav__menu > li > .topnav__link { width: 100%; justify-content: center; padding-right: 20px; }

    .topnav__item--more { display: block; }


    .topnav__burger {
        position: relative;
        display: grid;
        place-items: center;
        width: 100%;
        height: 40px;
        touch-action: manipulation;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgba(255, 217, 160, 0.10);
        color: var(--nav-accent);
        cursor: pointer;
    }
    .topnav__burger svg { width: 24px; height: 24px; overflow: visible; }
    .topnav__burger path {
        transform-box: fill-box;
        transform-origin: center;
        transition: transform .32s var(--nav-ease), opacity .2s ease;
    }
    .topnav__burger:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--nav-accent); }

    .topnav__item--more.is-open .topnav__burger { background: var(--nav-accent); color: #2B1B12; }
    .topnav__item--more.is-open .topnav__burger path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .topnav__item--more.is-open .topnav__burger path:nth-child(2) { opacity: 0; transform: scaleX(.2); }
    .topnav__item--more.is-open .topnav__burger path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


    html::after { content: ""; display: none; }

    html.topnav-open,
    html.topnav-open * {
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    html.topnav-open { cursor: pointer; overflow: hidden; }
    html.topnav-open::after {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 46px;
        bottom: 0;
        z-index: 5500;
        background: rgba(0, 0, 0, 0.55);
    }


    .topnav__more {
        display: block;
        position: fixed;
        top: 46px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 8px;
        background: linear-gradient(180deg, #3a2112, #22120a);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);

        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path .35s var(--nav-ease), visibility 0s linear .35s;
    }
    .topnav__item--more.is-open .topnav__more {
        visibility: visible;
        clip-path: inset(0 0 -40px 0);
        transition: clip-path .35s var(--nav-ease), visibility 0s;
    }

    .topnav__more .topnav__link {
        gap: 12px;
        justify-content: flex-start;
        padding: 8px 12px 8px 8px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 217, 160, 0.08);
    }
    .topnav__more > li:last-child .topnav__link { border-bottom: 0; }

    .topnav__more .topnav__link::after {
        content: "";
        width: 7px;
        height: 7px;
        margin: 0 4px 0 auto;
        border-top: 2px solid var(--nav-accent);
        border-right: 2px solid var(--nav-accent);
        opacity: .55;
        transform: rotate(45deg);
    }

    .topnav__more .topnav__link[aria-current="page"] {
        color: #fff;
        background: var(--hover-bg);
    }


    .topnav__dd {
        position: fixed;
        top: 46px;
        left: 0;
        width: 100%;
        max-width: none;
        padding-top: 0;
        display: block;
        opacity: 1;
        transform: none;
        visibility: hidden;
        clip-path: inset(0 0 100% 0);
        transition: clip-path .35s var(--nav-ease), visibility 0s linear .35s;
    }
    .topnav__dd::before { display: none; }
    .topnav__item--dd.is-open .topnav__dd {
        opacity: 1;
        transform: none;
        visibility: visible;
        clip-path: inset(0 0 -40px 0);
        transition: clip-path .35s var(--nav-ease), visibility 0s;
    }


    .topnav__dd-panel {
        --dd-rows: 14;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 34px;
        grid-auto-rows: clamp(30px, calc((100vh - 66px) / var(--dd-rows)), 44px);
        grid-auto-rows: clamp(30px, calc((100dvh - 66px) / var(--dd-rows)), 44px);
        gap: 0 8px;
        padding: 10px;
        overflow: visible;
        overscroll-behavior: none;
        touch-action: none;
    }

    .topnav__dd-panel a { padding: 0 12px; font-size: 14px; }
    .topnav__dd-panel a:hover,
    .topnav__dd-panel a:focus-visible { padding-left: 16px; }
}

@media screen and (min-width: 600px) and (max-width: 950px) {
    .topnav__dd-panel { grid-template-columns: repeat(3, 1fr); --dd-rows: 10; }
}


@media screen and (min-width: 600px) and (max-width: 950px) and (max-height: 520px) {
    .topnav__dd-panel { grid-template-columns: repeat(4, 1fr); --dd-rows: 7; }
}

@media screen and (max-width: 360px) {
    .topnav__link { font-size: 13px; padding-right: 8px; gap: 5px; }
    .topnav__dd-panel a { font-size: 13px; padding: 0 8px; gap: 8px; }
    .topnav__menu > li > .topnav__link { padding-right: 10px; }
    .topnav__menu > li.topnav__item--more { flex-basis: 46px; }
}



@media (hover: none) {
    .topnav__link:focus-visible { box-shadow: none; outline: none; color: var(--nav-text); }
    .topnav__burger:focus-visible { box-shadow: none; outline: none; }
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 940px;
    height: 170px;
    margin: 0 auto;
    padding-top: 46px;
    background: linear-gradient(180deg, #5a3420, #a4a4a4);
}

.header-inner { position: relative; width: 940px; height: 124px; }

.logo { position: absolute; top: 12px; left: 10px; width: 115px; height: 110px; }

.logo a { position: relative; display: block; width: 115px; height: 110px; }

.logo > a > img:first-child { display: block; width: 115px; height: 110px; }

.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 115px;
    height: 110px;
    opacity: 0;
    transition: opacity .15s ease;
}

.logo a:hover .logo-hover { opacity: 1; }

.header-ad { position: absolute; top: 12px; right: 10px; width: 750px; height: 100px; }

.header-ad img { display: block; width: 750px; height: 100px; border: 0; }


/* =========================================================
   MAIN
========================================================= */

.main { width: 940px; min-height: 500px; margin: 0 auto; background: #a4a4a4; }

.category { width: 888px; margin: 0 auto; padding: 18px 0 40px; }

.category-title { margin-bottom: 18px; text-align: center; }

.category-title h1 {
    margin: 0;
    color: #000080;
    font-size: 22px;
    font-weight: bold;
    line-height: 28px;
}

.title-decoration { width: 70px; height: 3px; margin: 7px auto 8px; background: #C57A35; }

.category-title p { margin: 0; color: #222222; font-size: 16px; line-height: 20px; }

/* შესავალი ტექსტი */
.category-intro {
    margin: 30px 0 0;
    padding: 12px 16px;
    background: #b5b5b5;
    border-left: 4px solid var(--brand);
    color: #1a1a1a;
    font-size: 14px;
    line-height: 22px;
}

.category-intro p { margin: 0; }

/* ქვეკატეგორიის სათაური */
.category h2 {
    margin: 26px 0 14px;
    padding-left: 10px;
    border-left: 4px solid #C57A35;
    color: #46291a;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
}


/* =========================================================
   SITE GRID + CARD
========================================================= */

.site-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 12px;
    width: 100%;
}

.site-card {
    display: flex;
    width: 100%;
    min-height: 120px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #b5b5b5;
    border: 1px solid #888888;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.site-card:hover,
.site-card:focus-visible {
    transform: translateY(-3px);
    background: #DEDCDC;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .28);
}

.site-logo {
    position: relative;
    width: 145px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.site-logo img {
    display: block;
    width: 145px;
    height: 55px;
    object-fit: cover;
    border: 0;
    transition: transform .18s ease, box-shadow .18s ease;
}

.site-card:hover .site-logo img,
.site-card:focus-visible .site-logo img {
    transform: scale(1.07);
    box-shadow: 0 0 0 3px var(--brand), 0 3px 10px rgba(0, 0, 0, .4);
}

.site-domain {
    margin-top: 7px;
    color: #000000;
    font-size: 13px;
    line-height: 17px;
    text-align: center;
}

.site-tag {
    margin-top: 4px;
    padding: 1px 9px;
    background: var(--brand);
    color: #ffffff;
    border-radius: 10px;
    font-size: 11px;
    line-height: 16px;
}


/* =========================================================
   TOOLTIP (მხოლოდ მაუსის მქონე მოწყობილობაზე)
========================================================= */

.site-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(6px);
    width: 270px;
    padding: 12px 14px;
    background: rgba(25, 25, 25, .97);
    color: #ffffff;
    border-radius: 9px;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    z-index: 5000;
}

.site-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(25, 25, 25, .97);
}

.site-tooltip strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 20px;
}

.site-logo:hover .site-tooltip,
.site-card:focus-visible .site-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


@media (hover: none) {
    .site-tooltip { display: none; }
}


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

.footer {
    --ft-amber: #FFD9A0;
    --ft-text: #E6D9C8;
    --ft-muted: #B9A892;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 940px;
    margin: 0 auto;
    padding: 26px 20px 16px;
    background: linear-gradient(180deg, #2B1B12 0%, #1F130C 100%);
    color: var(--ft-text);
    text-align: center;
}


.footer::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #C57A35 25%, var(--ft-amber) 50%, #C57A35 75%, transparent 100%);
}


.footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='22'%3E%3Crect x='2' y='2' width='52' height='18' rx='4' fill='%23FFD9A0' fill-opacity='.05'/%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
    pointer-events: none;
}


.footer-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    margin: 0 0 16px;
}

.footer .footer-links a:link,
.footer .footer-links a:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 9px;
    border-radius: 999px;
    background: rgba(255, 217, 160, 0.06);
    border: 1px solid rgba(255, 217, 160, 0.20);
    color: #EADCC8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .26s ease, background .26s ease, color .26s ease,
                border-color .26s ease, box-shadow .26s ease;
}

.footer-links svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--ft-amber);
    transition: color .26s ease;
}

.footer .footer-links a:hover,
.footer .footer-links a:focus-visible {
    background: var(--hover-bg);
    border-color: rgba(255, 217, 160, 0.35);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
    outline: none;
}
.footer .footer-links a:hover svg,
.footer .footer-links a:focus-visible svg { color: #FFE3B8; }
.footer .footer-links a:focus-visible { box-shadow: 0 0 0 2px var(--ft-amber); }


.footer-links__sep { display: none; }

.footer-copy {
    position: relative;
    margin: 0;
    padding: 12px 0 0;
    color: var(--ft-muted);
    font-size: 13px;
    line-height: 20px;
}

.footer-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 217, 160, 0.35), transparent);
}

.footer-copy strong { color: var(--ft-text); font-weight: 700; }
.footer-copy #year { color: var(--ft-amber); }


/* =========================================================
   ტაბლეტი: 3 სვეტი (600–950px)
========================================================= */

@media screen and (min-width: 600px) and (max-width: 950px) {
    .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =========================================================
   MOBILE / TABLET (≤950px)
========================================================= */

@media screen and (max-width: 950px) {

    html, body { width: 100%; min-width: 0; overflow-x: hidden; }

    /* ჰედერი */
    .header { width: 100%; height: auto; margin: 0; padding-top: 58px; overflow: hidden; }

    .header-inner { width: 100%; height: auto; display: flex; align-items: flex-start; }


    .logo { display: none; }

    .logo a { width: 85px; height: auto; overflow: hidden; }

    .logo > a > img:first-child,
    .logo-hover { width: 85px; height: auto; max-height: 100px; object-fit: contain; object-position: top center; }

    .header-ad { position: relative; top: 0; right: auto; margin: 0 6px; flex: 1 1 auto; width: auto; height: auto; overflow: hidden; }

    .header-ad img { width: 100%; height: auto; object-fit: contain; }

    /* მთავარი */
    .main { width: 100%; margin: 0; }

    .category { width: calc(100% - 24px); padding: 18px 0 35px; }

    .category-title { margin-bottom: 14px; }

    .category-title h1 { font-size: 20px; line-height: 26px; }

    .category-title p { font-size: 14px; line-height: 21px; }

    .category-intro { font-size: 13px; line-height: 21px; padding: 10px 12px; }

    .category h2 { font-size: 17px; margin: 22px 0 12px; }

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

    .site-card { padding: 6px; }

    .site-logo { width: 100%; }

    .site-logo img { width: 100%; max-width: 145px; }

    .site-domain { font-size: 12px; line-height: 16px; }

    /* ფუტერი */
    .footer {
        width: 100%;
        padding: 18px 12px calc(14px + env(safe-area-inset-bottom, 0px));
        -webkit-tap-highlight-color: transparent;
    }


    .footer::after { display: none; }


    .footer-links {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-width: 420px;
        margin: 0 auto 14px;
    }

    .footer .footer-links a:link,
    .footer .footer-links a:visited {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        min-height: 44px;
        padding: 10px 8px;
        border: 0;
        border-bottom: 1px solid rgba(255, 217, 160, 0.14);
        border-radius: 0;
        background: transparent;
        font-size: 14px;
        line-height: 20px;
        text-align: left;
        white-space: normal;
    }

    .footer .footer-links a:last-child { border-bottom: 0; }

    .footer-links svg { width: 18px; height: 18px; }

    .footer .footer-links a:hover,
    .footer .footer-links a:focus-visible {
        transform: none;
        background: var(--hover-bg);
        border-color: rgba(255, 217, 160, 0.14);
        box-shadow: none;
    }

    .footer .footer-links a:active {
        background: var(--hover-bg);
        color: #fff;
    }
    .footer .footer-links a:active svg { color: var(--ft-amber); }

    .footer-copy {
        padding-top: 12px;
        font-size: 12px;
        line-height: 18px;
    }


    .footer-copy strong { display: block; }
    .footer-copy__sep { display: none; }
    .footer-copy__rights { display: block; }
}


/* =========================================================
   VERY SMALL PHONES (≤420px)
========================================================= */

@media screen and (max-width: 420px) {

    .header { padding-top: 56px; }

    .logo { left: 5px; flex-basis: 62px; width: 62px; }

    .logo a, .logo > a > img:first-child, .logo-hover { width: 62px; }

    .logo > a > img:first-child, .logo-hover { max-height: 72px; }

    .header-ad { margin: 0 6px; }

    .category { width: calc(100% - 16px); }

    .category-title p { font-size: 13px; line-height: 19px; }

    .site-grid { gap: 10px; }

    .site-card { min-height: 112px; }

    .site-domain { font-size: 11px; }

    .footer .footer-links a:link,
    .footer .footer-links a:visited { font-size: 13px; padding: 10px 6px; gap: 10px; }

    .footer-links svg { width: 16px; height: 16px; }
}


/* =========================================================
   ანიმაციების შემცირება (სისტემის პარამეტრი)
========================================================= */

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }

    .site-card:hover,
    .site-card:focus-visible,
    .site-card:hover .site-logo img,
    .site-card:focus-visible .site-logo img { transform: none; }
}
