:root {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-main: #f8fafc;
    --bg-dark: #1c1d1f;
    --border-color: #e2e8f0;
    --primary-color: #ec173a;
    --primary-dark: #009657;
    --accent-blue: #3b82f6;
    --max-width: 1400px;
    --content-width: 760px;
}

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

.hidden { display: none !important; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container-full {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==================== HEADER ==================== */
.site-header {
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-k {
    color: var(--primary-color);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-icon-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 0.375rem;
}

.header-icon-btn:hover {
    color: var(--white);
}

.header-hamburger {
    display: none;
}

.header-lang-desktop {
    display: flex;
    align-items: center;
    position: relative;
}

.header-lang-desktop::before {
    content: '';
    width: 1px;
    height: 16px;
    background: #334155;
}

.header-lang-link {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s, background-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.header-lang-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);
}

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 1.25rem;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    background: transparent;
}

.search-submit {
    background: var(--primary-color);
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.search-submit:hover { background: var(--bg-dark); }

.search-close {
    background: none;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.search-results {
    margin-top: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.2s;
    color: var(--text-primary);
}

.search-result-item:hover { transform: translateY(-1px); }

.search-result-img {
    width: 80px;
    height: 60px;
    border-radius: 0.375rem;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.search-result-body p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.search-result-empty {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1e293b;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-menu-link {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.mobile-menu-divider {
    height: 1px;
    background: #1e293b;
    margin: 0.75rem 1.5rem;
}

.mobile-menu-lang {
    padding: 0.75rem 1.5rem;
}

.mobile-menu-lang a {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==================== HERO ==================== */
.hero {
    width: 100%;
    height: 70vh;
    min-height: 480px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e293b;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
    text-align: center;
}

.hero-category {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    border-radius: 0.25rem;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 1rem;
    letter-spacing: -0.5px;
}

.hero-title a {
    color: var(--white);
    transition: opacity 0.2s;
}

.hero-title a:hover { opacity: 0.85; }

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.hero-author {
    font-weight: 600;
    color: var(--white);
}

.hero-dot { opacity: 0.5; }

/* ==================== FEATURED SECTION ==================== */
.section-featured {
    padding: 1.2rem 0 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1.25rem;
}

.featured-main {
    position: relative;
    overflow: hidden;
}

.featured-main-img {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.featured-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.featured-main:hover .featured-main-img img {
    transform: scale(1.03);
}

.featured-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 1;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-main-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.5rem;
}

.featured-main-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #cbd5e1;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-side-item {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.featured-side-img {
    display: block;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.featured-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.featured-side:hover .featured-side-img img {
    transform: scale(1.03);
}

.featured-side-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 1;
}

.featured-side-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem;
}

.featured-side-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 0.4rem;
}

/* ==================== RECENT SECTION ==================== */
.section-recent {
    padding: 0 0 2rem;
	margin-top: -10px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}

.recent-card {
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s, transform 0.3s;
}

.recent-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.recent-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.recent-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.recent-card:hover .recent-card-img img {
    transform: scale(1.05);
}

.recent-card-body {
    padding: 1.25rem;
}

.recent-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.recent-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.recent-title a {
    color: var(--text-primary);
    transition: color 0.2s;
}

.recent-title a:hover { color: var(--primary-color); }

.recent-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.recent-author { font-weight: 600; color: var(--text-secondary); }
.recent-dot { opacity: 0.4; }

/* ==================== POST PAGE ==================== */
.breadcrumbs {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.breadcrumbs-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.breadcrumbs a { color: var(--primary-color); }
.breadcrumbs a:hover { color: var(--bg-dark); }
.breadcrumbs span[aria-current] { color: var(--text-primary); font-weight: 500; }

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.5rem 0;
    }

    .breadcrumbs-container {
        padding: 0 1rem;
        font-size: 0.75rem;
        gap: 0.15rem;
    }

    .breadcrumbs a {
        font-size: 0.75rem;
    }

    .breadcrumbs span[aria-current] {
        font-size: 0.75rem;
    }
}

.post-article {
    max-width: 1520px;
    margin: 0 auto;
    padding: 2.4rem 1.25rem;
}

.post-header { margin-bottom: 2rem; }

.post-category-badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--accent-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-header h1 {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 1.75rem;
	text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #00bc6e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-name { font-weight: 400; font-size: 0.75rem; }
.post-date { font-size: 0.75rem; color: var(--text-muted); }

.share-buttons { display: flex; align-items: center; gap: 0.5rem; }
.share-label { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s;
}
.share-btn:hover { transform: scale(1.1); }
.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088cc; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #000000; }

@media (min-width: 1024px) {
    .post-header h1,
    .post-meta {
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
}

.featured-snippet {
    background: linear-gradient(135deg, #ffffff, #fffcf5, #fff9ed);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.featured-snippet-label { font-size: 0.75rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.featured-snippet-question { font-size: 2.6rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; }
.featured-snippet-answer { font-size: 1.8rem; color: var(--text-secondary); line-height: 1.4; padding-left: 2.5rem; padding-right: 2.5rem; }

.post-cover { margin-bottom: 2rem; border-radius: 0.75rem; overflow: hidden; }
.post-cover img { width: 100%; max-height: 500px; object-fit: cover; }
.post-header { margin-bottom: 0.2rem;}

@media (max-width: 768px) {
    .featured-snippet-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        margin-bottom: 0.35rem;
		margin-top: -10px;
    }
	    .featured-snippet-question {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
	.featured-snippet-answer { font-size: 1.1rem; padding-left: 0.1rem; padding-right: 0.1rem; line-height: 1.4; width: 100%; max-width: 100%; box-sizing: border-box; }
	.share-btn {width: 30px; height: 30px;}
}

@media (max-width: 480px) {
    .featured-snippet-label {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
        margin-bottom: 0.3rem;
    }
	    .featured-snippet-question {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
	.featured-snippet-answer { font-size: 1.1rem; padding-left: 0.1rem; padding-right: 0.1rem; line-height: 1.4; width: 100%; max-width: 100%; box-sizing: border-box; }
	.share-btn {width: 30px; height: 30px;}

}

.post-body {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1e293b;
    font-weight: 400;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.post-body h2 {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.3;
}

.post-body h3 {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.4;
}

.post-body p {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: #334155;
}

.post-body ul,
.post-body ol {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 1rem 0 1.25rem 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    color: #334155;
}

.post-body li {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.post-body blockquote {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #f0fdf4;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
}

.post-body code {
    font-family: 'SF Mono', Monaco, monospace;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    font-weight: 400;
}

.post-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-body pre code {
    font-family: 'SF Mono', Monaco, monospace;
    background: none;
    padding: 0;
    color: inherit;
    font-weight: 400;
}

.post-body img {
    max-width: 100%;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.post-body a {
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 400;
    transition: color 0.2s;
}

.post-body a:hover {
    color: #1d4ed8;
}

.key-takeaways-section { background: #f1f1f1; border: 1px solid #212121; padding: 1.5rem; margin: 2rem auto; max-width: 980px; }
.key-takeaways-section h2 { font-size: 1.2rem; font-weight: 500; color: #212121; margin-bottom: 1rem; }
.key-takeaways-section ul {
    list-style: none;
    padding: 0;
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.key-takeaways-section li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    border-bottom: 1px solid #dcfce7;
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.key-takeaways-section li:last-child {
    border-bottom: none;
}

.key-takeaways-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.post-faqs { margin: 2.5rem auto; max-width: 980px; }
.post-faqs h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 1.25rem; }
.faq-item { border: 1px solid var(--border-color); border-radius: 0.75rem; margin-bottom: 0.75rem; overflow: hidden; }
.faq-item h3 { padding: 1rem 1.25rem; font-size: 1rem; font-weight: 500; background: #f8fafc; margin: 0; }
.faq-answer {
    padding: 0 1.25rem 1rem;
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.post-footer-meta {
    display: flex;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-share-bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-share-bottom span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== CONTACT PAGE ==================== */
.contact-hero { text-align: center; padding: 3rem 1.25rem 2rem; background: var(--bg-dark); color: var(--white); }
.contact-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.contact-hero p { color: #94a3b8; font-size: 1.1rem; }

.contact-container { max-width: 1000px; margin: 0 auto; padding: 2rem 1.25rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 0.5rem; font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.contact-submit { background: var(--primary-color); color: var(--white); border: none; padding: 0.875rem 1.5rem; border-radius: 0.5rem; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.2s; text-align: center; }
.contact-submit:hover { background: var(--bg-dark); }
.privacy-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; }
.privacy-checkbox input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--primary-color); cursor: pointer; }
.privacy-text { font-size: 0.7rem; line-height: 1.5; color: var(--text-muted); text-align: justify; }
.privacy-text a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 1px; }
.privacy-text a:hover { color: #2563eb; }
.privacy-required { color: var(--primary-color); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 0.75rem; padding: 1.5rem; }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-services { list-style: none; padding: 0; }
.contact-services li { padding: 0.4rem 0 0.4rem 1.25rem; position: relative; font-size: 0.9rem; color: var(--text-secondary); }
.contact-services li::before { content: "→"; position: absolute; left: 0; color: var(--primary-color); }
.contact-alert { padding: 1rem 1.25rem; border-radius: 0.5rem; margin-bottom: 1.5rem; font-size: 0.95rem; }
.contact-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.contact-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ==================== NEWSLETTER ==================== */
.newsletter-msg { padding: 0.625rem; border-radius: 0.375rem; font-size: 0.85rem; }
.newsletter-msg-success { background: rgba(0,188,110,0.15); color: #00bc6e; }
.newsletter-msg-error { background: rgba(239,68,68,0.15); color: #ef4444; }

/* ==================== LOGIN MODAL ==================== */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-card {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-overlay.active .login-card {
    transform: translateY(0) scale(1);
}

.login-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s, background 0.2s;
}

.login-close:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.login-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.login-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.login-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.login-field input {
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-field input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: var(--white);
}

.login-2fa-input {
    text-align: center;
    letter-spacing: 6px;
    font-size: 1.15rem !important;
    font-weight: 600;
}

.login-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-dark);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    margin-top: 0.25rem;
}

.login-submit:hover {
    background: #1e293b;
}

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== TOOLS SECTION ==================== */
.section-tools {
    padding: 0.2rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.5rem;
    height: 420px;
}

.tools-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tools-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.tools-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.tools-card:hover .tools-card-img img {
    transform: scale(1.03);
}

.tools-card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.tools-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: var(--white);
}

.tools-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tools-title a {
    color: var(--white);
    transition: opacity 0.2s;
}

.tools-title a:hover {
    opacity: 0.85;
}

.tools-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* ==================== QUALITY SECTION ==================== */
.section-quality {
    background: #f8f7f5;
    padding: 4rem 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.quality-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.quality-card-img {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.quality-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.quality-card:hover .quality-card-img img {
    transform: scale(1.05);
}

.quality-card-body {
    display: flex;
    flex-direction: column;
}

.quality-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.quality-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.2s;
}

.quality-card:hover .quality-title {
    color: var(--primary-color);
}

/* ==================== CATEGORY PAGE ==================== */
.section-category {
    padding: 3rem 0;
}

.category-header {
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.category-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0;
    line-height: 1.3;
}

.category-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.site-footer { background: var(--bg-dark); color: #94a3b8; margin-top: 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; padding: 2.5rem 0 1.5rem; border-bottom: 1px solid #1e293b; }
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: 0.85rem; margin-top: 0.5rem; max-width: 350px; line-height: 1.6; }
.footer-newsletter h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-newsletter-form { display: flex; border-radius: 0.375rem; overflow: hidden; }
.footer-newsletter-form input { flex: 1; padding: 0.5rem 0.75rem; border: 1px solid #334155; border-right: none; background: #1e293b; color: var(--white); font-size: 0.85rem; font-family: inherit; border-radius: 0.375rem 0 0 0.375rem; }
.footer-newsletter-form input::placeholder { color: #64748b; }
.footer-newsletter-form input:focus { outline: none; border-color: var(--primary-color); }
.footer-newsletter-form button { background: var(--primary-color); color: var(--white); border: none; padding: 0.5rem 1rem; font-weight: 700; cursor: pointer; font-size: 1rem; }
.footer-newsletter-form button:hover { background: var(--primary-dark); }
.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #475569;
}

.footer-copy {
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #475569;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .header-nav { display: none; }
    .header-hamburger { display: flex; }
    .header-lang-desktop { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-side { flex-direction: row; }
    .recent-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: 1fr; height: auto; }
    .tools-card-img { aspect-ratio: 16 / 10; }
    .quality-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .hero { height: 55vh; min-height: 380px; }
    .hero-content { padding: 2rem 1rem; }
    .hero-title { font-size: 1.6rem; }
    .featured-side { flex-direction: column; }
    .featured-main-text h2 { font-size: 1.2rem; }
    .featured-side-text h3 { font-size: 0.95rem; }
    .recent-grid { grid-template-columns: 1fr; }
    .post-header h1 { font-size: 1.9rem; text-align: center; margin-bottom: 1rem; margin-top: -1rem;}
    .category-header h1 { font-size: 1.15rem; }
    .post-meta { flex-direction: column; align-items: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .hero { height: 50vh; min-height: 320px; }
    .hero-title { font-size: 1.35rem; }
    .recent-card-body { padding: 1rem; }
    .breadcrumbs span[aria-current] {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--bg-dark);
    border-top: 1px solid #2d3748;
    padding: 1rem 1.25rem;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #94a3b8;
}

.cookie-banner-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.cookie-banner-link:hover {
    color: var(--white) !important;
    text-decoration: underline !important;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.cookie-banner-btn-reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

.cookie-banner-btn-reject:hover {
    color: var(--white);
    border-color: #94a3b8;
}

.cookie-banner-btn-customize {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

.cookie-banner-btn-customize:hover {
    color: var(--white);
    border-color: #94a3b8;
}

.cookie-banner-btn-accept {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-banner-btn-accept:hover {
    background: #d11533;
}

/* ==================== LEGAL PAGES ==================== */
.legal-hero {
    background: var(--bg-dark);
    padding: 5rem 0 3rem;
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.legal-updated {
    color: #94a3b8;
    font-size: 0.9rem;
}

.legal-content {
    padding: 3rem 0 5rem;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-section p a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section p a:hover {
    color: #2563eb;
}

.legal-links-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-links-list li {
    padding: 0.4rem 0;
}

.legal-links-list a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
}

.legal-links-list a:hover {
    color: #2563eb;
}

/* Cookie table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.cookie-table th {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.cookie-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table code {
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ==================== COOKIE SETTINGS PAGE ==================== */
.cookie-settings-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s;
}

.cookie-category:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cookie-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-cat-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-cat-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cookie-badge-required {
    background: #dcfce7;
    color: #166534;
}

.cookie-badge-optional {
    background: #fef3c7;
    color: #92400e;
}

.cookie-cat-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.cookie-cat-cookies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cookie-tag {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Toggle switch */
.cookie-toggle-always {
    display: flex;
    align-items: center;
}

.toggle-always-on {
    font-size: 0.8rem;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: background 0.3s;
}

.cookie-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked + .cookie-slider {
    background: #16a34a;
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-slider {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Settings actions */
.cookie-settings-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, color 0.2s;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn-reject:hover {
    border-color: #94a3b8;
    color: var(--text-primary);
}

.cookie-btn-save {
    background: var(--text-primary);
    color: var(--white);
}

.cookie-btn-save:hover {
    background: #1e293b;
}

.cookie-btn-accept {
    background: #16a34a;
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: #15803d;
}

.cookie-settings-saved {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cookie-settings-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-settings-note a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==================== RESPONSIVE LEGAL / COOKIES ==================== */
@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-banner-actions {
        justify-content: stretch;
    }

    .cookie-banner-btn {
        flex: 1;
        text-align: center;
        padding: 0.6rem 0.75rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem 0.65rem;
        font-size: 0.78rem;
    }

    .cookie-settings-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .legal-hero {
        padding: 4rem 0 2rem;
    }

    .cookie-cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ==================== LEGAL CONTACT CARD ==================== */
.legal-contact-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.legal-contact-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.legal-contact-item + .legal-contact-item {
    border-top: 1px solid var(--border-color);
}

.legal-contact-label {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    min-width: 80px;
}

.legal-contact-item a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-contact-item a:hover {
    color: #2563eb;
}

/* ==================== LEGAL LISTS ==================== */
.legal-list {
    padding-left: 1.25rem;
    margin: 0.75rem 0 1rem;
}

.legal-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-list li strong {
    color: var(--text-primary);
}

