@import url('./tt-chocolates.css');


:root {
    --thm-color: #ED1B38;
    --thm-color-green: #3AB54A;
    --thm-color-gray: #BCC5CC;
    --thm-color-title: #75858F;
    --thm-color-text: #465259;
    --thm-color-black: #212529;
    --thm-color-dark: #343a40;
}

* {
    transition: all 0.5s ease;
}

p {
    color: var(--thm-color-text);
}

body {
    font-family: 'TT Chocolates', sans-serif;
    font-weight: 300;
}

.text-theme {
    color: var(--thm-color);
}

.btn-danger {
    background-color: var(--thm-color)!important;
    border-color: var(--thm-color)!important;
}

.btn-default {
    background-color: var(--thm-color);
    color: #FFF;
    padding: 0.3rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
}

.btn-default.btn-sm,
.btn-gray.btn-sm {
    zoom: 0.9;
    padding: 0rem 1.5rem;
    line-height: inherit;
}

.btn-default i {
    margin-left: 0.5rem;
}

.btn-default:hover {
    background-color: white !important;
    color: var(--thm-color) !important;
    border: 1px solid var(--thm-color);
}

.btn-gray {
    color: var(--thm-color-text);
    border: 1px solid var(--thm-color-text);
    text-decoration: none;
    padding: 0.2rem 1.5rem;
    border-radius: 1rem;
    line-height: 2rem;
    font-size: 0.9rem;
    text-transform: capitalize;
    background-color: transparent;
}

.btn-gray i {
    margin-left: 0.5rem;
    transition: initial;
}

.btn-gray:hover {
    background-color: var(--thm-color-gray);
    border-color: var(--thm-color-gray);
    color: white;
}

.three-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

header {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

header form[role=search] {
    position: relative;
    overflow: hidden;
    width: 250px;
}

header form[role=search] input {
    border-radius: 4rem;
    zoom: 0.9;
}

header form[role=search] input:focus {
    box-shadow: none!important;
}
header form[role=search] button {
    position: absolute;
    z-index: 9;
    top: 0;
    right: 10px;
}

form.login-form {
    margin-top: 4rem;
}

/* Login error (wrong password etc.): site red, thin line, no shadow, like the other boxes */
form.login-form .login-alert {
    display: flex; align-items: flex-start; gap: 0.55rem;
    margin-bottom: 1rem; padding: 0.65rem 0.9rem;
    background: #fff5f6; border: 1px solid var(--thm-color); border-radius: 8px;
    color: var(--thm-color); font-size: 0.92rem; font-weight: 500; line-height: 1.4;
}
form.login-form .login-alert i { margin-top: 0.15rem; }
form.login-form .form-control.is-invalid { border-color: var(--thm-color); background-image: none; padding-right: 0.75rem; }
form.login-form .form-control.is-invalid:focus { box-shadow: 0 0 0 0.2rem rgba(237, 27, 56, 0.15); }
/* Password field with an eye button to show / hide it */
.password-field { position: relative; }
.password-field .form-control { padding-right: 2.75rem; }
.password-field .password-toggle {
    position: absolute; top: 50%; right: 0.35rem; transform: translateY(-50%);
    width: 2.1rem; height: 2.1rem; display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 6px; background: transparent; color: var(--thm-color-title); transition: color .15s;
}
.password-field .password-toggle:hover,
.password-field .password-toggle[aria-pressed="true"] { color: var(--thm-color); }
.password-field .password-toggle:focus-visible { outline: none; box-shadow: 0 0 0 0.2rem rgba(237, 27, 56, 0.15); }

.navbar-nav {
    gap: 1.5rem;
}

.navbar-nav li.nav-item i {
    font-size: 12px;
    margin-left: 5px;
}

.navbar-nav .nav-link {
    color: var(--thm-color-black);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* keep "Home →", "TR Map" on one line */
}

/* Medium screens (menu shown, but not much room): tighter spacing, narrower search */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav { gap: 0.5rem; }
    header form[role=search] { width: 180px; }
}

.navbar-nav .nav-link:hover {
    color: var(--thm-color);
}

.navbar-nav .nav-link.active {
    color: var(--thm-color);
}

.topbar {
    margin-top: 0.5rem;
}

.topbar ul {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.topbar ul li a {
    color: var(--thm-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.topbar ul li:nth-last-child(2) a { /* the button before the TR / EN switch */
    display: inline-block; /* the padding now counts in the bar's height, so the sticky menu no longer covers its bottom edge */
    background-color: var(--thm-color);
    color: #FFF;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    line-height: 1.3;
}

.home-area {
    color: var(--thm-color);
}

.home-area ul li a {
    color: var(--thm-color);
    border: 1px solid var(--thm-color);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    line-height: 2rem;
    font-size: 0.9rem;
}

.home-area ul li a:hover {
    background-color: var(--thm-color);
    color: white;
}

/* Green check after a sponsor company's name (like a verified badge) */
.sponsor-tick {
    color: var(--thm-color-green);
    font-size: 0.75em;
    margin-left: 0.3em;
    vertical-align: 0.1em;
}

.prefooter .info-area {
    color: var(--thm-color-gray);
}

.info-title {
    font-weight: bold;
    color: var(--thm-color-title);
}

/* "Which businesses support us?" block: title and sponsors button in the site red */
.prefooter .info-area .info-title {
    color: var(--thm-color);
}

.prefooter .info-area a {
    background-color: var(--thm-color);
    border: 1px solid var(--thm-color);
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.prefooter .info-area a i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.prefooter .info-area a:hover {
    background-color: white;
    color: var(--thm-color);
    border-color: var(--thm-color);
}

/* "More / Less" buttons under the tag lists (home page and page footer) */
.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.45rem 1.2rem;
    border: 1px solid var(--thm-color);
    border-radius: 2rem;
    background-color: var(--thm-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.more-btn i {
    font-size: 0.8rem;
}

.more-btn:hover,
.more-btn:focus-visible {
    background-color: white;
    color: var(--thm-color);
}


.prefooter .tags-area ul li a {
    color: var(--thm-color-text);
    border: 1px solid var(--thm-color-text);
    text-decoration: none;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    line-height: 2rem;
    font-size: 0.9rem;
}

.prefooter .tags-area ul li a:hover {
    background-color: var(--thm-color-gray);
    border-color: var(--thm-color-gray);
    color: white;
}

.map svg path {
    fill: var(--thm-color-gray);
}

.map svg g:hover > path {
    fill: var(--thm-color);
    cursor: pointer;
}


.register-area {
    /*border-top: 2px solid var(--thm-color);*/
    padding-top: 2rem;
    margin-top: 2rem;
}

.register-area form {
    display: flex;
    height: 100%;
    align-items: center;
}

label {
    color: var(--thm-color);
    font-weight: bold;
}



ul.link-letters {
    border: 1px solid var(--thm-color);
    border-radius: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


ul.link-letters li::after {
    content: "•";
    margin: 0 5px;
    color: var(--thm-color);
}

ul.link-letters li:last-child::after {
    content: ""; /* Son öğeden sonra nokta koyma */
}




ul.companies > li {
    border: 1px solid #F1F1F1;
    padding: 1rem;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

/* Company list text colors */
ul.companies > li th {
    color: var(--thm-color-text);
    font-weight: 600;
}

ul.companies > li td {
    color: var(--thm-color-black);
}

ul.companies > li a {
    color: var(--thm-color-black);
    text-transform: uppercase;
    font-size: 0.85rem;
}

ul.companies > li a:hover {
    color: #FFF;
}

    /* Button colors in company list */
    ul.companies > li .btn-default {
        background: var(--thm-color);
        color: #FFF;
        border: 1px solid var(--thm-color);
    }

    ul.companies > li .btn-default:hover {
        background: white !important;
        color: var(--thm-color) !important;
        border: 1px solid var(--thm-color);
    }

    ul.companies > li .tag-item {
        color: #FFF !important;
        background: var(--thm-color);
        border: 1px solid var(--thm-color);
    }

    ul.companies > li .tag-item:hover {
        color: #FFF !important;
        background: var(--thm-color);
    }

/* SVG Tooltip Stili */
.tooltip {
    position: absolute;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

/* SVG City Path Hover Effect */
#svg-turkiye-haritasi g path,
#svg-turkiye-haritasi g text {
    cursor: pointer;
    transition: all 0.3s ease;
}

#svg-turkiye-haritasi g:hover > path,
#svg-turkiye-haritasi g:hover > text {
    stroke-width: 2;
}

#svg-turkiye-haritasi .selected path,
#svg-turkiye-haritasi .selected text {
    fill: var(--thm-color);
    stroke: var(--thm-color);
}

/* SVG Map Container */
.map {
    position: relative;
}


ul.companies > li figure {
    width: 100px;  /* Sabit yükseklik ve genişlik */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-right: 1rem;
}

ul.companies > li figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Orijinal oranı korurken sığdır */
    width: auto;
    height: auto;
}

ul.companies > li figure.logo-container {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

ul.companies > li figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Preserve aspect ratio while fitting */
    width: auto;
    height: auto;
}

/* Responsive SVG Turkey Map Styles */
.container-turkiye-haritasi {
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* Allow horizontal scroll on small screens */
    margin: 0 auto;
}

.container-turkiye-haritasi svg {
    width: 100%;
    height: auto;
    min-width: 600px; /* Minimum width for readability */
}

#svg-turkiye-haritasi {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .container-turkiye-haritasi {
        padding: 0 15px;
    }

    .container-turkiye-haritasi svg {
        min-width: 100%; /* Allow to scale down on mobile */
    }

    /* Adjust city name font sizes on mobile */
    #svg-turkiye-haritasi text[font-size="6"] {
        font-size: 4px !important;
    }

    #svg-turkiye-haritasi text[font-size="8"] {
        font-size: 6px !important;
    }

    #svg-turkiye-haritasi text[font-size="10"] {
        font-size: 7px !important;
    }
}

/* Map card: plain white, city name, count and (on touch) a link */
#map-tooltip {
    position: absolute;
    min-width: 150px;
    background: #fff;
    color: var(--thm-color-black);
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    pointer-events: none;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    line-height: 1.4;
}
#map-tooltip.is-visible { opacity: 1; visibility: visible; }
#map-tooltip.is-touch { pointer-events: auto; }
#map-tooltip strong { display: block; margin-bottom: 2px; font-size: 15px; }
#map-tooltip .map-tooltip-count { display: block; color: var(--thm-color); font-weight: 700; }
#map-tooltip .map-tooltip-hint { display: block; margin-top: 2px; color: var(--thm-color-text); font-size: 12px; }
#map-tooltip .map-tooltip-link {
    display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 2rem;
    background: var(--thm-color); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}

/* City labels drawn by the script: a red badge with the count, and the name in tiny letters */
#svg-turkiye-haritasi .city-label { pointer-events: none; } /* hovering a label counts as hovering the city */
#svg-turkiye-haritasi .city-badge { fill: var(--thm-color); stroke: #fff; stroke-width: 1.5; }
#svg-turkiye-haritasi text.city-count { fill: #fff; font-size: 9.5px; font-weight: 700; }
#svg-turkiye-haritasi text.city-name {
    fill: #4a4f55; font-size: 7px; font-weight: 600;
    paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 2px; stroke-linejoin: round;
}
#svg-turkiye-haritasi text.city-name-empty { fill: #8a9095; font-weight: 500; }
#svg-turkiye-haritasi g[data-plakakodu]:hover .city-badge,
#svg-turkiye-haritasi g[data-plakakodu].is-active .city-badge { fill: var(--thm-color-black); }
/* City names only where the map is large enough to read them */
@media (max-width: 991.98px) { #svg-turkiye-haritasi text.city-name { display: none; } }

/* Old plate number left on one city in the map file: replaced by the labels */
#svg-turkiye-haritasi g[data-plakakodu] > text {
    display: none;
}

.highlighted-city {
    stroke: var(--thm-color) !important;
    stroke-width: 2px !important;
}

ul.companies > li figure.logo-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Detay sayfası logo stili */
.logo-container-detail {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin: 0 auto;
}

.logo-container-detail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

/* Modal logo stili */
.logo-container-modal {
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin: 0 auto;
}

.logo-container-modal img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

ul.companies table.company-detail tr th,
ul.companies table.company-detail tr td {
    padding-top: 0;
    padding-bottom: 0;
}

/* Mobilde: Website + City yan yana, sektörler alt alta */
@media (max-width: 575.98px) {
    ul.companies > li > .d-flex {
        flex-direction: column;
        align-items: center;
    }

    ul.companies > li > .d-flex .flex-grow-1 {
        width: 100%;
    }

    ul.companies table.company-detail,
    ul.companies table.company-detail tbody {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    ul.companies table.company-detail tr {
        display: block;
        width: 100%;
    }

    /* Firma adı tam genişlik */
    ul.companies table.company-detail tr:first-child {
        width: 100%;
    }

    /* Website + City iki sütun (yan yana) */
    ul.companies table.company-detail tr:nth-child(2),
    ul.companies table.company-detail tr:nth-child(3) {
        width: 50%;
    }

    /* Sektörler tam genişlik (alt alta) */
    ul.companies table.company-detail tr:last-child {
        width: 100%;
    }

    ul.companies table.company-detail th,
    ul.companies table.company-detail td {
        display: block;
        width: 100% !important;
        padding-left: 0;
    }

    ul.companies table.company-detail th {
        margin-top: 0.4rem;
    }
}

footer {
    background-color: var(--thm-color);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Page footer: brand, link columns, contact and bottom bar (client/parts/footer.blade.php) */
.site-footer {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    color: white;
}

/* Paragraphs are grey site-wide; in the red footer all text is white */
.site-footer p {
    color: white;
}

.site-footer .footer-tagline {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.site-footer .footer-est {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border: 1px solid white;
    border-radius: 2rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-footer .footer-heading {
    margin-bottom: 0.9rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer .footer-links li {
    margin-bottom: 0.45rem;
}

.site-footer .footer-links a {
    color: white;
    font-size: 0.95rem;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

.site-footer .footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    word-break: break-all;
}

.site-footer .footer-email i {
    margin: 0;
    font-size: 1.1rem;
}

.site-footer .footer-small {
    margin: 0.3rem 0 1rem;
    font-size: 0.8rem;
}

.site-footer .footer-social a i {
    font-size: 1.25rem;
}

.site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

/* "Contact the company directly" note (company page and pop-up) */
.direct-note {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #F7F8F9;
    color: var(--thm-color-title);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.direct-note i {
    margin-top: 0.2rem;
    color: var(--thm-color-title);
}

footer a i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}


.dt-paging {
    zoom: 0.8;
}

label[for=logo] {
    border: 3px dotted #CCC;
    display: flex;
    min-height: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
label[for=logo]:hover {
    cursor: pointer;
}
input[name=logo] {
    display: none;
}

.logo-content img {
    max-width: 100%;
    max-height: 100px;
}


#companyModal .modal-content {
    overflow: hidden;
}

#companyModal .modal-header {
    position: relative;
    border-bottom: 0;
    z-index: 2;
}

#companyModal .modal-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F1F1F1;
    z-index: 0;
}

#companyModal .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 3;
}

#companyModal .modal-title {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}


.subscribe-form input {
    min-height: 50px;
    border-top-left-radius: 4rem;
    border-bottom-left-radius: 4rem;
}

.subscribe-form input:focus {
    box-shadow: none!important;
}

.subscribe-form button {
    border-top-right-radius: 4rem;
    border-bottom-right-radius: 4rem;
}

.search-form {
    position: relative;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 2rem;
    padding: 0.25rem;
}

.search-filter {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--thm-color-text);
    cursor: pointer;
    min-width: 100px;
}

.search-filter:focus {
    outline: none;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: transparent;
}

.search-input-wrapper input:focus {
    outline: none;
}

.search-wrapper button {
    background: var(--thm-color);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper button:hover {
    background: var(--thm-color-dark);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    margin-top: 0.5rem;
}

.search-suggestions.show {
    display: block;
}

.suggestion-group {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.suggestion-group:last-child {
    border-bottom: none;
}

.suggestion-group-title {
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    color: var(--thm-color-gray);
    text-transform: uppercase;
    font-weight: 600;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--thm-color-black);
}

.suggestion-item:hover {
    background: var(--thm-color);
    color: #fff;
}

.suggestion-item i {
    color: var(--thm-color-gray);
    width: 16px;
}

.suggestion-item:hover i {
    color: #fff;
}

@media (max-width: 991px) {
    .search-wrapper {
        flex-wrap: wrap;
        border-radius: 1rem;
    }

    .search-filter {
        width: calc(50% - 0.5rem);
    }

    .search-input-wrapper {
        width: 100%;
        order: -1;
    }

    .search-wrapper button {
        margin-left: auto;
    }
}

.company-detail-page {
    background: #f8f9fa;
    min-height: 80vh;
}

.company-header {
    padding: 2rem 0;
}

.company-logo-wrapper {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.company-logo-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.company-logo-placeholder {
    font-size: 4rem;
    color: var(--thm-color-gray);
}

.company-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--thm-color-black);
    text-transform: uppercase;
}

.company-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-label {
    color: var(--thm-color-text);
    font-weight: 500;
}

.info-label i {
    color: var(--thm-color);
    margin-right: 0.5rem;
}

.info-value {
    color: var(--thm-color-black);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.info-value:hover {
    color: var(--thm-color);
}

.btn-website {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: var(--thm-color-green);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-website:hover {
    background: var(--thm-color-green);
    color: white;
    transform: translateY(-1px);
    opacity: 0.9;
}

.info-description {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.info-description h5 {
    color: var(--thm-color-text);
}

.info-description p {
    color: var(--thm-color-black);
    line-height: 1.7;
}

.info-tags {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.info-tags h5 {
    color: var(--thm-color-text);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: white;
    border: 1px solid var(--thm-color);
    color: var(--thm-color);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--thm-color);
    color: white;
}

.company-map-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.company-map-card h5 {
    color: var(--thm-color-text);
}

.map-container {
    background: #f1f3f5;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-caption {
    font-size: 0.9rem;
}

.similar-companies {
    border-color: #dee2e6 !important;
}

.section-title {
    color: var(--thm-color-black);
    font-weight: 700;
}

.section-title i {
    color: var(--thm-color);
}

.similar-company-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.similar-company-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: var(--thm-color);
}

.similar-company-card .card-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.similar-company-card .card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.similar-company-card .card-logo i {
    font-size: 1.5rem;
    color: var(--thm-color-gray);
}

.similar-company-card .card-name {
    color: var(--thm-color-black);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.similar-company-card .card-city {
    color: var(--thm-color-text);
    font-size: 0.75rem;
}

@media (max-width: 991px) {
    .company-title {
        font-size: 1.5rem;
    }

    .company-logo-wrapper {
        width: 140px;
        height: 140px;
    }

    .company-map-card {
        margin-top: 2rem;
    }

    .similar-company-card .card-name {
        font-size: 0.8rem;
    }
}

.location-display {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

    .location-icon {
        width: 70px;
        height: 70px;
        background: var(--thm-color-green);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.location-icon i {
    font-size: 2rem;
    color: white;
}

.location-info {
    flex: 1;
}

.location-city {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--thm-color-black);
}

.location-country {
    display: block;
    font-size: 0.9rem;
    color: var(--thm-color-text);
    margin-top: 0.25rem;
}

.location-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--thm-color);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.location-link:hover {
    background: var(--thm-color);
    color: white;
    transform: scale(1.1);
}

.city-stats {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

    .stat-item {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: white;
        border: 1px solid var(--thm-color-green);
        border-radius: 25px;
        text-decoration: none;
        color: var(--thm-color-green);
        font-size: 0.85rem;
        transition: all 0.3s;
    }

    .stat-item:hover {
        background: var(--thm-color-green);
        color: white;
    }

.stat-item i {
    font-size: 0.9rem;
}

/* Scroll-reveal (fadeInUp) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Sadece opaklıkla (transform yok) fade — harita/tooltip gibi transform'a duyarlı öğeler için */
.reveal-fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.reveal-fade.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Story pages: "Why Türkiye?" (/turkey, .turkiye-page), About Us and
   Our Sponsors (.story-page). Everything is scoped to these two wrapper
   classes so no other page is affected.
   ========================================================================== */
:is(.turkiye-page, .story-page) { color: var(--thm-color-text); }
:is(.turkiye-page, .story-page) p { line-height: 1.7; }

:is(.turkiye-page, .story-page) .tp-intro { max-width: 760px; margin: 0 auto 2.5rem; }
:is(.turkiye-page, .story-page) .tp-eyebrow { color: var(--thm-color); font-weight: 600; margin-bottom: 0.5rem; }
:is(.turkiye-page, .story-page) .tp-title { font-weight: 700; color: var(--thm-color-black); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
:is(.turkiye-page, .story-page) .tp-lead { font-size: 1.1rem; color: var(--thm-color-title); margin: 1rem 0 0; }

:is(.turkiye-page, .story-page) .tp-stat {
    height: 100%;
    border: 1px solid #F1F1F1;
    border-radius: 1rem;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1rem;
    text-align: center;
    background: #fff;
}
:is(.turkiye-page, .story-page) .tp-stat-value { display: block; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--thm-color); line-height: 1.1; }
:is(.turkiye-page, .story-page) .tp-stat-label { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: var(--thm-color-title); }

:is(.turkiye-page, .story-page) .tp-section { margin-top: 4rem; }
:is(.turkiye-page, .story-page) .tp-h2 { font-weight: 700; color: var(--thm-color-black); font-size: 1.6rem; margin-bottom: 1rem; }
:is(.turkiye-page, .story-page) strong { color: var(--thm-color-black); }

:is(.turkiye-page, .story-page) .tp-figure { margin: 0; }
:is(.turkiye-page, .story-page) .tp-figure figcaption { font-size: 0.85rem; color: var(--thm-color-title); margin-top: 0.5rem; text-align: center; }
:is(.turkiye-page, .story-page) .tp-key { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin: 0 0.3rem 0 0.8rem; background: #75858F; }
:is(.turkiye-page, .story-page) .tp-key.tr { background: var(--thm-color); }
:is(.turkiye-page, .story-page) .tp-key.eu { background: repeating-linear-gradient(90deg, #BCC5CC 0 5px, transparent 5px 8px); }
:is(.turkiye-page, .story-page) .tp-note { display: block; font-size: 0.8rem; color: var(--thm-color-title); margin-top: 0.25rem; }

/* Growth chart (resources/views/components/growth-chart.blade.php) */
.growth-chart { width: 100%; height: auto; display: block; overflow: visible; font-family: inherit; }
.growth-chart .grid { stroke: #EEF1F3; stroke-width: 1; }
.growth-chart .grid.base { stroke: #BCC5CC; stroke-dasharray: 4 4; }
.growth-chart .axis { fill: #75858F; font-size: 15px; }
.growth-chart .line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; stroke: #75858F; }
.growth-chart .line.tr { stroke: var(--thm-color); stroke-width: 5; }
.growth-chart .line.eu { stroke: #BCC5CC; stroke-dasharray: 8 6; }
.growth-chart .dot { fill: #75858F; }
.growth-chart .dot.tr { fill: var(--thm-color); }
.growth-chart .dot.eu { fill: #BCC5CC; }
.growth-chart .end { font-size: 17px; font-weight: 700; fill: #75858F; }
.growth-chart .end.tr { fill: var(--thm-color); font-size: 22px; }
.growth-chart .end.eu { fill: #9AA6AE; }
/* Lines draw from left to right when the chart scrolls into view */
.reveal .growth-chart .line:not(.eu) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease 0.2s; }
.reveal.is-visible .growth-chart .line:not(.eu) { stroke-dashoffset: 0; }
.reveal .growth-chart .line.eu { opacity: 0; transition: opacity 0.6s ease 1.2s; }
.reveal.is-visible .growth-chart .line.eu { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .reveal .growth-chart .line, .reveal.is-visible .growth-chart .line { transition: none; stroke-dashoffset: 0; opacity: 1; }
}

/* Median age bars */
:is(.turkiye-page, .story-page) .tp-bar-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
:is(.turkiye-page, .story-page) .tp-bar-label { flex: 0 0 8.5rem; font-weight: 600; }
:is(.turkiye-page, .story-page) .tp-bar-track { flex: 1; height: 14px; background: #F4F6F7; border-radius: 7px; overflow: hidden; }
:is(.turkiye-page, .story-page) .tp-bar { display: block; height: 100%; border-radius: 7px; background: #BCC5CC; }
:is(.turkiye-page, .story-page) .tp-bar.tr { background: var(--thm-color); }
:is(.turkiye-page, .story-page) .tp-bar-value { flex: 0 0 2.5rem; text-align: right; font-weight: 700; color: var(--thm-color-title); }
:is(.turkiye-page, .story-page) .tp-bar-value.tr { color: var(--thm-color); }

/* Reasons */
:is(.turkiye-page, .story-page) .tp-reason { height: 100%; border: 1px solid #F1F1F1; border-radius: 1rem; padding: 1.5rem 1.25rem; background: #fff; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05); }
:is(.turkiye-page, .story-page) .tp-reason i { font-size: 1.6rem; color: var(--thm-color); margin-bottom: 0.75rem; }
:is(.turkiye-page, .story-page) .tp-reason i.green { color: var(--thm-color-green); }
:is(.turkiye-page, .story-page) .tp-reason h3 { font-size: 1.05rem; font-weight: 700; color: var(--thm-color-black); }
:is(.turkiye-page, .story-page) .tp-reason p { font-size: 0.92rem; margin: 0; }

:is(.turkiye-page, .story-page) .tp-btn { display: inline-block; margin: 0.25rem; padding: 0.6rem 1.3rem; border-radius: 2rem; border: 1px solid var(--thm-color); background: var(--thm-color); color: #fff; text-decoration: none; font-weight: 600; }
:is(.turkiye-page, .story-page) .tp-btn i { font-size: 0.8rem; margin-left: 0.4rem; }
:is(.turkiye-page, .story-page) .tp-btn:hover { background: #fff; color: var(--thm-color); }
:is(.turkiye-page, .story-page) .tp-btn.outline { background: #fff; color: var(--thm-color); }
:is(.turkiye-page, .story-page) .tp-btn.outline:hover { background: var(--thm-color); color: #fff; }

/* At a glance + sources */
:is(.turkiye-page, .story-page) .tp-glance { margin-top: 4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: #F7F8F9; font-weight: 600; color: var(--thm-color-black); }
:is(.turkiye-page, .story-page) .tp-glance span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--thm-color-title); }
:is(.turkiye-page, .story-page) .tp-sources { margin-top: 1.5rem; font-size: 0.78rem; color: var(--thm-color-title); }
:is(.turkiye-page, .story-page) .tp-sources a { color: var(--thm-color-title); }
/* Narrow screens: the chart is scaled down, so its labels are made larger to stay readable */
@media (max-width: 576px) {
    .growth-chart .axis { font-size: 24px; }
    .growth-chart .end { font-size: 24px; }
    .growth-chart .end.tr { font-size: 28px; }
}
/* Story pages: numbered steps and a soft highlighted band */
:is(.turkiye-page, .story-page) .tp-step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.2rem; height: 2.2rem; margin-bottom: 0.75rem;
    border-radius: 50%; background: var(--thm-color); color: #fff; font-weight: 700;
}
:is(.turkiye-page, .story-page) .tp-band {
    padding: 2rem; border-radius: 0; background: #fff; border: 1px solid #F1F1F1; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
}
:is(.turkiye-page, .story-page) .tp-band .tp-h2 { margin-bottom: 0.75rem; }
:is(.turkiye-page, .story-page) .tp-cta a:not(.tp-btn) { color: var(--thm-color); }
:is(.turkiye-page, .story-page) ul.companies { margin-top: 1rem; }
:is(.turkiye-page, .story-page) .tp-mail { display: inline-block; margin-top: 0.75rem; color: var(--thm-color); font-weight: 600; text-decoration: none; }
:is(.turkiye-page, .story-page) .tp-mail:hover { text-decoration: underline; }

/* Brands page: letter bar jumps to each letter's section */
html:has(.letter-nav) {
    scroll-behavior: smooth; /* only on the Brands page */
}

.letter-section {
    scroll-margin-top: 140px; /* keep the section title below the sticky menu */
}

.letter-nav .letter-empty {
    color: var(--thm-color-gray);
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    html:has(.letter-nav) { scroll-behavior: auto; }
}

/* Franchise page: logo cards (client/company/franchise.blade.php) */
.fr-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #F1F1F1;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fr-card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transform: translateY(-1px); }
.fr-head { display: flex; align-items: center; gap: 1rem; }
.fr-logo {
    flex: 0 0 88px; width: 88px; height: 88px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #EEF1F3; border-radius: 0.75rem; background: #fff; overflow: hidden;
}
.fr-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fr-name { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 700; }
.fr-name a { color: var(--thm-color-black); text-decoration: none; }
.fr-name a:hover { color: var(--thm-color); }
.fr-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.15rem 0.6rem; border-radius: 2rem;
    background: #EAF7EC; color: var(--thm-color-green); font-size: 0.78rem; font-weight: 600;
}
.fr-desc { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--thm-color-text); }
.fr-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.fr-tags a, .fr-more-tags {
    padding: 0.15rem 0.6rem; border: 1px solid #E3E7EA; border-radius: 2rem;
    color: var(--thm-color-title); font-size: 0.75rem; text-decoration: none;
}
.fr-tags a:hover { border-color: var(--thm-color); color: var(--thm-color); }
.fr-link { margin-top: auto; color: var(--thm-color); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.fr-link i { font-size: 0.75rem; margin-left: 0.25rem; }
.fr-link:hover { text-decoration: underline; }

/* "Franchising: Yes" under About (company page, pop-up): same grey as the About title */
.franchise-note {
    color: var(--thm-color-text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Red tick before "Offers franchising", same colour and size as the City icon */
.franchise-note i {
    color: var(--thm-color);
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Bottom of every page: sponsor and franchise mini cards (client/parts/prefooter) */
.prefooter-companies .pf-heading {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--thm-color-title);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.mini-card {
    height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 1rem 0.75rem;
    text-align: center; text-decoration: none;
}
.mini-logo {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mini-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-name { color: var(--thm-color-black); font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.mini-card:hover .mini-name { color: var(--thm-color); }
.mini-card .fr-badge { font-size: 0.7rem; }
.pf-more { color: var(--thm-color); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.pf-more i { font-size: 0.75rem; margin-left: 0.25rem; }
.pf-more:hover { text-decoration: underline; }

/* ==========================================================================
   One box style for the whole site, taken from the company list boxes:
   square corners, a thin light grey line, a very soft shadow, and a small
   lift on hover. Listed last so it wins over the older box rules above.
   ========================================================================== */
ul.companies > li,
:is(.turkiye-page, .story-page) :is(.tp-stat, .tp-reason),
.fr-card,
.mini-card,
.company-info-card,
.company-map-card,
.similar-company-card {
    background: #fff;
    border: 1px solid #F1F1F1;
    border-radius: 0;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ul.companies > li:hover,
:is(.turkiye-page, .story-page) :is(.tp-stat, .tp-reason):hover,
.fr-card:hover,
.mini-card:hover,
.company-info-card:hover,
.company-map-card:hover,
.similar-company-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Inner frames and panels follow the same square corners */
.fr-logo,
.company-logo-wrapper,
.location-display,
ul.companies > li figure,
ul.companies > li figure.logo-container,
:is(.turkiye-page, .story-page) :is(.tp-band, .tp-glance) {
    border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
    ul.companies > li:hover,
    :is(.turkiye-page, .story-page) :is(.tp-stat, .tp-reason):hover,
    .fr-card:hover, .mini-card:hover, .company-info-card:hover,
    .company-map-card:hover, .similar-company-card:hover { transform: none; }
}

/* Intro chips under page headings (Sectors, Cities): "most listed" shortcuts */
.intro-chips {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 0.5rem; max-width: 900px; margin: 0 auto;
}
/* Register form: example sectors under "Ne üretiyorsunuz?" */
.product-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 0.5rem; }
.product-examples-label { color: var(--thm-color-text); font-size: 0.8rem; margin-right: 0.15rem; }
.product-examples button.chip { cursor: pointer; }

/* Chips right under the "N manufacturers in …" line (city and sector pages) get some air */
.tp-lead + .intro-chips { margin-top: 1.25rem; }
.intro-chips-label {
    margin-right: 0.25rem;
    color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.intro-chips a {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem; border: 1px solid var(--thm-color); border-radius: 2rem;
    color: var(--thm-color); font-size: 0.88rem; text-decoration: none;
}
.intro-chips a span {
    padding: 0 0.45rem; border-radius: 1rem; background: #FDF1F3; font-size: 0.75rem; font-weight: 700;
}
.intro-chips a:hover { background: var(--thm-color); color: #fff; }
.intro-chips a:hover span { background: rgba(255, 255, 255, 0.25); }
.intro-chips a.intro-chip-map { border-color: var(--thm-color-green); color: var(--thm-color-green); }
.intro-chips a.intro-chip-map:hover { background: var(--thm-color-green); color: #fff; }

/* ==========================================================================
   One red "chip" style for every tag/shortcut box on the site (the style of the
   "Most manufacturers" boxes): thin red outline, red text, count in a small pink
   pill, fills red on hover. Buttons (Visit website, Register…) are not chips.
   ========================================================================== */
.chip,
.intro-chips a,
.home-area #tag-list li a,
.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--thm-color);
    border-radius: 2rem;
    background: #fff;
    color: var(--thm-color);
    font-size: 0.88rem;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.chip .chip-count,
.tag-list-count,
.tag-item .chip-count,
.intro-chips a span,
.home-area #tag-list li a .chip-count {
    padding: 0 0.45rem;
    border-radius: 1rem;
    background: #FDF1F3;
    color: var(--thm-color);
    font-size: 0.75rem;
    font-weight: 700;
}

.chip:hover,
.intro-chips a:hover,
.home-area #tag-list li a:hover,
.tag-item:hover {
    background: var(--thm-color);
    color: #fff;
}

.chip:hover .chip-count,
.tag-item:hover .chip-count,
.intro-chips a:hover span,
.home-area #tag-list li a:hover .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Smaller chips inside company boxes and the company pop-up */
.chip.chip-sm,
.tag-item {
    padding: 0.2rem 0.65rem;
    font-size: 0.78rem;
}

/* Spacing between chips that sit in inline lists */
.home-area #tag-list li { margin-bottom: 0.5rem; }
ul.companies > li a.chip { text-transform: none; color: var(--thm-color); }
ul.companies > li a.chip:hover { color: #fff; }
/* Pop-up tags sit inside an old ".prefooter .tags-area" wrapper; make them chips too */
#modal-tags a.chip { padding: 0.2rem 0.65rem; border: 1px solid var(--thm-color); border-radius: 2rem; background: #fff; color: var(--thm-color); font-size: 0.78rem; line-height: 1.3; }
#modal-tags a.chip:hover { background: var(--thm-color); border-color: var(--thm-color); color: #fff; }

/* Home tag cloud: "More" and the small "Less" side by side */
.more-actions { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.more-btn[hidden] { display: none; }
.more-btn.more-btn-small {
    padding: 0.3rem 0.8rem;
    font-size: 0.72rem;
    background-color: #fff;
    color: var(--thm-color);
}
.more-btn.more-btn-small:hover { background-color: var(--thm-color); color: #fff; }

/* Letter section titles (A, B, C…): black on both Brands and Franchise */
.letter-section > h2,
.letter-section > h3 {
    color: var(--thm-color-black);
}

/* Clickable logos (company page, pop-up) that open the company website */
.logo-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: pointer; }
.logo-link.disabled { pointer-events: none; cursor: default; }

/* Register Your Business form (client/page/register-business.blade.php) */
.form-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #F1F1F1;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
}
.form-card .form-section {
    margin: 1.75rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #F1F1F1;
    color: var(--thm-color-black);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.form-card .form-section:first-of-type { margin-top: 0; }
.form-card .form-label { color: var(--thm-color-black); font-weight: 600; font-size: 0.9rem; }
.form-card .form-control, .form-card .form-select { border-radius: 0; border-color: #E3E7EA; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--thm-color); box-shadow: 0 0 0 0.15rem rgba(237, 27, 56, 0.15); }
.form-card .req { color: var(--thm-color); }
.form-card .form-hint { color: var(--thm-color-title); font-size: 0.8rem; }
.form-card button.tp-btn { cursor: pointer; }
.form-done-icon { color: var(--thm-color-green); font-size: 2.5rem; margin-bottom: 0.75rem; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; inset-inline-start: 0; top: 0; opacity: 0; pointer-events: none; }
.form-steps { padding-left: 1.1rem; margin: 0; font-size: 0.92rem; }
.form-steps li { margin-bottom: 0.6rem; }
/* Register form: English translation shown next to / under the Turkish text */
.story-page .en { color: var(--thm-color-title); font-weight: 400; font-size: 0.85em; text-transform: none; letter-spacing: 0; }
.story-page .tp-lead-en { color: var(--thm-color-title); font-size: 0.9rem; max-width: 640px; margin: 0.5rem auto 0; }
.story-page .form-side .tp-reason { height: auto; }
.story-page .form-side .tp-mail { font-size: 1.05rem; }
.story-page .form-side .tp-mail .form-mail-icon { font-size: 0.95em; line-height: 1; vertical-align: -0.05em; }
.site-footer .footer-bottom .footer-login { color: inherit; text-decoration: none; opacity: 0.8; }
.site-footer .footer-bottom .footer-login:hover { opacity: 1; text-decoration: underline; }
.story-page .free-mark { color: var(--thm-color); }
/* Green chips: promises on the Register Your Business page (not links, so no hover) */
.chip.chip-green { border-color: var(--thm-color-green); color: var(--thm-color-green); }
.chip.chip-green:hover { background: var(--thm-color-green); border-color: var(--thm-color-green); color: #fff; cursor: default; }

/* News & Updates (client/blog): same square boxes as the Franchise cards */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #F1F1F1;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.news-img { display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden; border-bottom: 1px solid #F1F1F1; background: #fff; color: #D5DADE; font-size: 3rem; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.25rem; }
.news-title { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.news-title a { color: var(--thm-color-black); text-decoration: none; }
.news-title a:hover { color: var(--thm-color); }
.news-excerpt { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--thm-color-text); }

.story-page .news-article .tp-eyebrow a { color: inherit; text-decoration: none; }
.story-page .news-article .tp-eyebrow a:hover { text-decoration: underline; }
.story-page .news-article .tp-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.news-panel { max-width: 820px; margin: 0 auto; padding: 2rem; background: #fff; border: 1px solid #F1F1F1; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05); }
.news-hero { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto 1.75rem; }
.news-panel .blog-content { font-size: 1rem; line-height: 1.7; color: var(--thm-color-text); }
.news-panel .blog-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.15rem; font-weight: 700; color: var(--thm-color-black); }
.news-panel .blog-content ul { padding-left: 1.2rem; }
.news-panel .blog-content li { margin-bottom: 0.4rem; }
.news-panel .blog-content .lead { font-size: 1.1rem; color: var(--thm-color-black); }
.news-panel .blog-content hr { margin: 2rem 0 1rem; border-color: #F1F1F1; opacity: 1; }
.news-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #F1F1F1; }
.news-share { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--thm-color-title); }
@media (max-width: 575.98px) { .news-panel { padding: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .news-card:hover { transform: none; } }

/* Top menu: on the page you are on, its arrow points down */
header.client .nav-link .fa-arrow-right { transition: transform 0.2s ease; }
header.client .nav-link.active .fa-arrow-right { transform: rotate(90deg); }

/* ==========================================================================
   Phones and tablets only. Nothing here changes the desktop design.
   ========================================================================== */

/* Menu (below 992px the menu folds into the ☰ button) */
@media (max-width: 991.98px) {
    header.client .navbar-brand img { height: 38px; }
    header.client .navbar-toggler { border: 1px solid #E3E7EA; padding: 0.35rem 0.6rem; }
    header.client .navbar-toggler:focus { box-shadow: 0 0 0 0.15rem rgba(237, 27, 56, 0.15); }

    header.client .navbar-collapse { max-height: calc(100vh - 76px); overflow-y: auto; }
    header.client .navbar-collapse.show,
    header.client .navbar-collapse.collapsing { display: flex; flex-direction: column; }

    /* Search first, full width; 16px text stops iPhones from zooming in */
    header.client .navbar-collapse form { order: -1; margin: 0.5rem 0 0.25rem; }
    header.client .navbar-collapse form .form-control { font-size: 16px; }

    header.client .navbar-nav { width: 100%; margin: 0 !important; }
    header.client .navbar-nav .nav-link {
        display: flex; align-items: center; gap: 0.5rem;
        padding: 0.8rem 0.25rem;
        border-bottom: 1px solid #F1F1F1;
        font-size: 1.05rem; font-weight: 600;
        color: var(--thm-color-black);
    }
    header.client .navbar-nav .nav-link .fa-arrow-right { margin-left: auto; color: var(--thm-color); }
    header.client .navbar-nav .nav-link.active { color: var(--thm-color); }
    header.client .navbar-nav.mobile-extra .nav-link { font-size: 0.95rem; font-weight: 500; color: var(--thm-color-title); }
    header.client .navbar-nav.mobile-extra .nav-link.active { color: var(--thm-color); }

    .mobile-register {
        display: block; margin: 1rem 0 0.75rem; padding: 0.7rem 1rem;
        border-radius: 2rem; background: var(--thm-color); color: #fff;
        text-align: center; font-weight: 600; text-decoration: none;
    }
    .mobile-register:hover { color: #fff; }

    /* Back to top */
    .to-top {
        position: fixed; right: 16px; bottom: 16px; z-index: 1030;
        width: 44px; height: 44px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        background: #fff; color: var(--thm-color);
        border: 1px solid #F1F1F1; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    .to-top[hidden] { display: none; }
}

/* Phones */
@media (max-width: 767.98px) {
    /* Less empty space at the top of pages */
    .story-page > .container.py-5,
    .story-page > article.container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 1.75rem !important; padding-bottom: 2rem !important; }
    :is(.turkiye-page, .story-page) .tp-intro { margin-bottom: 1.75rem; }
    :is(.turkiye-page, .story-page) .tp-lead { font-size: 1rem; }
    .company-detail-page .company-header { margin-bottom: 2rem !important; }

    /* Long A-Z lists: two columns instead of three, long names wrap instead of running off the screen */
    .three-columns { column-count: 2; column-gap: 1.25rem; }
    .three-columns li { overflow-wrap: anywhere; margin-bottom: 0.35rem; break-inside: avoid; }

    /* Bootstrap's widest gutter is wider than the phone's side padding */
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }

    /* Boxes: a little less inner space */
    .form-card, .news-panel { padding: 1.25rem; }

    /* Türkiye map, upright: west at the top, east at the bottom, so it fills the screen width */
    .map-hint { margin: 1.5rem 0 0.5rem; text-align: center; color: var(--thm-color-title); font-size: 0.9rem; }
    .map-hint i { color: var(--thm-color); margin-right: 0.25rem; }
    #map { container-type: inline-size; margin-top: 0.5rem !important; }
    #map .container-turkiye-haritasi { position: relative; height: 236cqw; padding: 0; overflow: hidden; }
    #map .container-turkiye-haritasi svg#svg-turkiye-haritasi {
        position: absolute; top: 50%; left: 50%;
        width: 236cqw; height: 100cqw; min-width: 0; max-width: none;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}
@media (max-width: 991.98px) {
    header.client .navbar-collapse form { width: 100%; }
    header.client .navbar-collapse form .form-control { flex: 1 1 auto; width: auto; }
}
@media (max-width: 991.98px) {
    header.client .navbar-collapse { align-items: stretch; }
    header.client .navbar-nav { gap: 0; }
    header.client .navbar-nav .nav-link { padding: 0.7rem 0.25rem; }
    header.client .navbar-nav.mobile-extra .nav-link { padding: 0.6rem 0.25rem; }
}

/* Phones: text about 10% larger (16px -> 17.6px, close to the usual 16-18px for phone reading).
   Most sizes on the site are in rem, so they all grow together and keep their proportions. */
@media (max-width: 767.98px) {
    html { font-size: 110%; }

    /* A-Z letter bar (Brands, Franchise): bigger letters, easier to tap */
    ul.link-letters { padding: 0.6rem 0.5rem; line-height: 2.1; }
    ul.link-letters li a,
    ul.link-letters li .letter-empty { display: inline-block; min-width: 1.6rem; font-size: 1.15rem; text-align: center; }
    ul.link-letters li::after { margin: 0 2px; }
}
/* Home tag cloud: phones and tablets start with fewer tags (the script shows more with "More").
   These rules only stop a flash of 50 tags before the script runs. */
@media (max-width: 767.98px) { #tag-list > li:nth-child(n+21) { display: none; } }
@media (min-width: 768px) and (max-width: 991.98px) { #tag-list > li:nth-child(n+37) { display: none; } }

/* Upright Türkiye map on phones AND on tablets held upright (portrait).
   Its width is capped (42% of the screen height) so the whole map fits on one screen. */
.map-hint { display: none; }
@media (max-width: 767.98px), (orientation: portrait) and (max-width: 1199.98px) {
    .map-hint { display: block; margin: 1.5rem 0 0.5rem; text-align: center; color: var(--thm-color-title); font-size: 0.9rem; }
    .map-hint i { color: var(--thm-color); margin-right: 0.25rem; }
    #map { container-type: inline-size; margin-top: 0.5rem !important; }
    #map .container-turkiye-haritasi {
        --map-w: min(100cqw, 42vh);
        position: relative; width: var(--map-w); height: calc(var(--map-w) * 2.36);
        margin: 0 auto; padding: 0; overflow: hidden;
    }
    #map .container-turkiye-haritasi svg#svg-turkiye-haritasi {
        position: absolute; top: 50%; left: 50%;
        width: calc(var(--map-w) * 2.36); height: var(--map-w); min-width: 0; max-width: none;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    /* The badges stay upright (turned back) and a little bigger for fingers and small screens */
    #svg-turkiye-haritasi .city-label-inner { transform-box: fill-box; transform-origin: center; transform: rotate(-90deg) scale(1.35); }
}

/* Tablets (768-1199px): text slightly larger (16px -> 17px) for reading at arm's length */
@media (min-width: 768px) and (max-width: 1199.98px) and (hover: none) {
    html { font-size: 106.25%; }
}

/* ==========================================================================
   Search: instant suggestions dropdown (public/js/search-suggest.js)
   ========================================================================== */
.search-suggest-host { position: relative; }
.search-suggest {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 1050;
    width: max(100%, 340px); max-height: min(70vh, 480px); overflow-y: auto;
    padding: 0.35rem 0; background: #fff; text-align: left;
    border: 1px solid #F1F1F1; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
header.client .search-suggest { right: 0; left: auto; }
.search-suggest .ss-group {
    padding: 0.55rem 1rem 0.25rem; color: var(--thm-color-title);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.search-suggest .ss-item {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem;
    color: var(--thm-color-black); text-decoration: none; font-size: 0.92rem; line-height: 1.3;
}
.search-suggest .ss-item:hover, .search-suggest .ss-item.is-active { background: #F7F8F9; }
.search-suggest .ss-name { flex: 1; min-width: 0; }
.search-suggest mark { padding: 0; background: none; color: var(--thm-color); font-weight: 600; }
.search-suggest .ss-logo {
    flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #EEF1F3; background: #fff; overflow: hidden; color: #C9D0D5;
}
.search-suggest .ss-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.search-suggest .ss-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search-suggest .ss-sub { color: var(--thm-color-title); font-size: 0.78rem; }
.search-suggest .ss-tick { color: var(--thm-color-green); font-size: 0.8em; }
.search-suggest .ss-pin { color: var(--thm-color); margin-right: 0.4rem; font-size: 0.85em; }
.search-suggest .chip-count { flex: 0 0 auto; }
.search-suggest .ss-all { margin-top: 0.25rem; border-top: 1px solid #F1F1F1; color: var(--thm-color); font-weight: 600; justify-content: center; }
.search-suggest .ss-all i { font-size: 0.75rem; }
.search-suggest .ss-empty { padding: 0.75rem 1rem; color: var(--thm-color-title); font-size: 0.9rem; }
.search-suggest .ss-empty a { color: var(--thm-color); font-weight: 600; }

/* Search results page */
.search-page-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 1.25rem auto 0; }
.search-page-form .form-control { border-radius: 2rem; padding: 0.6rem 1.1rem; font-size: 1rem; border-color: #E3E7EA; }
.search-page-form .form-control:focus { border-color: var(--thm-color); box-shadow: 0 0 0 0.15rem rgba(237, 27, 56, 0.15); }
.search-page-form .tp-btn { margin: 0; cursor: pointer; }
.search-section { margin-bottom: 2.5rem; scroll-margin-top: 100px; }
.search-heading { margin-bottom: 0.85rem; color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.search-empty { max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem; background: #fff; border: 1px solid #F1F1F1; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05); }
.search-empty .search-dym { font-size: 1.1rem; }
.search-empty .search-dym a { color: var(--thm-color); font-weight: 700; }

/* Phones/tablets: magnifier next to the menu button */
.mobile-search-btn {
    width: 42px; height: 42px; margin-right: 0.5rem; border: 1px solid #E3E7EA; border-radius: 0.375rem;
    background: #fff; color: var(--thm-color-black); font-size: 1.05rem;
}
.mobile-search-btn:focus-visible { outline: 2px solid var(--thm-color); outline-offset: 2px; }
@media (max-width: 991.98px) {
    header.client .search-suggest { position: static; width: 100%; max-height: none; margin-top: 0.4rem; box-shadow: none; }
}
@media (max-width: 575.98px) {
    .search-page-form .form-control { font-size: 16px; }
}
header.client form.search-suggest-host { overflow: visible; }
@media (max-width: 991.98px) {
    header.client form.search-suggest-host { flex-wrap: wrap; align-items: center; }
    header.client form.search-suggest-host .search-suggest { flex: 0 0 100%; order: 3; }
}
/* Header search: room on the right for the magnifier, so the browser's clear (×) button sits beside it, not under it */
header form[role=search] input { padding-right: 3.4rem; }
header form[role=search] input::-webkit-search-cancel-button { cursor: pointer; margin-left: 0.25rem; }

/* ==========================================================================
   Exploring: breadcrumb, related sectors / cities, timeline, small helpers
   ========================================================================== */
.breadcrumb-trail { margin: 0 0 1.25rem; font-size: 0.82rem; }
.breadcrumb-trail ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb-trail li { display: inline-flex; align-items: center; color: var(--thm-color-title); }
.breadcrumb-trail li + li::before { content: "›"; margin: 0 0.5rem; color: #C3CBD0; }
.breadcrumb-trail a { color: var(--thm-color-title); text-decoration: none; }
.breadcrumb-trail a:hover { color: var(--thm-color); }
.breadcrumb-trail [aria-current] { color: var(--thm-color-black); }

.explore-band { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #F1F1F1; }
.explore-heading { margin-bottom: 0.35rem; color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.explore-sub { margin-bottom: 1rem; color: var(--thm-color-title); font-size: 0.9rem; }

/* The selected city chip on a sector page */
.chip.chip-active { background: var(--thm-color); color: #fff; }
.chip.chip-active .chip-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.chip.chip-map { border-color: var(--thm-color-green); color: var(--thm-color-green); }
.chip.chip-map:hover { background: var(--thm-color-green); color: #fff; }

/* Cities list: cities without manufacturers yet */
.three-columns a.city-empty { color: #B8C1C7 !important; }
.three-columns a.city-empty:hover { color: var(--thm-color) !important; }

/* Company page: "3 shared sectors" under a similar company */
.similar-company-card .card-shared { margin-top: 0.25rem; color: var(--thm-color); font-size: 0.75rem; }

/* News: previous / next post */
.news-timeline { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #F1F1F1; }
.news-tl { display: flex; flex-direction: column; gap: 0.2rem; max-width: 48%; text-decoration: none; }
.news-tl-next { margin-left: auto; text-align: right; }
.news-tl-label { color: var(--thm-color); font-size: 0.8rem; font-weight: 700; }
.news-tl-title { color: var(--thm-color-black); font-size: 0.92rem; line-height: 1.35; }
.news-tl:hover .news-tl-title { color: var(--thm-color); }
@media (max-width: 575.98px) {
    .news-timeline { flex-direction: column; }
    .news-tl { max-width: 100%; }
}

/* Company boxes (tag, city and search pages): name under the logo, a narrow label column,
   and two boxes side by side on wide screens */
ul.companies > li .company-id { flex: 0 0 112px; width: 112px; margin-right: 1rem; text-align: center; }
ul.companies > li .company-id figure.logo-container { width: 100px; height: 100px; margin: 0 auto !important; }
ul.companies > li .company-name { margin: 0.55rem 0 0; font-size: 0.82rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
ul.companies > li .company-name a { font-size: inherit; }
ul.companies > li .company-name .badge { display: inline-block; margin-top: 0.25rem; font-size: 0.65rem; }
ul.companies > li .company-facts { min-width: 0; }
ul.companies > li th.cl-label { width: 74px; padding-left: 0; white-space: nowrap; font-size: 0.85rem; }
ul.companies > li th.cl-label-top { vertical-align: top; padding-top: 0.45rem; }
@media (min-width: 1200px) {
    ul.companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    ul.companies > li { margin-bottom: 0; }
}
/* Phones and small tablets: logo on the left with name, city and website next to it,
   and the sectors below across the full width (no empty space under the logo) */
@media (max-width: 767.98px) {
    ul.companies > li .company-row { display: grid !important; /* beats bootstrap d-flex */ grid-template-columns: 84px minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.3rem; align-items: start; }
    ul.companies > li .company-id,
    ul.companies > li .company-facts,
    ul.companies > li .company-detail,
    ul.companies > li .company-detail tbody,
    ul.companies > li .company-detail tr { display: contents; }
    ul.companies > li .company-id figure.logo-container { grid-column: 1; grid-row: 1 / span 3; width: 84px; height: 84px; margin: 0 !important; }
    ul.companies > li .company-name { grid-column: 2; grid-row: 1; margin: 0.1rem 0 0; text-align: left; font-size: 1rem; }
    ul.companies > li .company-detail th { display: none; }
    ul.companies > li .company-detail td { display: block; padding: 0; }
    ul.companies > li .company-detail tr:nth-child(2) td { grid-column: 2; grid-row: 2; font-size: 0.85rem; }
    ul.companies > li .company-detail tr:nth-child(2) td a::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--thm-color); margin-right: 0.35rem; font-size: 0.8rem; }
    ul.companies > li .company-detail tr:nth-child(1) td { grid-column: 2; grid-row: 3; align-self: end; }
    ul.companies > li .company-detail tr:nth-child(3) td { grid-column: 1 / -1; grid-row: 4; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid #F1F1F1; }
}
.news-panel .blog-content .news-photo-credit a { color: inherit; text-decoration: underline; text-decoration-color: #C3CBD0; }
/* Company card: More / Less under a long sector list */
/* Quiet text link: red "MORE" with a small arrow, no box, lined up with the chips next to it */
.card-tags .card-more { margin: 0 0 0.25rem 0.15rem; padding: 0.24rem 0.2rem; border: 0; border-radius: 0; background: none; color: var(--thm-color); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; vertical-align: top; gap: 0.3rem; }
.card-tags .card-more i { font-size: 0.6rem; transition: transform 0.2s ease; }
.card-tags .card-more:hover, .card-tags .card-more:focus-visible { background: none; color: var(--thm-color); text-decoration: underline; text-underline-offset: 3px; }
.card-tags .card-more:hover i { transform: translateY(1px); }
.card-tags .card-more[hidden] { display: none; }

/* Company count next to each sector on the /tag list: pink pill, no border */
.tag-list-count { display: inline-block; margin-left: 0.2rem; line-height: 1.5; border: 0; }
/* MORE / LESS under the /tag list (same look as the card MORE link) */
.three-columns .tag-extra[hidden] { display: none; }
.tag-list-more { padding: 0.3rem 0.4rem; border: 0; background: none; color: var(--thm-color); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; }
.tag-list-more i { font-size: 0.65rem; margin-left: 0.2rem; transition: transform 0.2s ease; }
.tag-list-more[aria-expanded="true"] i { transform: rotate(180deg); }
.tag-list-more:hover, .tag-list-more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* Small red badge with a white hand-holding-heart icon before the footer contact note */
.site-footer .footer-small { display: flex; align-items: center; gap: 0.45rem; }
.site-footer .footer-heart { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.1rem; background: none; color: #fff; }
.site-footer .footer-heart i { margin: 0; font-size: 1.1rem; color: #fff; }
/* Wide reason card on the Türkiye page (icon left, text right; stacks on phones) */
:is(.turkiye-page, .story-page) .tp-reason-wide { display: flex; align-items: flex-start; gap: 1rem; }
:is(.turkiye-page, .story-page) .tp-reason-wide i { margin: 0.15rem 0 0; flex: 0 0 auto; }
@media (max-width: 575.98px) { :is(.turkiye-page, .story-page) .tp-reason-wide { display: block; } :is(.turkiye-page, .story-page) .tp-reason-wide i { margin-bottom: 0.75rem; } }
/* /city list: cities side by side like the brands list, with pink count pills */
.city-inline-list { line-height: 2.2; }
.city-inline-list .city-empty .tag-list-count { opacity: 0.6; }
/* Newsletter sign-up messages (footer form) */
.register-area .newsletter-done { font-weight: 700; }
.register-area .newsletter-done i { margin-right: 0.35rem; }
.register-area .newsletter-error { font-size: 0.85rem; }
/* Register page reassurance boxes: solid green with white text, with air above and below */
.trust-chips { margin-top: 1.5rem; margin-bottom: 2.25rem; }
.trust-chips .chip.chip-green,
.trust-chips .chip.chip-green:hover { background: var(--thm-color-green); border-color: var(--thm-color-green); color: #fff; font-weight: 600; padding: 0.35rem 0.95rem; line-height: 1.3; }

/* Footer: bold "Register Your Business" with a thin Turkish note under it */
.site-footer .footer-links .footer-register a { font-weight: 700; }
.site-footer .footer-register-tr { display: block; margin-top: 0.25rem; font-size: 0.8rem; font-weight: 300; line-height: 1.4; color: rgba(255, 255, 255, 0.8); }

/* Company page: sample product photos in small round frames with a thin red border
   (same style as the sector chips). The row slides when there are more photos than fit. */
.product-stories { margin-bottom: 1.5rem; }
.product-stories h5 { color: var(--thm-color-text); }
.product-stories-lead { margin: 0 0 0.9rem; font-size: 0.85rem; color: var(--thm-color-title); }
.product-stories-track {
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; scrollbar-width: none;
    outline: none;
}
.product-stories-track.can-slide {
    cursor: grab;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
            mask-image: linear-gradient(to right, #000 88%, transparent);
}
.product-stories-track::-webkit-scrollbar { display: none; }
.product-stories-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.product-stories-list { display: flex; flex-wrap: nowrap; gap: 1rem; padding: 2px 1.5rem 2px 2px; }
.product-story { flex: 0 0 76px; width: 76px; text-align: center; scroll-snap-align: start; }
.product-story-ring {
    display: block; width: 72px; height: 72px; margin: 0 auto; padding: 3px;
    border: 1px solid var(--thm-color); border-radius: 50%; background: #fff;
}
.product-story-ring img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; pointer-events: none; }
.product-story-label {
    display: block; margin-top: 0.35rem; font-size: 0.72rem; line-height: 1.2; color: var(--thm-color-text);
    overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-stories-more { margin: 0.9rem 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--thm-color-title); }
.product-stories-more a { color: var(--thm-color); font-weight: 600; text-decoration: none; }
.product-stories-more a:hover { text-decoration: underline; }
.product-stories-more a i { font-size: 0.7rem; margin-left: 0.15rem; }
@media (max-width: 575.98px) {
    .product-stories-list { gap: 0.75rem; }
    .product-story { flex-basis: 66px; width: 66px; }
    .product-story-ring { width: 62px; height: 62px; }
}

/* Company page: short certificate names ("ISO 9001", "TSE") as small chips */
.company-certs { margin-bottom: 1.5rem; }
.company-certs h5 { color: var(--thm-color-text); }
.company-certs-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.company-cert {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.3rem 0.8rem; border: 1px solid #c9d0d5; border-radius: 20px;
    background: #fff; color: var(--thm-color-text); font-size: 0.85rem; font-weight: 600; line-height: 1.3;
}
.company-cert i { color: var(--thm-color-title); font-size: 0.8rem; }
.company-certs-more { margin: 0.6rem 0 0; font-size: 0.75rem; line-height: 1.45; color: var(--thm-color-title); }
.company-certs-more a { color: var(--thm-color); font-weight: 600; text-decoration: none; }
.company-certs-more a:hover { text-decoration: underline; }
.company-certs-more a i { font-size: 0.7rem; margin-left: 0.15rem; }

/* Company page: short "About <city>" under the location card */
.city-about { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.city-about h5 { color: var(--thm-color-text); }
.city-about p { margin-bottom: 0.6rem; font-size: 0.92rem; line-height: 1.65; color: var(--thm-color-black); }
.city-about-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--thm-color); text-decoration: none; }
.city-about-link:hover { text-decoration: underline; }

/* Company pop-up: certificates, sample products and "About <city>" in one left-aligned block */
.modal-extras { max-width: 560px; margin: 1rem auto 1.25rem; padding: 1rem 0 1.1rem; border-top: 1px solid #eee; border-bottom: 1px solid #eee; text-align: left; }
.modal-extras .product-stories-more { margin-bottom: 0; }
.modal-extras .company-certs, .modal-extras .product-stories { margin-bottom: 1.1rem; }
.modal-extras .city-about { margin-top: 0; padding-top: 0; border-top: 0; }
.modal-extras h5 { font-size: 1rem; }
.modal-extras .product-stories-more { margin-top: 0.25rem; }

/* Company pop-up: "About <city>" button next to the city; the text opens below on click */
.city-about-toggle { cursor: pointer; font: inherit; font-size: 0.9rem; line-height: 1.25; vertical-align: baseline; }
.city-about-toggle .city-about-chevron { font-size: 0.7rem; transition: transform 0.2s; }
.city-about-toggle[aria-expanded="true"] .city-about-chevron { transform: rotate(180deg); }

/* City page: folded "About <city>" under the intro */
.city-page-about { max-width: 640px; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; border: 1px solid #eee; border-radius: 12px; background: #fff; text-align: left; }
.city-page-about p:last-child { margin-bottom: 0; }

/* Brands page: "Recently added" small logo cards in a sliding row */
.recent-strip { max-width: 1000px; margin: 0 auto; }
.recent-strip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.recent-strip-nav { display: flex; gap: 0.4rem; }
.recent-strip-btn { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 1; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: var(--thm-color-text); cursor: pointer; }
.recent-strip-btn i { display: block; line-height: 1; }
.recent-strip-btn:hover { border-color: var(--thm-color); color: var(--thm-color); }
.recent-strip-track { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.recent-strip-track::-webkit-scrollbar { display: none; }
.recent-strip-track li { flex: 0 0 calc((100% - 5 * 0.75rem) / 6); scroll-snap-align: start; }
.recent-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 0.75rem 0.5rem; border: 1px solid #eee; border-radius: 12px; background: #fff; text-align: center; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.recent-card:hover { border-color: var(--thm-color); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
.recent-card-logo { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.recent-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.recent-card-name { font-size: 0.8rem; font-weight: 600; line-height: 1.25; color: var(--thm-color-black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-card-city { margin-top: 0.15rem; font-size: 0.72rem; color: var(--thm-color-title); }
@media (max-width: 991.98px) { .recent-strip-track li { flex-basis: calc((100% - 3 * 0.75rem) / 4); } }
@media (max-width: 575.98px) { .recent-strip-track li { flex-basis: calc((100% - 1.5 * 0.75rem) / 2.5); } .recent-strip-nav { display: none; } }

/* Quiet company cards: sharp corners, thin grey border, very light hover and shadow
   (Recently added, Our sponsors, Similar companies / More from the city) */
.recent-card, .mini-card, .similar-company-card {
    border: 1px solid #e6e6e6; border-radius: 0; background: #fff;
    box-shadow: none; transform: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.recent-card:hover, .mini-card:hover, .similar-company-card:hover {
    border-color: #cfcfcf; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); transform: none;
}
/* Recently added: centred heading, arrows on the right */
.recent-strip-head { position: relative; justify-content: center; }
.recent-strip-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

/* Admin: company edit form, split into tidy cards */
.admin-company-form .card, #sertifikalar, #urun-fotograflari { border: 1px solid #e6e6e6; border-radius: 6px; box-shadow: none; }
.admin-form-section { margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid #f0f0f0; color: var(--thm-color-text); font-weight: 600; }
.admin-company-form .form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.admin-company-form label[for=logo] { min-height: 80px; color: var(--thm-color-title); font-size: 0.9rem; text-align: center; padding: 0.75rem; }
.admin-company-form label[for=logo]:hover { border-color: var(--thm-color); color: var(--thm-color); }
.admin-logo-preview { width: 110px; height: 110px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; padding: 4px; }
.admin-company-form .selected-tags .tag { background: #6c757d; padding: 2px 4px 2px 10px; border-radius: 14px; }
.admin-company-form .remove-tag { color: #fff; font-size: 1rem; line-height: 1; padding: 0 4px; }
.admin-form-actions { position: sticky; bottom: 0; z-index: 5; margin-bottom: 1.5rem; padding: 0.75rem 0; background: linear-gradient(to top, #fff 75%, rgba(255, 255, 255, 0)); }

/* ===== Admin panel (scoped to .admin-body so the public site is not affected) ===== */
.admin-body { background: #fafbfc; }
.admin-body header { margin-bottom: 0; background: #fff; border-bottom: 1px solid #e6e6e6; }
.admin-body .admin-nav { gap: 0.1rem; align-items: center; }
.admin-body .admin-nav .nav-link { font-size: 0.9rem; padding: 0.45rem 0.6rem; border-radius: 6px; display: flex; align-items: center; gap: 0.4rem; }
.admin-body .admin-nav .nav-link i { font-size: 0.85rem; margin: 0; width: 1rem; text-align: center; color: var(--thm-color-title); }
.admin-body .admin-nav .nav-link:hover i, .admin-body .admin-nav .nav-link.active i { color: var(--thm-color); }
.admin-body .admin-nav .nav-link.active { background: #fff1f3; }
/* rarely used items: grey, small divider before the first one */
.admin-body .admin-nav-muted .nav-link { color: #a3adb4; font-weight: 400; }
.admin-body .admin-nav-muted .nav-link i { color: #c3cbd0; }
.admin-body .admin-nav-muted .nav-link:hover { color: var(--thm-color-text); }
@media (min-width: 1200px) {
    .admin-body .admin-nav .dropdown + .admin-nav-muted { margin-left: 0.5rem; padding-left: 0.5rem; border-left: 1px solid #e6e6e6; }
}
@media (max-width: 1199.98px) {
    .admin-body .admin-nav { align-items: stretch; padding: 0.5rem 0; }
    .admin-body .admin-nav .dropdown + .admin-nav-muted { margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid #f0f0f0; }
}

/* grey band under the menu: "YÖNETİCİ EKRANI" */
.admin-band { background: #f3f5f6; border-bottom: 1px solid #e6e6e6; padding: 0.5rem 0; margin-bottom: 1.5rem; }
.admin-band-title { color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-band-title i { color: var(--thm-color); margin-right: 0.3rem; }
.admin-band-meta { color: var(--thm-color-title); font-size: 0.8rem; }
.admin-band-meta a { color: var(--thm-color-title); text-decoration: none; }
.admin-band-meta a:hover { color: var(--thm-color); }

/* page titles: the developer's <h1 class="h5"> headings get the site's look */
.admin-main h1, .admin-page-head h1 { font-size: 1.35rem; font-weight: 600; color: var(--thm-color-black); margin-bottom: 0.25rem; padding-left: 0.65rem; border-left: 3px solid var(--thm-color); line-height: 1.3; }
.admin-page-head { margin-bottom: 1.25rem; }
.admin-page-head p { color: var(--thm-color-title); font-size: 0.9rem; margin: 0; padding-left: 0.65rem; }

/* cards, tables, buttons on every admin page */
.admin-main .card, .admin-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; box-shadow: none; }
.admin-card { padding: 1rem 1.1rem; }
.admin-card-title { display: flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; font-weight: 600; color: var(--thm-color-text); margin: 0 0 0.75rem; }
.admin-card-title i { color: var(--thm-color); font-size: 0.9rem; }
.admin-card-title small { color: var(--thm-color-title); font-weight: 400; font-size: 0.8rem; }
.admin-card-link { margin-left: auto; font-size: 0.8rem; font-weight: 500; color: var(--thm-color-title); text-decoration: none; }
.admin-card-link:hover { color: var(--thm-color); }
.admin-main .table { background: #fff; font-size: 0.9rem; }
.admin-main .table > thead th { color: var(--thm-color-title); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-bottom-width: 1px; white-space: nowrap; }
.admin-main .table-responsive, .admin-main .dt-container { background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; padding: 0.5rem; }
.admin-main .btn { border-radius: 6px; }
.admin-main .btn-outline-secondary { border-color: #d5dbdf; color: var(--thm-color-text); }
.admin-main .btn-outline-secondary:hover { background: #f3f5f6; color: var(--thm-color); border-color: #c9d0d5; }
.admin-main .alert { border-radius: 6px; }

/* dashboard tiles */
.admin-stat { display: flex; flex-direction: column; gap: 0.15rem; height: 100%; padding: 0.9rem 1rem; background: #fff; border: 1px solid #e6e6e6; border-radius: 6px; text-decoration: none; }
.admin-stat i { color: var(--thm-color-title); font-size: 1rem; margin-bottom: 0.35rem; }
.admin-stat-value { color: var(--thm-color-black); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.admin-stat-label { color: var(--thm-color-title); font-size: 0.8rem; }
.admin-stat:hover { border-color: #d5dbdf; }
.admin-stat:hover i { color: var(--thm-color); }
.admin-stat.is-alert { border-color: var(--thm-color); }
.admin-stat.is-alert i, .admin-stat.is-alert .admin-stat-value { color: var(--thm-color); }
.admin-chart { min-height: 280px; }

/* small lists (latest companies / applications) */
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid #f2f2f2; }
.admin-list li:first-child { border-top: 0; }
.admin-list img { width: 40px; height: 40px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; background: #fff; flex-shrink: 0; }
.admin-list-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.admin-list-main a, .admin-list-main strong { color: var(--thm-color-black); font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-list-main a:hover { color: var(--thm-color); }
.admin-list-main small { color: var(--thm-color-title); font-size: 0.78rem; }
.admin-list-action { color: var(--thm-color-title); padding: 0.25rem 0.4rem; }
.admin-list-action:hover { color: var(--thm-color); }
.admin-pill { background: #fff1f3; color: var(--thm-color); font-size: 0.72rem; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 10px; }
.admin-empty { color: var(--thm-color-title); font-size: 0.85rem; margin: 0; }

@media (max-width: 575.98px) {
    .admin-band { margin-bottom: 1rem; }
    .admin-main h1, .admin-page-head h1 { font-size: 1.15rem; }
    .admin-stat-value { font-size: 1.35rem; }
}
.admin-body .admin-dropdown-muted .dropdown-item { display: flex; align-items: center; gap: 0.5rem; color: #8a959c; font-size: 0.88rem; }
.admin-body .admin-dropdown-muted .dropdown-item i { width: 1rem; text-align: center; color: #c3cbd0; }
.admin-body .admin-dropdown-muted .dropdown-item:hover { color: var(--thm-color-text); background: #f3f5f6; }
.admin-body .admin-nav .dropdown-menu { border: 1px solid #e6e6e6; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
/* application status badges (admin > Başvurular) */
.admin-status { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 10px; background: #f3f5f6; color: var(--thm-color-title); }
.admin-status-new { background: #fff1f3; color: var(--thm-color); }
.admin-status-added { background: #eaf7ec; color: #2e8b3e; }
.admin-status-rejected { background: #f3f5f6; color: #a3adb4; text-decoration: line-through; }

/* ===== Admin refinements ===== */
/* calm panel: no sliding/fading on load (the site's global 0.5s transition is switched off here) */
.admin-body *, .admin-body *::before, .admin-body *::after { transition: none !important; animation: none !important; }
.admin-body a, .admin-body .btn, .admin-body .nav-link { transition: color .12s, background-color .12s, border-color .12s !important; }

/* menu: icon and text tightly paired, even spacing between items */
.admin-body .admin-nav { gap: 0.15rem; }
.admin-body .admin-nav .nav-link { gap: 0.35rem; padding: 0.4rem 0.65rem; font-size: 0.88rem; line-height: 1.2; }
.admin-body .admin-nav .nav-link i { font-size: 0.8rem; width: auto; margin: 0; }
.admin-body .admin-nav .dropdown-toggle::after { margin-left: 0.15rem; vertical-align: 0.15em; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .admin-body .admin-nav .nav-link { padding: 0.4rem 0.45rem; font-size: 0.84rem; }
}

/* compact list (latest 20 companies): 1 column on phone, 2 on tablet, 4 on desktop */
.admin-mini-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 1.25rem; }
@media (min-width: 576px) { .admin-mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .admin-mini-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.admin-mini-list li { display: flex; align-items: center; gap: 0.5rem; min-width: 0; padding: 0.3rem 0; border-bottom: 1px solid #f3f3f3; font-size: 0.85rem; }
.admin-mini-list img { width: 24px; height: 24px; object-fit: contain; border: 1px solid #eee; border-radius: 3px; background: #fff; flex-shrink: 0; }
.admin-mini-list a { color: var(--thm-color-black); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.admin-mini-list a:hover { color: var(--thm-color); }
.admin-mini-list small { margin-left: auto; padding-left: 0.4rem; color: var(--thm-color-title); font-size: 0.75rem; white-space: nowrap; }
.admin-mini-list.is-text { grid-template-columns: 1fr; }
@media (min-width: 768px) { .admin-mini-list.is-text { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* top cities / sectors as clickable bar rows */
.admin-bars { list-style: none; margin: 0; padding: 0; }
.admin-bars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 2.6rem; align-items: center; gap: 0.6rem; padding: 0.28rem 0; font-size: 0.85rem; }
.admin-bars a { color: var(--thm-color-text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-bars a:hover { color: var(--thm-color); text-decoration: underline; }
.admin-bar { display: block; height: 8px; background: #f3f5f6; border-radius: 4px; overflow: hidden; }
.admin-bar span { display: block; height: 100%; background: var(--thm-color); border-radius: 4px; }
.admin-bars.is-grey .admin-bar span { background: #9aa5ad; }
.admin-bar-value { text-align: right; color: var(--thm-color-title); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.admin-chart { min-height: 260px; }

/* companies table: small logo, short url, short description */
.admin-table-name { display: flex; align-items: center; gap: 0.55rem; }
.admin-table-name a { color: var(--thm-color-black); font-weight: 500; text-decoration: none; }
.admin-table-name a:hover { color: var(--thm-color); }
.admin-table-logo { width: 32px; height: 32px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; background: #fff; flex-shrink: 0; display: inline-block; }
.admin-table-url { color: var(--thm-color-title); font-size: 0.82rem; text-decoration: none; word-break: break-all; }
.admin-table-url:hover { color: var(--thm-color); }
.admin-table-desc { display: block; max-width: 460px; color: var(--thm-color-text); font-size: 0.82rem; line-height: 1.4; }
.admin-table-desc summary { list-style: none; cursor: pointer; }
.admin-table-desc summary::-webkit-details-marker { display: none; }
.admin-more { color: var(--thm-color); font-weight: 500; white-space: nowrap; }
.admin-table-desc[open] .admin-more { display: none; }

/* action buttons: same small square look everywhere */
.admin-main td .btn-sm { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; border-radius: 5px; }
.admin-main td .btn-secondary { background: #6c757d; border-color: #6c757d; }
.admin-main td .btn-group .me-1 { margin-right: 0.3rem !important; }
.admin-main td form.d-inline, .admin-main td form[style] { margin-left: 0.15rem; }

/* pagination (DataTables + Laravel): small, even buttons */
.admin-main .pagination { margin: 0; gap: 0.2rem; flex-wrap: wrap; }
.admin-main .page-link { min-width: 32px; height: 32px; padding: 0 0.6rem; display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--thm-color-text); border-radius: 5px !important; border-color: #e6e6e6; }
.admin-main .page-item.active .page-link { background: var(--thm-color); border-color: var(--thm-color); color: #fff; }
.admin-main .page-item.disabled .page-link { color: #c3cbd0; }
.admin-main nav svg { width: 1rem; height: 1rem; }
.admin-main .dt-info { color: var(--thm-color-title); font-size: 0.82rem; }
.admin-main .dt-paging nav { display: flex; }

/* header-title rows (developer's float layout) on small screens */
.admin-main .header-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.admin-main .header-title > .float-start, .admin-main .header-title > .float-end { float: none !important; }
@media (max-width: 767.98px) {
    .admin-main .table-responsive, .admin-main .dt-container { overflow-x: auto; }
    .admin-main .d-table { min-width: 640px; }
}

/* About page: contact e-mail box and contact form topics */
.contact-mail-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.75rem; max-width: 560px; padding: 1rem 1.25rem; background: #fff; border: 1px solid #e6e6e6; border-left: 4px solid var(--thm-color); text-align: center; }
.contact-mail-box i { color: var(--thm-color); font-size: 1.3rem; }
.contact-mail-box span { color: var(--thm-color-title); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-mail-box a { color: var(--thm-color-black); font-size: 1.25rem; font-weight: 700; text-decoration: none; word-break: break-all; }
.contact-mail-box a:hover { color: var(--thm-color); }
.contact-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.contact-topic { padding: 0.35rem 1rem; border: 1px solid #e3e7ea; color: var(--thm-color-text); font-size: 0.88rem; cursor: pointer; user-select: none; }
.btn-check:checked + .contact-topic { border-color: var(--thm-color); color: var(--thm-color); font-weight: 600; background: #fff; }
.btn-check:focus-visible + .contact-topic { outline: 2px solid rgba(237, 27, 56, 0.35); }
.form-card .opt { color: var(--thm-color-title); font-weight: 400; font-size: 0.78rem; }
/* admin: unread count in the menu, single-column mini lists, messages table */
.admin-nav-count { display: inline-block; min-width: 1.1rem; padding: 0 0.3rem; border-radius: 9px; background: var(--thm-color); color: #fff; font-size: 0.68rem; font-weight: 700; line-height: 1.1rem; text-align: center; }
.admin-mini-list.is-single { grid-template-columns: 1fr !important; }
.admin-mini-list .admin-pill { flex-shrink: 0; }
.admin-messages .admin-message-text { white-space: pre-line; min-width: 260px; max-width: 520px; }
.admin-messages tr.is-unread td { background: #fffafb; }
.admin-messages tr.is-unread .admin-message-text { color: var(--thm-color-black); font-weight: 500; }
.admin-messages tr.is-read { color: var(--thm-color-title); }
.admin-topic-question { background: #eef4fb; color: #2f6db5; }
.admin-topic-feedback { background: #f3f5f6; color: var(--thm-color-text); }
.admin-topic-suggestion { background: #eaf7ec; color: #2e8b3e; }
/* About contact box: same thin grey frame as other boxes (no red side line) */
.contact-mail-box { max-width: none; border-left: 1px solid #e6e6e6; padding: 0.8rem 1rem; gap: 0.6rem; }
.contact-mail-box a { font-size: 1.15rem; }
.contact-foot { color: var(--thm-color-title); font-size: 0.85rem; }
.contact-foot a { color: var(--thm-color); }
/* About contact: small headings above the e-mail box and the form */
.contact-sub { margin: 0 0 0.5rem; color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.contact-reply-label { color: var(--thm-color-text); font-size: 0.88rem; }
.contact-reply-label span { color: var(--thm-color-title); font-size: 0.8rem; }
.form-card .form-check-input:checked { background-color: var(--thm-color); border-color: var(--thm-color); }
/* header: at 992-1100px the search box pushed the page 9px too wide; make it a bit narrower there */
@media (min-width: 992px) and (max-width: 1099.98px) {
    header form[role=search] { width: 150px; }
}
.admin-topic-contact_request { background: #fff1f3; color: var(--thm-color); }
.admin-topic-sponsorship { background: #fff4e0; color: #b26a00; }
/* Sponsors page: the e-mail line under the form, large and easy to see */
.sponsor-mail { color: var(--thm-color-text); font-size: 1.05rem; }
.sponsor-mail a { display: inline-block; margin-left: 0.25rem; color: var(--thm-color-black); font-size: 1.3rem; font-weight: 700; text-decoration: none; word-break: break-all; }
.sponsor-mail a i { color: var(--thm-color); margin-right: 0.2rem; }
.sponsor-mail a:hover { color: var(--thm-color); }

/* City page: small grey Türkiye map next to the city name, red dot = the city */
.city-title-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.city-title-row .tp-title { margin-bottom: 0; }
.city-mini-map { position: relative; display: inline-block; width: 150px; line-height: 0; flex-shrink: 0; }
.city-mini-map img { width: 100%; height: auto; }
.city-mini-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--thm-color); border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(237, 27, 56, 0.25); }
@media (max-width: 575.98px) {
    .city-title-row { gap: 0.6rem; }
    .city-mini-map { width: 110px; }
    .city-mini-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
}

/* Language switch (EN | TR) */
/* Language switch: quiet and small, the current language a little darker */
.topbar ul li.lang-switch { margin-left: 0.5rem; display: flex; align-items: center; }
.lang-switch a { color: #9aa6ae !important; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; padding: 0 0.1rem; transition: color .15s; }
.lang-switch a.active { color: var(--thm-color-title) !important; font-weight: 600; }
.lang-switch a:hover { color: var(--thm-color-title) !important; }
.lang-switch span { color: #dde2e5; margin: 0 0.2rem; font-size: 0.75rem; }
.lang-switch-mobile { display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0; }
.lang-switch-mobile a { font-size: 0.95rem; }

/* Turkish site: the business sign-up page shows only Turkish */
.only-tr .en, .only-tr .tp-lead-en { display: none !important; }

/* Sector page: "All of Türkiye" / chosen city next to the small grey map, under the city chips */
.tag-where { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.1rem; }
.tag-where-label { font-weight: 600; color: var(--thm-color-title); font-size: 1rem; }
.tag-where-label i { color: var(--thm-color); margin-right: 0.2rem; }
.tag-where .city-mini-map { width: 120px; }
.tag-where .city-mini-map.is-all img { opacity: 0.9; }
@media (max-width: 575.98px) { .tag-where .city-mini-map { width: 95px; } }

/* About: the key figures in the same boxes as the Sponsors page, with a larger number */
:is(.turkiye-page, .story-page) .tp-reason h3.tp-figure { font-size: 1.7rem; line-height: 1.1; margin-bottom: 0.3rem; }

/* Tablets and phones: sector / product tags centred everywhere (desktop keeps them left-aligned in the boxes) */
@media (max-width: 991.98px) {
    .card-tags, #modal-tags, .tags-list, .info-tags, .tags-area { text-align: center; }
    .fr-tags, .search-tags, .tags-list { justify-content: center; }
    #modal-tags.list-inline { padding-left: 0; }
}

/* Same box style everywhere (as on the Franchise and Sponsors pages): square corners,
   thin light grey line, very soft shadow, small lift on hover */
ul.link-letters.letter-nav,
.mini-card,
.company-logo-wrapper,
.direct-note {
    background: #fff;
    border: 1px solid #F1F1F1 !important;
    border-radius: 0 !important;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05) !important;
}
.mini-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.mini-card:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important; }

/* Final box style for the whole site, taken from the "Recently added" slider cards:
   square corners, a clearly visible thin grey line, no resting shadow,
   and only a slight lift with a soft shadow on hover */
ul.companies > li,
:is(.turkiye-page, .story-page) :is(.tp-stat, .tp-reason, .tp-band),
.fr-card,
.mini-card,
.company-info-card,
.company-map-card,
.similar-company-card,
.form-card,
ul.link-letters.letter-nav,
.company-logo-wrapper,
.direct-note {
    border: 1px solid #E6E6E6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
ul.companies > li:hover,
:is(.turkiye-page, .story-page) .tp-reason:hover,
.fr-card:hover,
.mini-card:hover,
.similar-company-card:hover,
.recent-card:hover {
    transform: none !important;
    border-color: #cfcfcf !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}
ul.companies > li, :is(.turkiye-page, .story-page) .tp-reason, .fr-card, .mini-card, .similar-company-card, .recent-card { transition: border-color .2s, box-shadow .2s !important; }

/* Sliders: always whole cards, never a cut card or a missing border line.
   --per = cards per view; the track has 1px side padding so the outer card borders are never clipped */
.recent-strip-track {
    --per: 6; --gap: 0.75rem;
    gap: var(--gap); padding: 2px 1px 6px; scroll-padding-inline: 1px; scroll-snap-type: x mandatory;
}
.recent-strip-track li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)) !important; min-width: 0; scroll-snap-align: start; }
.recent-strip-track li[hidden] { display: none !important; }
.recent-card { box-sizing: border-box; }
@media (max-width: 991.98px) { .recent-strip-track { --per: 4; } }
@media (max-width: 575.98px) { .recent-strip-track { --per: 3; --gap: 0.5rem; } .recent-strip-nav { display: none; } }
.prefooter .recent-strip { max-width: none; }
/* Grey page backgrounds start right under the top menu (no white strip in between) */
body:has(> .company-detail-page) > header.client { margin-bottom: 0 !important; }

/* Small "Back" link in front of the breadcrumb (shown only when the visitor came from this site) */
.breadcrumb-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.75rem; }
.breadcrumb-trail .back-link {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.6rem;
    border: 1px solid #E6E6E6; border-radius: 999px; background: #fff;
    color: var(--thm-color-title); text-decoration: none; font-size: 0.8rem; line-height: 1.4;
    transition: border-color .2s, color .2s;
}
.breadcrumb-trail .back-link[hidden] { display: none; }
.breadcrumb-trail .back-link:hover { border-color: #cfcfcf; color: var(--thm-color); }
.breadcrumb-trail .back-link i { font-size: 0.72rem; }

/* Breadcrumb ("you are here" line) centred, like the centred page titles under it.
   Phones: only the small Back pill stays (the page title already says where you are); nothing shows if there is no Back. */
.breadcrumb-trail { justify-content: center; text-align: center; }
.breadcrumb-trail ol { justify-content: center; }
@media (max-width: 575.98px) {
    .breadcrumb-trail ol { display: none; }
    .breadcrumb-trail:not(:has(.back-link:not([hidden]))) { display: none; }
    .breadcrumb-trail { margin-bottom: 0.75rem; }
}

/* Breadcrumb sits right under the page title (tag, city, company pages) */
.tp-intro .breadcrumb-trail { margin: -0.35rem 0 1rem; }
.company-header .breadcrumb-trail { margin: 0.5rem 0 0; }

/* header at 992-1199px: the Turkish menu labels are longer, so the menu was ~80px wider than the window.
   Slightly smaller menu text and spacing in this range only. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    header.client .navbar-nav { gap: 0.15rem; }
    header.client .navbar-nav .nav-link { padding-left: 0.4rem !important; padding-right: 0.4rem !important; font-size: 0.92rem; }
    header.client .navbar-brand img { height: 36px; }
    header form[role=search] { width: 140px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) { header form[role=search] { width: 125px; } }
/* header from 1200px: the search box gives up width (down to 160px) instead of being pushed out of the
   page when the menu is long (Turkish labels), and always keeps a gap after the last menu item */
@media (min-width: 1200px) {
    header.client .navbar-collapse > form[role=search] { flex: 0 1 250px; width: auto; min-width: 160px; margin-left: 1.25rem; }
    header.client .navbar-collapse > form[role=search] .form-control { min-width: 0; }
}
/* 1200-1399px (1140px page): slightly tighter menu spacing so the longer Turkish menu fits like the English one */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    header.client .navbar-nav.mx-auto { gap: 1rem; }
}
/* company page: the wide column gutters (row g-5) stuck out a few px around 992px; keep them inside the page */
.company-detail-page { overflow-x: clip; }

/* Logo boxes on list pages and in the company popup: logo files are square with empty
   space above and below, so the box is a little shorter and that empty band is trimmed.
   width:100% + height:auto keeps wide (non-square) logos whole. */
ul.companies > li .company-id figure.logo-container { height: 80px; }
ul.companies > li figure.logo-container img { width: 100%; height: auto; max-height: none; }
.logo-container-modal { height: 120px; }
.logo-container-modal img { height: auto; max-height: none; }
@media (max-width: 767.98px) {
    ul.companies > li .company-id figure.logo-container { height: 68px; }
}

/* Phones: folded chip rows (js/chips-more.js) */
.intro-chips a[hidden] { display: none !important; }
.chips-more-btn { border: 1px solid #ddd; background: #fff; color: var(--thm-color-text); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.chips-more-btn:hover { border-color: var(--thm-color); color: var(--thm-color); }
.city-mini-map.is-clickable img { transition: opacity .15s; }
.city-mini-map.is-clickable:hover img { opacity: 0.75; }

/* Company page: small "last checked" note */
.fresh-note { margin: 1rem 0 0; font-size: 0.78rem; color: #8a939b; }
.fresh-note i { margin-right: 0.3rem; }

/* Tag page: short note about the sector under the lead */
.tag-about { font-style: italic; max-width: 680px; margin: 0.35rem auto 1.1rem; font-size: 0.88rem; line-height: 1.5; color: #6c757d; }
.tag-about strong { font-weight: 700; color: #495057; }

/* News article: "New companies on MadeinTR" list under the article */
.new-on-site { margin: 2.5rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.new-on-site-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.3rem; }
.new-on-site-lead { font-size: 0.9rem; color: #6c757d; margin: 0 0 1rem; }
.new-on-site-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; margin: 0; }
.new-on-site-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.6rem; align-items: center; padding: 0.35rem 0.4rem; border-radius: 6px; color: var(--thm-color-text); text-decoration: none; }
.new-on-site-list a:hover { background: #f7f7f7; }
.new-on-site-list img { grid-row: 1 / span 2; width: 36px; height: 36px; object-fit: contain; border: 1px solid #eee; background: #fff; }
.nos-name { font-size: 0.88rem; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nos-city { font-size: 0.75rem; color: #8a939b; line-height: 1.2; }
@media (max-width: 575.98px) { .new-on-site-list { grid-template-columns: minmax(0, 1fr); } }

/* Tighter page tops site-wide: less space between the menu and the page title,
   and a calmer rhythm title → lead → note → chips → map */
.story-page > .container.py-5,
.turkiye-page > .container.py-5,
.company-detail-page > .container.py-5 { padding-top: 2rem !important; }
:is(.turkiye-page, .story-page) .tp-eyebrow { margin-bottom: 0.3rem; }
:is(.turkiye-page, .story-page) .tp-lead { margin-top: 0.6rem; }
.intro-chips { gap: 0.45rem 0.5rem; }
.tag-where { margin-top: 0.8rem; }
@media (max-width: 767.98px) {
    .story-page > .container.py-5,
    .turkiye-page > .container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 1.25rem !important; }
}

/* City page intro: count and "About <city>" on one row; the chips label on its own line;
   a slightly smaller map next to the name */
.city-lead-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.9rem; margin: 0.6rem 0 1rem; }
.city-lead-row .tp-lead { margin: 0 !important; }
.city-lead-row .city-about-toggle { padding: 0.3rem 0.85rem; font-size: 0.85rem; }
.city-page-about { margin: -0.4rem auto 1rem; }
.chips-label-top .intro-chips-label { flex-basis: 100%; text-align: center; margin: 0 0 0.2rem; }
.city-title-row .city-mini-map { width: 130px; }
@media (max-width: 575.98px) { .city-title-row .city-mini-map { width: 100px; } }

/* Company pop-up: "Company website" (red) and, under it, "MadeinTR company page" (white with red border and text) */
.modal-actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.modal-actions .btn-default { border: 1px solid var(--thm-color); }
.btn-outline-red { display: inline-block; background: #fff; color: var(--thm-color); border: 1px solid var(--thm-color); padding: 0.3rem 1.5rem; border-radius: 1rem; text-decoration: none; }
.btn-outline-red i { margin-left: 0.5rem; }
.btn-outline-red:hover { background: var(--thm-color); color: #fff; }

/* Sectors & Products page: round product photos for popular tags and main sector groups */
.tag-photo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 1rem; margin: 1.25rem auto 0; padding: 0; max-width: 980px; }
.tag-photo-row li { flex: 0 0 84px; width: 84px; }
.tag-photo { display: block; text-align: center; text-decoration: none; color: var(--thm-color-text); }
.tag-photo .product-story-ring { transition: transform 0.15s, box-shadow 0.15s; }
.tag-photo:hover .product-story-ring { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(237, 27, 56, 0.18); }
.tag-photo-label { display: block; margin-top: 0.35rem; font-size: 0.74rem; line-height: 1.2; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-photo:hover .tag-photo-label { color: var(--thm-color); }
.tag-photo-count { color: var(--thm-color); font-weight: 600; }
.sector-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.sector-group { border: 1px solid #eee; background: #fff; padding: 1.1rem 1rem 1.2rem; }
.sector-group-title { font-size: 1rem; font-weight: 700; margin: 0; text-align: center; }
.sector-group-title i { color: var(--thm-color); margin-right: 0.3rem; }
.sector-group .tag-photo-row { margin-top: 0.9rem; gap: 0.8rem; }
.sector-group .tag-photo-row li { flex-basis: 76px; width: 76px; }
@media (max-width: 991.98px) { .sector-groups { grid-template-columns: minmax(0, 1fr); } }
/* Phones: one sliding row instead of many wrapped lines */
@media (max-width: 767.98px) {
    .tag-photo-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.25rem; scrollbar-width: none; }
    .tag-photo-row::-webkit-scrollbar { display: none; }
    .tag-photo-row li { flex: 0 0 72px; width: 72px; scroll-snap-align: start; }
    .tag-photo-row .product-story-ring { width: 62px; height: 62px; }
}

/* Sectors & Products: compact sliding photo rows (popular strip + one row per main sector) */
.photo-slider { position: relative; display: flex; align-items: center; gap: 0.35rem; min-width: 0; }
.photo-slider-track { display: flex; flex-wrap: nowrap; gap: 0.55rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0; padding: 4px 2px; flex: 1 1 auto; min-width: 0; }
.photo-slider-track::-webkit-scrollbar { display: none; }
.photo-slider-track li { flex: 0 0 68px; width: 68px; scroll-snap-align: start; }
.photo-slider-btn { flex: 0 0 28px; width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: var(--thm-color-text); cursor: pointer; font-size: 0.7rem; margin-top: -18px; }
.photo-slider-btn:hover { border-color: var(--thm-color); color: var(--thm-color); }
.photo-slider-btn.is-off { visibility: hidden; }
.photo-slider.no-slide .photo-slider-btn { display: none; }
.photo-slider.no-slide .photo-slider-track { justify-content: center; }
.photo-slider-popular { max-width: 1000px; margin: 1.1rem auto 0; }
.tag-photo-ring { display: block; width: 58px; height: 58px; margin: 0 auto; padding: 2px; border: 1.5px solid var(--thm-color); border-radius: 50%; background: #fff; transition: transform 0.15s, box-shadow 0.15s; }
.tag-photo-ring img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tag-photo:hover .tag-photo-ring { transform: translateY(-2px) scale(1.04); box-shadow: 0 4px 10px rgba(237, 27, 56, 0.2); }
.photo-slider-track .tag-photo-label { font-size: 0.68rem; margin-top: 0.25rem; }
.sector-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.sector-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 0.6rem; border: 1px solid #f0f0f0; background: #fff; padding: 0.45rem 0.6rem; }
.sector-row-title { display: flex; align-items: center; gap: 0.45rem; margin: 0; font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.sector-row-title i { flex: 0 0 30px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--thm-color); color: #fff; font-size: 0.8rem; }
@media (max-width: 767.98px) {
    .sector-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; padding: 0.5rem; }
    .photo-slider-btn { display: none; }
    .photo-slider-track li { flex-basis: 64px; width: 64px; }
    .tag-photo-ring { width: 54px; height: 54px; }
}

/* Sectors & Products: search box between the popular strip and the main sectors */
.mid-search { max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.8rem; padding: 0.8rem 1rem; border: 1px solid #f0f0f0; background: #fff; }
.mid-search-label { margin: 0; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.mid-search-label i { color: var(--thm-color); margin-right: 0.2rem; }
.mid-search-box { position: relative; display: flex; gap: 0.4rem; flex: 1 1 280px; min-width: 0; }
.mid-search-box .form-control { border-radius: 1rem; font-size: 0.9rem; padding: 0.3rem 0.9rem; min-width: 0; }
.mid-search-box .btn-default { border: 1px solid var(--thm-color); white-space: nowrap; }

/* Sectors & Products: finishing touches (titles, a frameless search, phone and tablet rhythm) */
.photo-strip-title { margin: 1.6rem 0 0.2rem; text-align: center; color: var(--thm-color-title); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.photo-slider-popular { margin-top: 0.4rem; }
.mid-search { border: 0; background: transparent; padding: 0; max-width: 600px; }
.mid-search-label { color: var(--thm-color-title); font-size: 0.85rem; }
.mid-search-box .form-control { border-color: #e3e3e3; box-shadow: none; }
.mid-search-box .form-control:focus { border-color: var(--thm-color); box-shadow: 0 0 0 3px rgba(237, 27, 56, 0.12); }
.sector-rows { gap: 0.35rem; }
.sector-row { border-color: #f2f2f2; }
.sector-row:hover { border-color: #f6c9cf; }
/* Tablets: a narrower title column, arrows stay */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sector-row { grid-template-columns: 132px minmax(0, 1fr); }
    .sector-row-title { font-size: 0.8rem; }
    .sector-row-title i { flex-basis: 26px; width: 26px; height: 26px; font-size: 0.72rem; }
}
/* Phones: title on its own small line, rows separated by a hairline instead of boxes, search stacks */
@media (max-width: 767.98px) {
    .photo-strip-title { margin-top: 1.2rem; }
    .sector-rows { gap: 0; }
    .sector-row { border: 0; border-bottom: 1px solid #f0f0f0; padding: 0.55rem 0.1rem; background: transparent; }
    .sector-row:last-child { border-bottom: 0; }
    .sector-row-title { font-size: 0.82rem; }
    .sector-row-title i { flex-basis: 24px; width: 24px; height: 24px; font-size: 0.68rem; }
    .mid-search { flex-direction: column; align-items: stretch; gap: 0.4rem; }
    .mid-search-label { text-align: center; }
    .mid-search-box { flex: 0 0 auto; }
}

/* News list page: the "new companies" list uses the full width */
@media (min-width: 992px) { .news-list-new .new-on-site-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 576px) and (max-width: 991.98px) { .news-list-new .new-on-site-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sectors & Products photo rows: small "N companies" line under each product name */
.tag-photo-sub { display: block; margin-top: 0.1rem; font-size: 0.62rem; line-height: 1.1; color: var(--thm-color); font-weight: 600; }
.tag-photo-city { display: block; font-size: 0.6rem; line-height: 1.1; color: #9aa1a7; }
.mid-search-label { color: var(--thm-color); }

/* "Looking for something specific?" box on the brands page and the home page */
.mid-search-wrap { margin: 1.5rem auto 0.5rem; }

/* Sectors & Products: main sectors as two cards side by side (one column on tablets and phones);
   icon title on top, a short grey italic line under it, then the sliding photo row */
.sector-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.sector-row { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.8rem 0.8rem 0.7rem; border: 1px solid #f0f0f0; background: #fff; min-width: 0; }
.sector-row-head { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 0.1rem; }
.sector-row-title { font-size: 0.95rem; }
.sector-row-desc { margin: 0 0 0 calc(30px + 0.45rem); font-size: 0.78rem; font-style: italic; color: #8a939b; line-height: 1.35; }
@media (max-width: 991.98px) {
    .sector-rows { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .sector-row { padding: 0.65rem 0.1rem; }
    .sector-row-desc { margin-left: calc(24px + 0.45rem); }
}
.sector-row { overflow: hidden; }
.sector-row > .photo-slider { width: 100%; min-width: 0; }
.sector-row-head { align-items: center; text-align: center; }
.sector-row-title { justify-content: center; }
.sector-row-desc { margin: 0; text-align: center; }
@media (max-width: 767.98px) { .sector-row-desc { margin: 0; } }

/* Product photos on company pages and in the pop-up: each opens the product page; "N companies" in small red */
.product-story-link { display: block; text-decoration: none; color: inherit; }
.product-story-link:hover .product-story-ring { box-shadow: 0 4px 10px rgba(237, 27, 56, 0.2); }
.product-story-link:hover .product-story-label { color: var(--thm-color); }
.product-story-count { display: block; margin-top: 0.1rem; font-size: 0.62rem; line-height: 1.1; color: var(--thm-color); font-weight: 600; }

/* Company lists: "company website" button and, under it, a small red-outline link to the MadeinTR page */
.cl-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.cl-mtr-link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.12rem 0.75rem 0.12rem 0.2rem; border: 1px solid var(--thm-color); border-radius: 999px; background: #fff; color: var(--thm-color); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; line-height: 1.6; transition: background .15s, color .15s; }
.cl-mtr-link i { font-size: 0.65rem; }
.cl-mtr-dot { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--thm-color); color: #fff; font-size: 0.52rem; font-weight: 800; letter-spacing: 0; }
.cl-mtr-link:hover { background: var(--thm-color); color: #fff; }
.cl-mtr-link:hover .cl-mtr-dot { background: #fff; color: var(--thm-color); }
.cl-mtr-link { white-space: nowrap; text-transform: none; font-size: 0.7rem; }
.cl-actions .btn { white-space: nowrap; }
ul.companies .cl-mtr-link { text-transform: none !important; font-size: 0.7rem !important; max-width: 100%; }
@media (max-width: 767.98px) {
    ul.companies .cl-mtr-link { white-space: normal; font-size: 0.68rem !important; line-height: 1.3; padding-top: 0.15rem; padding-bottom: 0.15rem; }
    ul.companies .cl-actions .btn { white-space: normal; }
}
/* Company list: city as a solid, on-brand line (red pin, bold dark name) */
ul.companies a.cl-city { color: #1a1a1a; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: 0.01em; font-size: 0.92rem; }
ul.companies a.cl-city::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--thm-color); margin-right: 0.4rem; font-size: 0.85rem; }
ul.companies a.cl-city:hover { color: var(--thm-color); }
@media (max-width: 767.98px) {
    ul.companies > li .company-detail tr:nth-child(2) td a.cl-city::before { margin-right: 0.4rem; }
    ul.companies > li .company-detail tr:nth-child(2) td { font-size: 0.9rem; }
}
/* Company list, softer: plain text links instead of outlined boxes, quiet city line */
ul.companies .cl-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.9rem; }
ul.companies .cl-actions .cl-mtr-link { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0; font-weight: 600; font-size: 0.82rem !important; color: #555; white-space: nowrap; line-height: 1.5; }
ul.companies .cl-actions .cl-mtr-link + .cl-mtr-link { color: var(--thm-color); }
ul.companies .cl-actions .cl-mtr-link i { font-size: 0.7rem; margin-left: 0.15rem; transition: transform .15s; }
ul.companies .cl-actions .cl-mtr-link:hover { text-decoration: underline; text-underline-offset: 3px; }
ul.companies .cl-actions .cl-mtr-link:hover i { transform: translateX(2px); }
ul.companies a.cl-city { font-weight: 500; color: #444; font-size: 0.88rem; }
ul.companies a.cl-city::before { font-size: 0.78rem; }
@media (max-width: 767.98px) {
    ul.companies .cl-actions .cl-mtr-link { font-size: 0.8rem !important; white-space: nowrap; }
    ul.companies > li .company-detail tr:nth-child(2) td { font-size: 0.86rem; }
}
/* Underline only the words on hover, never the arrow/icon */
ul.companies .cl-actions .cl-mtr-link,
ul.companies .cl-actions .cl-mtr-link:hover { text-decoration: none !important; }
ul.companies .cl-actions .cl-mtr-link i { display: inline-block; text-decoration: none; }
ul.companies .cl-actions .cl-mtr-link:hover .cl-t { text-decoration: underline; text-underline-offset: 3px; }
/* City pin in the company list: same colour as the city name */
ul.companies a.cl-city::before,
ul.companies > li .company-detail tr:nth-child(2) td a.cl-city::before { color: inherit !important; }
.city-about-link-sub { margin-top: 0.35rem; font-weight: 500; color: #555; }
.city-about-link-sub:hover { color: var(--thm-color); }
.city-about-link.city-about-link-sub { color: var(--thm-color); font-size: 0.78rem; font-weight: 600; }
.modal-similar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.1rem; }
/* Company page location card: green mini Türkiye map with the city dot */
.location-mini-map { position: relative; display: block; width: 130px; aspect-ratio: 180 / 80; flex-shrink: 0; line-height: 0; }
.location-mini-shape { position: absolute; inset: 0; background: var(--thm-color-green); -webkit-mask: url('/img/tr-mini.png') center / 100% 100% no-repeat; mask: url('/img/tr-mini.png') center / 100% 100% no-repeat; transition: opacity .15s; }
.location-mini-map:hover .location-mini-shape { opacity: 0.8; }
@media (max-width: 575.98px) { .location-mini-map { width: 100px; } }
/* Company page city links: both lines look the same */
.city-about .city-about-link.city-about-link-sub { font-size: 0.85rem; font-weight: 600; color: var(--thm-color); margin-top: 0.4rem; }
/* Mini map: marker + name of the city a click will open */
.mini-map-hover { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #1a1a1a; border: 2px solid #fff; pointer-events: none; z-index: 2; }
.mini-map-tip { position: absolute; transform: translate(-50%, calc(-100% - 9px)); background: #1a1a1a; color: #fff; font-size: 0.72rem; font-weight: 600; line-height: 1.2; padding: 0.2rem 0.45rem; border-radius: 4px; white-space: nowrap; pointer-events: none; z-index: 3; }
/* City page: big city name links to its manufacturers, with a balloon like the big map's tooltip */
.city-title-link { position: relative; color: inherit; text-decoration: none; }
.city-title-link:hover { color: var(--thm-color); }
.city-title-link::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); background: #fff; color: var(--thm-color); font-size: 0.85rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; padding: 8px 14px; border-radius: 6px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 20; }
.city-title-link::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; opacity: 0; visibility: hidden; transition: opacity .15s ease; z-index: 21; filter: drop-shadow(0 2px 1px rgba(0,0,0,.08)); }
.city-title-link:hover::after, .city-title-link:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.city-title-link:hover::before, .city-title-link:focus-visible::before { opacity: 1; visibility: visible; }
#city-companies { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }
#tag-companies { scroll-margin-top: 110px; }
.tag-where-label .city-title-link::after { font-size: 0.8rem; }
/* Header search: red outline on focus, like the in-page search boxes */
header form[role="search"] .form-control:focus { border-color: var(--thm-color) !important; box-shadow: 0 0 0 3px rgba(237, 27, 56, 0.12) !important; outline: 0; }

/* Why Türkiye: records cards and certificates */
.tp-records .tp-record { height: 100%; background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.25rem 1.25rem 1rem; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tp-records .tp-record::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--thm-color); }
.tp-records .tp-record:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.tp-records .tp-record i { color: var(--thm-color); font-size: 1.2rem; margin-bottom: .5rem; display: block; }
.tp-record-value { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: #1a1a1a; margin-bottom: .35rem; letter-spacing: -.01em; }
.tp-records .tp-record p { margin: 0 0 .6rem; color: #555; font-size: .92rem; }
.tp-record-src { font-size: .72rem; color: #999; text-decoration: none; }
.tp-record-src:hover { color: var(--thm-color); text-decoration: underline; }
.tp-certs { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.25rem; }
.tp-certs-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.tp-certs-title i { color: var(--thm-color); }
.tp-cert-group { padding: .65rem 0; border-top: 1px solid #f2f2f2; }
.tp-cert-group:first-of-type { border-top: 0; }
.tp-cert-group-title { display: block; font-size: .82rem; font-weight: 700; color: #444; margin-bottom: .4rem; }
.tp-cert-group-title i { color: #999; width: 1.1rem; }
.tp-cert-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.tp-cert-chip { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #e6e6e6; border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; color: #333; background: #fafafa; }
.tp-cert-chip b { color: var(--thm-color); font-size: .74rem; }
@media (max-width: 575.98px) { .tp-record-value { font-size: 1.45rem; } }
/* /tag list: tags side by side like the brands list (shorter page) */
.tag-inline-list .tag-extra[hidden] { display: none; }
.tag-inline-list li:has(+ li[hidden])::after { content: ""; }
@media (max-width: 767.98px) { ul.tag-inline-list { padding: 0; line-height: 2.2; } ul.tag-inline-list li a { display: inline; min-width: 0; font-size: inherit; text-align: left; } }

/* Phones: bigger tap areas for small text links and slightly larger captions (look stays the same) */
@media (max-width: 767.98px) {
    ul.companies .cl-actions .cl-mtr-link { padding: 0.45rem 0 !important; }
    .fr-link { padding: 0.4rem 0; }
    .site-footer .footer-bottom .footer-login { display: inline-block; padding: 0.4rem 0; }
    .tag-photo-sub { font-size: 0.72rem; }
    .tag-photo-city { font-size: 0.7rem; }
}

/* Phone: light (300) text looked thin; one step up to Regular (400) */
@media (max-width: 767.98px) {
    body { font-weight: 400; }
    .site-footer .footer-register-tr { font-weight: 400; }
}

/* Phone: grey Back pill a little stronger (darker border, Medium text) */
@media (max-width: 767.98px) {
    .breadcrumb-trail .back-link { border: 1.5px solid #CFCFCF; font-weight: 500; color: #5f6d76; }
}

/* Phone + tablet: less white space between the top menu and the page title */
@media (max-width: 991.98px) {
    body:has(> :is(.story-page, .turkiye-page)) > header.client { margin-bottom: 0 !important; }
    .story-page > .container.py-5,
    .story-page > article.container.py-5,
    .turkiye-page > .container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 1rem !important; }
}
@media (max-width: 575.98px) {
    .story-page > .container.py-5,
    .story-page > article.container.py-5,
    .turkiye-page > .container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 0.75rem !important; }
}
@media (max-width: 991.98px) { .story-page > .container.pt-5 { padding-top: 1rem !important; } }
@media (max-width: 575.98px) { .story-page > .container.pt-5 { padding-top: 0.75rem !important; } }

/* Company page: sample products sit under the name and Back pill, centred.
   The row centres when it fits and slides when it does not. */
.company-header .product-stories { max-width: 760px; margin: 1.25rem auto 0; }
.company-header .product-stories h5 { font-size: 1rem; margin-bottom: 0.15rem !important; }
.company-header .product-stories-lead { margin-bottom: 0.7rem; }
.company-header .product-stories-list { width: max-content; margin: 0 auto; padding: 2px; }
.company-header .product-stories-track.can-slide .product-stories-list { margin: 0; padding-right: 1.5rem; }
.company-header .product-stories-more { margin-top: 0.6rem; font-size: 0.8rem; }

/* Company page: logo closer to the top menu, smaller gap before the info card */
.company-detail-page .company-header { padding: 0.5rem 0 0; margin-bottom: 2rem !important; }
@media (max-width: 991.98px) {
    .company-detail-page .company-header { padding-top: 0; margin-bottom: 1.5rem !important; }
    .company-logo-wrapper { width: 150px; height: 150px; }
    .company-title.mt-4 { margin-top: 1rem !important; }
}
@media (max-width: 575.98px) {
    .company-detail-page .company-header { margin-bottom: 1.25rem !important; }
    .company-logo-wrapper { width: 130px; height: 130px; border-radius: 16px; }
}
/* Desktop: same idea, a calmer gap under the top menu (about 32px) */
@media (min-width: 992px) {
    body:has(> :is(.story-page, .turkiye-page)) > header.client { margin-bottom: 0 !important; }
}

/* About page: icons and text centred in the boxes (all screens);
   phones: the three figures side by side, boxes tighter, so the page reads at a glance */
.about-page .tp-reason { text-align: center; }
.about-page .tp-reason i { display: block; }
@media (max-width: 767.98px) {
    .about-page .tp-stats { --bs-gutter-x: 0.5rem; }
    .about-page .tp-stats .tp-reason { padding: 0.9rem 0.4rem; }
    .about-page .tp-stats .tp-reason i { font-size: 1.25rem; margin-bottom: 0.4rem; }
    .about-page .tp-stats .tp-reason h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
    .about-page .tp-stats .tp-reason p { font-size: 0.75rem; line-height: 1.3; }
    .about-page .tp-reason { padding: 1.1rem 1rem; }
    .about-page .tp-reason i { margin-bottom: 0.5rem; }
    .about-page .tp-section { margin-top: 2.25rem; }
}

/* Tablet and desktop: one more step closer to the top menu */
@media (min-width: 576px) and (max-width: 991.98px) {
    .story-page > .container.py-5,
    .story-page > article.container.py-5,
    .story-page > .container.pt-5,
    .turkiye-page > .container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 0.75rem !important; }
}
@media (min-width: 992px) {
    .story-page > .container.py-5,
    .story-page > article.container.py-5,
    .story-page > .container.pt-5,
    .turkiye-page > .container.py-5,
    .company-detail-page > .container.py-5 { padding-top: 1.25rem !important; }
    .company-detail-page .company-header { padding-top: 0; }
}

/* Company page and pop-up: sample products and certificates right under the name, centred.
   Many photos: the row becomes a small slider. */
.modal-top-extras .product-stories,
.company-header .company-certs,
.modal-top-extras .company-certs { max-width: 760px; margin: 1rem auto 0; }
.modal-top-extras .product-stories h5,
.company-header .company-certs h5,
.modal-top-extras .company-certs h5 { font-size: 1rem; }
.modal-top-extras .product-stories-lead { margin-bottom: 0.7rem; }
.modal-top-extras .product-stories-list { width: max-content; margin: 0 auto; padding: 2px; }
.modal-top-extras .product-stories-track.can-slide .product-stories-list { margin: 0; padding-right: 1.5rem; }
.company-header .company-certs-list,
.modal-top-extras .company-certs-list { justify-content: center; }
.modal-top-extras { margin-bottom: 1rem; }
.modal-top-extras:has(> :not([hidden])) { padding-bottom: 1rem; border-bottom: 1px solid #eee; }
/* Info card: sectors now come before the About text */
.company-info-card .info-tags { margin-bottom: 1.5rem; }
/* Pop-up: shorter grey logo area on phones and tablets, so products show sooner */
@media (max-width: 991.98px) {
    #companyModal .modal-title.company-logo { padding-top: 1.75rem !important; padding-bottom: 1.25rem !important; margin: 0 !important; }
}

/* Company page: many sectors & products (9+) become a 4-row strip that slides sideways,
   instead of a long wall of chips. Few tags keep the normal wrapped layout. */
.tags-list[data-tag-strip]:has(> .tag-item:nth-child(9)) {
    display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: max-content;
    gap: 0.5rem 0.5rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; padding: 2px 2.5rem 0.6rem 2px;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
            mask-image: linear-gradient(to right, #000 85%, transparent);
    scrollbar-width: thin; scrollbar-color: #e3c1c7 transparent;
}
.tags-list[data-tag-strip]:has(> .tag-item:nth-child(9)) > .tag-item { scroll-snap-align: start; white-space: nowrap; }
.tags-list[data-tag-strip]::-webkit-scrollbar { height: 5px; }
.tags-list[data-tag-strip]::-webkit-scrollbar-thumb { background: #e3c1c7; border-radius: 3px; }
.tags-list[data-tag-strip]::-webkit-scrollbar-track { background: transparent; }
/* Short hint shown only when the strip can slide (set by the slider script) */
.tags-slide-hint { display: none; margin: -0.25rem 0 0.6rem; font-size: 0.75rem; color: var(--thm-color-title); }
.info-tags:has(.tags-list.can-slide) .tags-slide-hint { display: block; }
.tags-list[data-tag-strip].can-slide.at-end { -webkit-mask-image: none; mask-image: none; }
.tags-list[data-tag-strip]:has(> .tag-item:nth-child(9)) { justify-content: start !important; justify-items: start; }

/* Tag strip: native scrollbar hidden, replaced by a soft grey slider with arrows */
.tags-list[data-tag-strip]:has(> .tag-item:nth-child(9)) { scrollbar-width: none; padding-bottom: 2px; }
.tags-list[data-tag-strip]::-webkit-scrollbar { display: none; }
.strip-bar { display: none; align-items: center; gap: 0.6rem; margin-top: 0.85rem; user-select: none; }
.tags-list.can-slide + .strip-bar { display: flex; }
.strip-arrow {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #E3E7EA; background: #F4F6F8; color: #5f6d76; font-size: 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s, opacity .2s;
}
.strip-arrow:hover:not(:disabled) { background: #E9EDF0; color: var(--thm-color-black); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); }
.strip-arrow:focus-visible { outline: 2px solid #cfd6db; outline-offset: 2px; }
.strip-arrow:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.strip-track { position: relative; flex: 1 1 auto; height: 12px; border-radius: 999px; background: #EEF1F3; cursor: pointer; }
.strip-thumb {
    position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px;
    background: #C5CDD3; cursor: grab; touch-action: none;
    transition: background-color .2s;
}
.strip-thumb:hover, .strip-thumb.is-dragging { background: #A9B4BC; }
.strip-thumb.is-dragging { cursor: grabbing; }

/* Company page: sectors & products sit under the certificates in the top block */
.company-header .company-top-tags { max-width: 760px; margin: 1rem auto 0; padding-top: 0; border-top: 0; text-align: center; }
.company-header .company-top-tags h5 { font-size: 1rem; margin-bottom: 0.5rem !important; }
.company-header .company-top-tags .tags-list { justify-content: center; }
.company-header .company-top-tags .tags-list.can-slide { text-align: left; }
.company-header .company-top-tags .tags-slide-hint { margin-top: -0.2rem; }
.modal-top-extras .modal-tags-box { max-width: 760px; margin: 1rem auto 0; }
.modal-top-extras .modal-tags-box h5 { font-size: 1rem; }
.modal-top-extras .modal-tags-box .prefooter { background: transparent; padding: 0; margin: 0; }

/* Tag strip v2: four rows of chips sitting close together (normal gaps), the whole block slides sideways.
   Slider: no side arrows; one wide grey thumb with ‹ › in the middle. */
.tags-list.tags-strip {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    padding: 2px 2.5rem 2px 2px; text-align: left; justify-content: flex-start !important;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
            mask-image: linear-gradient(to right, #000 88%, transparent);
}
.tags-list.tags-strip::-webkit-scrollbar { display: none; }
.tags-list.tags-strip.at-end, .tags-list.tags-strip:not(.can-slide) { -webkit-mask-image: none; mask-image: none; }
.tags-strip-row { display: flex; flex-wrap: nowrap; gap: 0.5rem; width: max-content; }
.tags-strip-row .tag-item { white-space: nowrap; }
.strip-bar { max-width: 420px; margin-left: auto; margin-right: auto; }
.strip-track { height: 10px; background: #EEF1F3; }
.strip-thumb {
    top: 50%; height: 22px; transform-origin: left center; margin-top: -11px;
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    background: #D3D9DE; color: #5f6d76; font-size: 0.62rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.strip-thumb:hover, .strip-thumb.is-dragging { background: #C2CAD0; color: var(--thm-color-black); }

/* Company page: one box (about the company, then city/website/location, then about the city) */
.company-one-box { max-width: 860px; margin: 0 auto; }
.company-one-box .company-info-card { height: auto; }
.company-one-box .info-description { margin-top: 0; padding-top: 0; border-top: 0; }
.company-one-box .one-box-section { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.company-one-box .company-location h5 { color: var(--thm-color-text); }
.company-one-box .city-about { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.desc-clamp { position: relative; max-height: 11.5em; overflow: hidden; transition: max-height .3s ease; }
.desc-clamp p { margin-bottom: 0; }
.desc-clamp:not(.is-short):not(.is-open)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}
.desc-clamp.is-open { max-height: none; }
.readmore-btn {
    margin-top: 0.5rem; padding: 0.3rem 0.9rem; border: 1px solid #E3E7EA; border-radius: 999px;
    background: #F4F6F8; color: #5f6d76; font-size: 0.82rem; font-weight: 600;
}
.readmore-btn:hover { background: #E9EDF0; color: var(--thm-color-black); }
.readmore-btn i { font-size: 0.7rem; margin-left: 0.2rem; }
.company-one-box .location-link { flex-shrink: 0; }
@media (max-width: 575.98px) { .company-one-box .location-mini-map { width: 96px; flex-shrink: 0; } .company-one-box .location-display { gap: 0.75rem; } }
/* Slider thumb: shorter, with the site red arrows */
.strip-thumb { color: var(--thm-color); font-size: 0.68rem; }
.strip-thumb:hover, .strip-thumb.is-dragging { color: var(--thm-color); }

/* Slider thumb v3: short and plump, site red with white arrows */
.strip-thumb { height: 26px; margin-top: -13px; background: var(--thm-color); color: #fff; font-size: 0.7rem; gap: 0.4rem; box-shadow: 0 2px 6px rgba(237, 27, 56, 0.3); }
.strip-thumb:hover, .strip-thumb.is-dragging { background: #d3142f; color: #fff; }

/* One box, lower part: city + website side by side (tablet and up), location and city text centred */
@media (min-width: 768px) {
    .company-one-box .one-box-section:not(.company-location) {
        display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; row-gap: 0.75rem;
    }
    .company-one-box .one-box-section:not(.company-location) > .info-item {
        border: 1px solid #eee; border-radius: 12px; padding: 0.85rem 1.1rem; background: #fafbfc;
    }
    .company-one-box .one-box-section:not(.company-location) > :not(.info-item) { grid-column: 1 / -1; margin-bottom: 0 !important; }
}
.company-one-box .company-location,
.company-one-box .city-about,
.company-one-box .fresh-note { text-align: center; }
.company-one-box .location-display { justify-content: center; max-width: 520px; margin: 0 auto; padding: 1.25rem 1.5rem; }
.company-one-box .location-info { flex: 0 1 auto; text-align: left; }
.company-one-box .city-stats { display: flex; justify-content: center; }
.company-one-box .city-about p { max-width: 680px; margin-left: auto; margin-right: auto; }
.company-one-box .city-about-link { display: inline-flex; }

/* One box v2: square-ish corners, centred "About" heading, full-width slim location bar,
   city and country names are links */
.company-one-box .info-description h5 { text-align: center; }
@media (min-width: 768px) {
    .company-one-box .one-box-section:not(.company-location) > .info-item { border-radius: 4px; }
}
.company-one-box .direct-note { border-radius: 4px; }
.company-one-box .location-display { max-width: none; border-radius: 4px; padding: 0.6rem 1.5rem; gap: 1.25rem; }
.company-one-box .location-mini-map { width: 110px; }
.company-one-box .location-city { font-size: 1.3rem; line-height: 1.2; text-decoration: none; }
.company-one-box .location-country { margin-top: 0.1rem; text-decoration: none; }
.company-one-box .location-city:hover, .company-one-box .location-country:hover { color: var(--thm-color); text-decoration: underline; }
.company-one-box .location-link { width: 42px; height: 42px; }
.company-one-box .city-stats .stat-item { border-radius: 4px; }

/* Company page top: products, certificates and sectors as soft panels.
   Desktop: side by side (the sectors panel gets the most room); tablet: two columns, sectors below; phone: stacked. */
.company-top-grid { margin: 1.25rem auto 0; max-width: 1140px; }
.company-top-grid > * { max-width: none !important; margin: 0 !important; text-align: center; }
@media (min-width: 768px) {
    .company-top-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
    .company-top-grid > * {
        background: #fff; border: 1px solid #eef0f2; border-radius: 4px; padding: 1.1rem 1.1rem 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); min-width: 0;
    }
    .company-top-grid > .company-top-tags { grid-column: 1 / -1; }
    .company-top-grid > :only-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .company-top-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.3fr); }
    .company-top-grid > .company-top-tags { grid-column: auto; }
    /* no certificates: products and sectors share the row */
    .company-top-grid:not(:has(.company-certs)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
    .company-top-grid:not(:has(.product-stories)) { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
}
.company-top-grid .product-stories-more,
.company-top-grid .company-certs-more { font-size: 0.75rem; }
.company-top-grid .company-certs-list { justify-content: center; }

/* Top grid v2 (all screens from tablet up): two columns, sectors below; no white boxes,
   just fine fading lines between the parts */
@media (min-width: 768px) {
    .company-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0; max-width: 1040px; }
    .company-top-grid > * { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0.4rem 1.75rem 1.1rem; }
    .company-top-grid > .company-top-tags { grid-column: 1 / -1 !important; position: relative; padding-top: 1.2rem; }
    .company-top-grid > .company-top-tags:not(:first-child)::before {
        content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
        background: linear-gradient(to right, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
    .company-top-grid > .product-stories + .company-certs { position: relative; }
    .company-top-grid > .product-stories + .company-certs::before {
        content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
        background: linear-gradient(to bottom, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
}

/* Desktop: logo, name and Back on the left; sample products on the right;
   certificates (left) and sectors (right) below. Fine fading lines instead of boxes. */
@media (min-width: 992px) {
    .company-detail-page .company-header {
        display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
        column-gap: 2.5rem; align-items: center; max-width: 1140px; margin-left: auto; margin-right: auto;
    }
    .company-detail-page .company-header > .company-logo-wrapper { grid-column: 1; grid-row: 1; }
    .company-detail-page .company-header > .company-title { grid-column: 1; grid-row: 2; }
    .company-detail-page .company-header > .breadcrumb-trail { grid-column: 1; grid-row: 3; }
    .company-detail-page .company-top-grid { display: contents; }
    .company-top-grid > .product-stories { grid-column: 2; grid-row: 1 / span 3; align-self: center; position: relative; padding-block: 0.5rem; padding-inline: 2.5rem 0; }
    .company-top-grid > .product-stories::after {
        content: ""; position: absolute; inset-inline-start: 0; top: 8%; bottom: 8%; width: 1px;
        background: linear-gradient(to bottom, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
    .company-top-grid > .product-stories + .company-certs::before { display: none; }
    .company-top-grid > .company-certs { grid-column: 1; grid-row: 4; align-self: start; padding: 1.2rem 0 0; }
    .company-top-grid > .company-top-tags { grid-column: 2 !important; grid-row: 4; align-self: start; padding-block: 1.2rem 0; padding-inline: 2.5rem 0; }
    .company-top-grid > .company-top-tags::before { inset-inline-start: 2.5rem !important; inset-inline-end: 0 !important; }
    .company-top-grid > .company-certs { position: relative; }
    .company-top-grid > .company-certs::after {
        content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
        background: linear-gradient(to right, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
    /* no product photos: sectors move up next to the logo */
    .company-top-grid:not(:has(.product-stories)) > .company-top-tags { grid-row: 1 / span 3; align-self: center; padding-top: 0; }
    .company-top-grid:not(:has(.product-stories)) > .company-top-tags::before { display: none; }
}
/* Desktop: top block and the box below share one width so their edges line up */
@media (min-width: 992px) {
    .company-detail-page .company-header { max-width: 1000px; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); column-gap: 2rem; }
    .company-one-box { max-width: 1000px; }
    .company-top-grid > .product-stories { padding-inline-start: 2rem; }
    .company-top-grid > .company-top-tags { padding-inline-start: 2rem; }
    .company-top-grid > .company-top-tags::before { inset-inline-start: 2rem !important; }
}
/* Desktop: top block sits a little inside the box edges (same as the box's own padding), tighter gaps */
@media (min-width: 992px) {
    .company-detail-page .company-header { padding-inline-start: 2rem; padding-right: 2rem; column-gap: 1.25rem; grid-template-columns: minmax(230px, 270px) minmax(0, 1fr); }
    .company-top-grid > .product-stories { padding-inline-start: 1.25rem; }
    .company-top-grid > .company-top-tags { padding-inline-start: 1.25rem; padding-top: 0.9rem; }
    .company-top-grid > .company-top-tags::before { inset-inline-start: 1.25rem !important; }
    .company-top-grid > .company-certs { padding-top: 0.9rem; }
    .company-detail-page .company-header .company-title.mt-4 { margin-top: 0.75rem !important; }
}
/* Desktop: sample products start at the same height as the logo; logo closer to the top menu */
@media (min-width: 992px) {
    .company-detail-page > .container.py-5 { padding-top: 0.75rem !important; }
    .company-top-grid > .product-stories { align-self: start; padding-top: 0; margin-top: 0 !important; }
    .company-top-grid > .product-stories > h5 { margin-top: 0; }
    .company-top-grid > .product-stories::after { top: 4%; }
}

/* Desktop v3: products (top) and sectors (bottom) on the right set the height;
   logo, name, Back and certificates sit as one group, centred on the left */
.company-certs-side { display: none; }
@media (min-width: 992px) {
    .company-detail-page > .container.py-5 { padding-top: 1.4rem !important; }
    .company-detail-page .company-header { grid-template-rows: auto auto; align-items: stretch; }
    .company-id-col { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
    .company-id-col .company-certs-side { display: block; margin-top: 1rem; }
    .company-id-col .company-certs-side .company-certs-list { justify-content: center; }
    .company-top-grid > .company-certs { display: none; }
    .company-top-grid > .product-stories { grid-column: 2; grid-row: 1; align-self: start; }
    .company-top-grid > .company-top-tags { grid-column: 2 !important; grid-row: 2; align-self: end; }
    .company-top-grid:not(:has(.product-stories)) > .company-top-tags { grid-row: 1 / span 2; align-self: center; }
    /* The divider belongs to the header grid, so it is always exactly as tall as the right column (it used to hang below short sector lists) */
    .company-top-grid > .product-stories::after { display: none; }
    .company-detail-page .company-header::before {
        content: ""; grid-column: 2; grid-row: 1 / span 2; justify-self: start; align-self: stretch; width: 1px; pointer-events: none;
        background: linear-gradient(to bottom, transparent, #dfe3e7 12%, #dfe3e7 88%, transparent);
    }
    .company-detail-page .company-header:not(:has(.product-stories))::before { display: none; }
}
/* Tag strip that fits without sliding: rows centred */
.tags-list.tags-strip:not(.can-slide) { align-items: center; padding-right: 2px; margin-left: auto; margin-right: auto; }

/* Company pop-up, desktop: same idea as the company page.
   Left: logo, name, certificates (centred). Right: sample products on top, sectors below. */
.modal-logo-side { display: none !important; }
@media (max-width: 991.98px) { .modal-certs-side { display: none !important; } }
@media (min-width: 992px) {
    #companyModal .modal-dialog { max-width: 980px; }
    #companyModal .modal-header { display: none; }
    #companyModal .modal-body { padding-top: 2rem; }
    .modal-top { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 1.25rem; align-items: center; margin-bottom: 1.25rem; }
    .modal-id-col { align-self: center; }
    .modal-id-col .modal-logo-side { display: flex !important; width: 170px; height: 170px; margin-bottom: 1rem; }
    .modal-id-col .info-title { font-size: 1.35rem; margin-bottom: 0.25rem; }
    .modal-id-col .modal-certs-side { margin-top: 0.9rem; }
    .modal-id-col .modal-certs-side h5 { font-size: 0.95rem; }
    .modal-id-col .company-certs-list { justify-content: center; }
    .modal-top .modal-top-extras { margin: 0; padding: 0; padding-inline-start: 1.25rem; border-bottom: 0; position: relative; }
    .modal-top .modal-top-extras::before {
        content: ""; position: absolute; inset-inline-start: 0; top: 4%; bottom: 4%; width: 1px;
        background: linear-gradient(to bottom, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
    .modal-top .modal-top-extras > #modal-certs { display: none !important; }
    .modal-top .modal-top-extras .product-stories { margin-top: 0 !important; }
    .modal-top .modal-tags-box { position: relative; padding-top: 0.9rem; }
    .modal-top .modal-tags-box::before {
        content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
        background: linear-gradient(to right, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
    .modal-top .modal-top-extras > #modal-photos[hidden] + #modal-certs + .modal-tags-box,
    .modal-top .modal-top-extras > :first-child[hidden] ~ .modal-tags-box { padding-top: 0; }
}
@media (min-width: 992px) { #companyModal .modal-header { display: none !important; } }

/* Place section: location (left) and website (right). No boxes, no rounded panels; a fine line between. */
.company-place { display: grid; grid-template-columns: 1fr; row-gap: 1.25rem; text-align: center; }
.company-place .place-cell { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; min-width: 0; }
.place-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--thm-color-title); }
.place-label i { color: var(--thm-color); margin-right: 0.4rem; }
.company-one-box .company-place .location-display { background: none; border-radius: 0; padding: 0; max-width: none; margin: 0; gap: 1rem; justify-content: center; }
.company-one-box .company-place .location-link { width: 38px; height: 38px; box-shadow: none; border: 1px solid #e3e7ea; }
.place-link { font-size: 0.85rem; font-weight: 600; color: var(--thm-color-green); text-decoration: none; }
.place-link:hover { text-decoration: underline; color: var(--thm-color-green); }
.place-link i:first-child { margin-right: 0.4rem; }
.place-link i:last-child { font-size: 0.75rem; margin-left: 0.25rem; }
.place-host { font-size: 1.05rem; font-weight: 600; color: var(--thm-color-black); word-break: break-all; }
.company-place .place-visit { border-radius: 4px; padding: 0.6rem 1.2rem; font-size: 0.92rem; text-align: center; max-width: 100%; white-space: normal; }
@media (min-width: 768px) {
    .company-place { grid-template-columns: 1fr 1fr; column-gap: 0; align-items: center; }
    .company-place .place-cell { padding: 0.25rem 1.5rem; }
    .company-place .place-website { position: relative; }
    .company-place .place-website::before {
        content: ""; position: absolute; left: 0; top: 5%; bottom: 5%; width: 1px;
        background: linear-gradient(to bottom, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
}
@media (max-width: 767.98px) {
    .company-place .place-website { position: relative; padding-top: 1.25rem; }
    .company-place .place-website::before {
        content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
        background: linear-gradient(to right, transparent, #dfe3e7 20%, #dfe3e7 80%, transparent);
    }
}
@media (min-width: 768px) { .company-one-box .company-place > .place-cell { grid-column: auto !important; } }
a.place-host { text-decoration: none; }
a.place-host:hover { color: var(--thm-color); text-decoration: underline; }

/* Pop-up looks like the company page: top part on the same light grey, white logo card with soft shadow,
   name in capitals; the rest of the details below on white */
#companyModal .modal-header:before { background: #f8f9fa; }
#companyModal .logo-container-modal { background: #fff; border: 1px solid #e9ecef; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
#companyModal .modal-top { background: #f8f9fa; margin: -1rem -1rem 1.25rem; padding: 0.5rem 1rem 1.25rem; border-bottom: 1px solid #eef0f2; }
/* The grey top already ends with its own line: no second line or empty gap under the last block */
#companyModal .modal-top .modal-top-extras { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
#companyModal .modal-id-col .info-title { text-transform: uppercase; font-weight: 700; color: var(--thm-color-black); }
@media (min-width: 992px) {
    #companyModal .modal-body { padding-top: 0; }
    #companyModal .modal-top { margin: 0 -1rem 1.5rem; padding: 2.25rem 2rem 1.75rem; }
    #companyModal .modal-id-col .modal-logo-side { width: 170px; height: 170px; border-radius: 20px; }
    #companyModal .modal-id-col .info-title { font-size: 1.45rem; }
}
/* Pop-up: no line above sectors when there are no product photos above them */
#companyModal #modal-photos[hidden] ~ .modal-tags-box::before { display: none; }
#companyModal #modal-photos[hidden] ~ .modal-tags-box { padding-top: 0; }
/* Sectors page: popular products first, then the "Most listed" chips with a little air between */
.photo-slider-popular + .intro-chips, [data-photo-slider] + .intro-chips { margin-top: 1.5rem; }

/* Intro lines under page titles: a little smaller and tighter; numbers in bold so they still stand out */
:is(.turkiye-page, .story-page) .tp-lead { font-size: 1rem; line-height: 1.5; margin-top: 0.45rem; }
:is(.turkiye-page, .story-page) .tp-lead strong.tp-num { font-weight: 700; color: var(--thm-color-black); }
@media (max-width: 767.98px) { :is(.turkiye-page, .story-page) .tp-lead { font-size: 0.95rem; line-height: 1.45; } }
/* Small red label sits closer to the page title */
:is(.turkiye-page, .story-page) .tp-eyebrow { margin-bottom: 0.1rem; line-height: 1.3; }
:is(.turkiye-page, .story-page) .tp-title { line-height: 1.15; }
/* Intro lines under page titles in italics (numbers stay bold, upright) */
:is(.turkiye-page, .story-page) .tp-lead { font-style: italic; }
:is(.turkiye-page, .story-page) .tp-lead strong.tp-num { font-style: normal; }
/* Bold numbers in intro lines: italic like the text, dark grey instead of black */
:is(.turkiye-page, .story-page) .tp-lead strong.tp-num { font-style: italic; color: #3d4448; }

/* Home, phone and tablet: quick links to the four main sections under the intro */
.home-quick { display: none; }
@media (max-width: 991.98px) {
    .home-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; max-width: 560px; margin: 1rem auto 0.25rem; }
    .home-quick a {
        display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.7rem 0.25rem 0.6rem;
        border: 1px solid #eef0f2; border-radius: 4px; background: #fff; text-decoration: none;
        color: var(--thm-color-black); font-size: 0.78rem; font-weight: 600; line-height: 1.2; text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .home-quick a i { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #FDF1F3; color: var(--thm-color); font-size: 0.95rem; }
    .home-quick a:active, .home-quick a:hover { border-color: var(--thm-color); color: var(--thm-color); }

    /* Home tags slide sideways in four rows instead of a long column */
    .home-area #tag-list {
        display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: max-content;
        gap: 0.5rem; overflow-x: auto; justify-content: start; justify-items: start; text-align: left;
        padding: 2px 2.5rem 2px 2px; margin-bottom: 0; scrollbar-width: none; overscroll-behavior-x: contain;
        -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent);
    }
    .home-area #tag-list::-webkit-scrollbar { display: none; }
    .home-area #tag-list.at-end { -webkit-mask-image: none; mask-image: none; }
    .home-area #tag-list > li { margin: 0 !important; }
}
[data-tag-strip].can-slide + .strip-bar { display: flex; }

/* Phone: long A-Z lists (sectors, brands) and their letter headings centred */
@media (max-width: 767.98px) {
    .tag-inline-list, .letter-section .link-letters, .letter-section > h3 { text-align: center; }
}

/* Home: the busiest tags in a 4-row strip that slides sideways on every screen,
   with the grey slider and an "all sectors & products" link under it */
.home-area .home-strip { margin-top: 1.1rem; }
.home-area .home-strip + .strip-bar { margin-bottom: 0.5rem; }
.home-all-tags { margin: 0.9rem 0 0.25rem; text-align: center; }
@media (min-width: 992px) {
    .home-area .home-strip { margin-top: 1.5rem; padding-right: 4rem; }
    .home-area .home-strip + .strip-bar { max-width: 520px; margin-top: 1.1rem; }
}
@media (max-width: 991.98px) {
    .home-quick a { padding: 0.45rem 0.25rem 0.4rem; gap: 0.25rem; }
    .home-quick a i { width: 30px; height: 30px; font-size: 0.85rem; }
}
@media (max-width: 991.98px) { .home-quick a { border-radius: 0; } }
@media (max-width: 991.98px) {
    .story-page .tp-intro:has(+ .home-quick) { margin-bottom: 0.4rem; }
    .home-quick { margin-top: 0.5rem; }
}

/* All main pages: less empty space under the page intro (title + lead), still some air */
:is(.turkiye-page, .story-page) .tp-intro { margin-bottom: 1.3rem; }
.photo-strip-title { margin-top: 0; }
@media (max-width: 767.98px) { :is(.turkiye-page, .story-page) .tp-intro { margin-bottom: 1rem; } }

/* Home: two-row product photo slider above "Which businesses support us?" */
.product-wall { max-width: 1140px; margin-left: auto; margin-right: auto; }
.product-wall .tp-eyebrow { color: var(--thm-color); font-weight: 600; font-size: 0.9rem; }
.product-wall-title { font-size: 1.35rem; font-weight: 700; color: var(--thm-color-black); margin: 0 0 1.1rem; }
.product-wall-strip { display: flex; flex-direction: column; gap: 0.9rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px 2.5rem 4px 2px;
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
.product-wall-strip::-webkit-scrollbar { display: none; }
.product-wall-strip.at-end { -webkit-mask-image: none; mask-image: none; }
.product-wall-row { display: flex; gap: 0.9rem; width: max-content; }
.product-wall-card { width: 132px; flex: 0 0 132px; text-decoration: none; color: inherit; text-align: center; }
.product-wall-img { display: block; width: 132px; height: 132px; border: 1px solid #eceff1; background: #fff; overflow: hidden; }
.product-wall-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.product-wall-card:hover .product-wall-img img { transform: scale(1.05); }
.product-wall-label { display: block; margin-top: 0.4rem; font-size: 0.8rem; font-weight: 600; line-height: 1.25; color: var(--thm-color-black);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-wall-company { display: block; margin-top: 0.15rem; font-size: 0.7rem; line-height: 1.25; color: var(--thm-color-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-wall-card:hover .product-wall-label { color: var(--thm-color); }
.product-wall-strip + .strip-bar { max-width: 420px; margin: 0.9rem auto 0; }
@media (max-width: 575.98px) {
    .product-wall-title { font-size: 1.1rem; }
    .product-wall-card { width: 108px; flex-basis: 108px; }
    .product-wall-img { width: 108px; height: 108px; }
}
/* Product slider v2: smaller cards, red company count under each product */
.product-wall-card { width: 104px; flex-basis: 104px; }
.product-wall-img { width: 104px; height: 104px; }
.product-wall-row { gap: 0.75rem; }
.product-wall-strip { gap: 0.75rem; }
.product-wall-label { font-size: 0.74rem; margin-top: 0.35rem; }
.product-wall-count { display: block; margin-top: 0.1rem; font-size: 0.66rem; font-weight: 700; color: var(--thm-color); line-height: 1.2; }
.product-wall-title { font-size: 1.2rem; margin-bottom: 0.9rem; }
@media (max-width: 575.98px) {
    .product-wall-card { width: 88px; flex-basis: 88px; }
    .product-wall-img { width: 88px; height: 88px; }
    .product-wall-title { font-size: 1.02rem; }
}
.product-wall-company { font-size: 0.62rem; margin-top: 0.1rem; }

/* Pop-up buttons on narrow phones: keep each label on one line */
@media (max-width: 480px) {
    #companyModal .modal-actions .btn-outline-red,
    #companyModal .modal-actions .btn-default { white-space: nowrap; font-size: 0.95rem; padding-left: 1rem; padding-right: 1rem; }
}

/* ==== Arabic (right to left) ==== */
[dir="rtl"] body,
[dir="rtl"] input, [dir="rtl"] button, [dir="rtl"] select, [dir="rtl"] textarea {
    font-family: 'Tajawal', 'TT Chocolates', sans-serif;
}
/* Arabic letters read smaller than Latin ones at the same size */
[dir="rtl"] body { font-size: 1.09em; }
/* Arrows point the way of reading */
[dir="rtl"] .fa-arrow-right, [dir="rtl"] .fa-arrow-left,
[dir="rtl"] .fa-chevron-right, [dir="rtl"] .fa-chevron-left,
[dir="rtl"] .fa-angle-right, [dir="rtl"] .fa-angle-left,
[dir="rtl"] .fa-arrow-up-right-from-square { transform: scaleX(-1); }
/* Company names, web addresses and numbers stay left to right inside Arabic text */
[dir="rtl"] .place-host, [dir="rtl"] .company-name-ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .lang-switch a[lang="ar"] { font-family: 'Tajawal', sans-serif; }
/* Arabic: every sliding strip starts on the right and slides to the left (the way Arabic is read).
   The scripts in product-slider.js and the photo rows work with the right-to-left scroll position.
   Only the grey slider bar stays left-to-right inside, so its ‹ › thumb keeps its shape. */
[dir="rtl"] .strip-bar { direction: ltr; }
[dir="rtl"] .strip-bar .fa-chevron-left, [dir="rtl"] .strip-bar .fa-chevron-right { transform: none; }
/* The soft fade and the spare space sit on the left edge, where the strip continues */
[dir="rtl"] .tags-list.tags-strip, [dir="rtl"] .home-area #tag-list, [dir="rtl"] .tags-list[data-tag-strip],
[dir="rtl"] .product-wall-strip, [dir="rtl"] .product-stories-track.can-slide {
    -webkit-mask-image: linear-gradient(to left, #000 88%, transparent); mask-image: linear-gradient(to left, #000 88%, transparent);
}
[dir="rtl"] .tags-list.tags-strip.at-end, [dir="rtl"] .tags-list.tags-strip:not(.can-slide),
[dir="rtl"] .product-wall-strip.at-end { -webkit-mask-image: none; mask-image: none; }
[dir="rtl"] .tags-list.tags-strip, [dir="rtl"] .product-wall-strip { padding-left: 2.5rem; padding-right: 2px; text-align: right; }
[dir="rtl"] .home-area .home-strip { padding-left: 4rem; padding-right: 2px; }
[dir="rtl"] .company-header .product-stories-track.can-slide .product-stories-list,
[dir="rtl"] .modal-top-extras .product-stories-track.can-slide .product-stories-list { padding-right: 0; padding-left: 1.5rem; }
[dir="rtl"] .product-stories-track { scroll-padding-left: 0; scroll-padding-right: 2px; }

/* Arabic has no italic letters (the browser only slants them), so Arabic pages never use italics */
[dir="rtl"] body, [dir="rtl"] body *:not([class*="fa-"]) { font-style: normal !important; }

/* Russian words are long: break them at syllables with a hyphen, never in the middle of a letter group */
:lang(ru) .product-story-label, :lang(ru) .tag-photo-label, :lang(ru) .product-wall-label,
:lang(ru) ul.companies > li .company-name, :lang(ru) .three-columns li {
    overflow-wrap: normal; word-break: normal; hyphens: auto; -webkit-hyphens: auto;
}
/* Russian buttons keep sentence case (no capital letter on every word) */
:lang(ru) .btn-gray { text-transform: none; }
:lang(ru) .btn-gray::first-letter { text-transform: uppercase; }

/* Sectors & Products page: the "most listed" strip and the A-Z letters, each letter in its own 4-row strip */
.tags-page-strip { margin-top: 0.5rem; }
.tag-letter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; max-width: 900px; margin: 0 auto 1.25rem; }
.tag-letter-btn {
    min-width: 2.25rem; height: 2.25rem; padding: 0 0.5rem; border-radius: 999px;
    border: 1px solid #E3E7EA; background: #fff; color: var(--thm-color-black);
    font-weight: 700; font-size: 0.9rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.tag-letter-btn:hover { border-color: var(--thm-color); color: var(--thm-color); }
.tag-letter-btn[aria-selected="true"] { background: var(--thm-color); border-color: var(--thm-color); color: #fff; }
.tag-letter-count { text-align: center; font-size: 0.85rem; color: var(--thm-color-title); margin: 0 0 0.6rem; }
@media (max-width: 575.98px) { .tag-letter-btn { min-width: 2rem; height: 2rem; font-size: 0.85rem; } }

/* Cities page: boxes of one size in the sliding strip. Red frame like the chips (a little thicker and rounder),
   the city in bold red (the whole box opens the city at its sectors), its products in grey italics underneath:
   each product opens that product in this city. Products are one plain comma-separated line, cut after two lines. */
.city-strip .tags-strip-row { gap: 0.5rem; }
.city-box {
    position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0.15rem; width: 19rem; height: 4.1rem; padding: 0.4rem 0.8rem 0.25rem;
    border: 1.5px solid var(--thm-color); border-radius: 12px; background: #fff; transition: box-shadow .2s;
}
.city-box:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07); }
.city-box-link { display: inline-flex; align-self: center; align-items: center; gap: 0.4rem; color: var(--thm-color); text-decoration: none; }
/* The count as the same pink pill as on the other chips */
.city-box-link .chip-count { padding: 0 0.45rem; border-radius: 1rem; background: #FDF1F3; color: var(--thm-color); font-size: 0.75rem; font-weight: 700; line-height: 1.5; }
.city-box-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.city-box-link strong { font-size: 0.9rem; font-weight: 700; line-height: 1.2; color: var(--thm-color); }
.city-box-tags { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.76rem; line-height: 1.25; font-style: italic; color: var(--thm-color-title); text-align: start; }
.city-box-tags a { color: inherit; text-decoration: none; }
.city-box-tags a:hover { color: var(--thm-color); text-decoration: underline; }
@media (max-width: 575.98px) { .city-box { width: 15rem; height: 4.3rem; } }
.city-empty-line { max-width: 900px; margin: 0 auto 1.5rem; font-size: 0.85rem; line-height: 1.8; color: #9aa4ab; }
.city-empty-line > span { font-weight: 600; margin-inline-end: 0.35rem; }
.city-empty-line a.city-empty { color: #9aa4ab; text-decoration: none; }
.city-empty-line a.city-empty:hover { color: var(--thm-color); }

/* Brands A-Z: a sponsor shows its logo in a small card at the start of its letter (it is listed first there);
   the other names keep flowing beside it, so the card takes about three lines without breaking the list */
ul.link-letters li.company-item-sponsor { float: inline-start; margin: 0.15rem 0; margin-inline-end: 1rem; }
ul.link-letters li.company-item-sponsor::after { content: none; }
ul.link-letters li.company-item-sponsor > a {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.85rem 0.3rem 0.3rem; padding-inline: 0.3rem 0.85rem;
    border: 1.5px solid var(--thm-color); border-radius: 12px; background: #fff; line-height: 1.25;
}
ul.link-letters li.company-item-sponsor > a:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.sponsor-mini-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 9px; overflow: hidden; border: 1px solid #f0f0f0; background: #fff; }
.sponsor-mini-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.letter-section > ul.link-letters::after { content: ""; display: block; clear: both; }
@media (max-width: 575.98px) {
    .sponsor-mini-logo { flex-basis: 44px; width: 44px; height: 44px; }
}
.sponsor-card-name { text-align: start; }
/* Desktop: the sponsor card is exactly four list lines tall (lines are 24px) */
@media (min-width: 992px) {
    ul.link-letters li.company-item-sponsor { margin-top: 2px; margin-bottom: 2px; }
    ul.link-letters li.company-item-sponsor > a { height: 92px; padding-top: 6px; padding-bottom: 6px; gap: 0.8rem; font-size: 1.05rem; }
    ul.link-letters li.company-item-sponsor .sponsor-mini-logo { flex-basis: 76px; width: 76px; height: 76px; }
}

/* Top bar: the slogan on the left, the links on the right (desktop only) */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-slogan { font-size: 0.82rem; font-weight: 400; color: var(--thm-color); letter-spacing: 0.01em; white-space: nowrap; }
.topbar-slogan i { color: var(--thm-color); margin-inline-end: 0.3rem; }
@media (max-width: 1199.98px) { .topbar-slogan { font-size: 0.76rem; } .topbar ul { gap: 0.75rem; } }
/* Footer: the slogan as a short bold line above the tagline */
.footer-slogan { margin: 0 0 0.35rem; font-weight: 700; color: #fff; font-size: 0.95rem; }
/* Phones: small links get a taller tap area (the look does not change) */
@media (max-width: 767.98px) {
    ul.companies a.cl-city, a.pf-more { display: inline-block; padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; }
}

/* Underlined links: the line runs under the words only, never under an arrow or other icon in the link.
   The icon glyph is drawn as its own small box, which an underline does not pass through (works for flex links too). */
a [class*="fa-"]::before, button [class*="fa-"]::before, a [class*="fa-"]::after, button [class*="fa-"]::after { display: inline-block; text-decoration: none; }
a [class*="fa-"], button [class*="fa-"] { text-decoration: none; }

/* Phones: the page itself never moves sideways. "clip" (not "hidden") keeps the sticky top menu working;
   the sliding strips still scroll inside themselves. No sideways bounce either. */
html, body { max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
/* Sectors page: a little more room between the popular product photos and the "Most listed" strip */
.photo-slider-popular + .photo-strip-title { margin-top: 1.4rem; }
