:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --text: #334155;
    --text-light: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #EA580C 100%);
    /* Bright teal->amber for highlighted text on the dark hero (high contrast: 7-10:1) */
    --gradient-bright: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    /* AA-safe text colors for use on LIGHT backgrounds (teal-600/amber-500 fail
       4.5:1 as small text on white; these darker tones pass). */
    --link: #0F766E;          /* teal-700  -> 5.3:1 on white */
    --link-hover: #B45309;    /* amber-700 -> 5.8:1 on white */
    --danger-text: #DC2626;   /* red-600   -> 4.8:1 on white */
    --success-text: #047857;  /* emerald-700 -> 5.5:1 on white */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.95);
    padding: 5px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-dark);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--light);
    color: var(--link);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    padding: 100px 0;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease;
}

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

.tagline {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-title .highlight {
    background: var(--gradient-bright);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    margin-top: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-light);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

/* Problems Section */
.problems {
    background: white;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid #EF4444;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: #FEE2E2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Solutions Section */
.solutions {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
}

.solutions .section-title,
.solutions .section-subtitle {
    color: white;
}

.solutions .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.solution-card {
    display: block;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.solution-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

.solution-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 15px;
}

.solution-card p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* Equipment Section */
.equipment {
    background: white;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.equipment-card {
    background: var(--light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.equipment-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform: translateY(-10px);
}

.equipment-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.equipment-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 100%);
}

.equipment-content {
    padding: 30px;
}

.equipment-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.equipment-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.equipment-card > .equipment-content > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* RFID Tags Section */
.tags {
    background: var(--light);
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tag-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.tag-card:nth-child(2) {
    border-top-color: var(--accent);
}

.tag-card:nth-child(3) {
    border-top-color: #8B5CF6;
}

.tag-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tag-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.tag-card .tag-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tag-specs {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
}

.tag-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tag-spec-row:last-child {
    border-bottom: none;
}

.tag-spec-row span:first-child {
    color: var(--text-light);
    font-size: 0.9rem;
}

.tag-spec-row span:last-child {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Comparison Section */
.comparison {
    background: white;
}

.comparison-table {
    background: var(--light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 25px;
    text-align: left;
}

.comparison-table th {
    background: var(--dark);
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: white;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--dark);
}

.old-way {
    color: var(--danger-text);
}

.new-way {
    color: var(--success-text);
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.contact-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}

/* CTA Button */
.cta-section {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

/* Footer */
footer {
    background: #0A0F1C;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-company {
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
}

/* "Part of the ERKSONS group" backlink — without an explicit rule the text
   inherited the dark body color on the near-black footer (~1.8:1). */
.footer-group {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 6px;
}

.footer-group a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-group a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .equipment-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-table table {
        min-width: 600px;
    }

    .lang-switcher {
        top: 10px;
        right: 10px;
    }
}

/* ==========================================================================
   ERFID rebuild additions (NOT in the original template).
   Server-side language now drives content, so the [data-lang] visibility
   block was removed. The pieces below add: anchor-styled language buttons,
   the fixed main navigation pill, static-page styling and error tweaks.
   ========================================================================== */

/* Language buttons are now <a> links: keep them looking like the old buttons. */
a.lang-btn {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

/* Main navigation pill — fixed top-left, mirrors .lang-switcher styling. */
.main-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background: rgba(255,255,255,0.95);
    padding: 5px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.main-nav-link {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
}

.main-nav-link:hover {
    background: var(--light);
    color: var(--link);
}

/* Static content page (e.g. privacy policy). */
.static-page {
    background: white;
    min-height: 60vh;
    padding-top: 140px;
}

.static-page .section-title {
    margin-bottom: 40px;
}

.static-page-body {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.static-page-body h2,
.static-page-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark);
    margin: 30px 0 15px;
}

.static-page-body p {
    margin-bottom: 16px;
}

.static-page-body ul,
.static-page-body ol {
    margin: 0 0 16px 24px;
}

.static-page-body a {
    color: var(--link);
}

/* Error page tweaks (reuses .hero design language). */
.error-hero .error-code {
    font-size: 6rem;
}

/* Hide the main navigation on small screens (matches template breakpoint). */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

/* --- Addition: footer SEO text block with read-more toggle --- */
.footer-seo {
    max-width: 900px;
    margin: 0 auto 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.footer-seo-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.7;
    overflow: hidden;
    max-height: 4.4em; /* ~3 lines collapsed */
    position: relative;
    transition: max-height 0.4s ease;
}

.footer-seo-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, #0A0F1C);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer-seo-text.expanded {
    max-height: 200em;
}

.footer-seo-text.expanded::after {
    opacity: 0;
}

.footer-seo-text p {
    margin-bottom: 12px;
}

.footer-seo-text strong {
    color: rgba(255, 255, 255, 0.6);
}

.footer-seo-toggle {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: color 0.3s ease;
}

.footer-seo-toggle:hover {
    color: var(--accent);
}

/* --- Addition: SVG brand logo on dark hero/footer (white SVG variant,
       no backing card) --- */
.logo img {
    height: 96px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

.footer-logo img {
    height: 56px;
    width: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .logo img {
        height: 72px;
    }
}

/* --- Addition: news section (landing block + /news pages) --- */
.news {
    background: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.news-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: var(--gradient);
}

.news-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.news-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.news-more {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--link);
    transition: color 0.3s ease;
}

.news-card:hover .news-more {
    color: var(--link-hover);
}

.news-all-wrap {
    text-align: center;
    margin-top: 50px;
}

.news-all-btn {
    display: inline-block;
    padding: 14px 34px;
    border: 2px solid var(--link);
    border-radius: 50px;
    color: var(--link);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-all-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* /news list + article pages */
.news-page {
    min-height: 60vh;
    padding-top: 120px;
}

.news-empty {
    text-align: center;
    color: var(--text-light);
}

.news-pager {
    margin-top: 50px;
    text-align: center;
}

.news-pager .pagination {
    display: inline-flex;
    gap: 8px;
    list-style: none;
}

.news-pager .pagination a {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    background: white;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-pager .pagination .active a,
.news-pager .pagination a:hover {
    background: var(--primary-dark);
    color: white;
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.news-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-back {
    color: var(--link);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-back:hover {
    color: var(--link-hover);
}

.news-article-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 25px;
}

.news-article-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 25px;
}

.news-article-lead {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 20px;
}

.news-article-body {
    color: var(--text);
    line-height: 1.8;
}

.news-article-body p {
    margin-bottom: 16px;
}

.news-article-body ul,
.news-article-body ol {
    margin: 0 0 16px 24px;
}

.news-article-body img {
    max-width: 100%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .news-article {
        padding: 30px 22px;
    }

    .news-article-title {
        font-size: 1.5rem;
    }
}

/* Links inside the footer SEO text */
.footer-seo-text a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-seo-text a:hover {
    color: var(--accent);
}

/* --- Addition: inline SVG icons (common\helpers\Icon) — sizing and colors
       per container; emoji fallback unaffected --- */
.problem-icon svg {
    width: 26px;
    height: 26px;
    color: #EF4444;
}

.solution-icon svg {
    width: 34px;
    height: 34px;
    color: #fff;
}

.equipment-image svg {
    width: 84px;
    height: 84px;
    color: #fff;
}

.tag-emoji svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}
