/*
Theme Name: Chiang Rai Lawyer
Theme URI: 
Author: Antigravity
Author URI: 
Description: A premium, luxury WordPress theme for a high-end law firm.
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: chiangrailawyer
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Noto+Serif+Thai:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Prompt:wght@300;400;500&display=swap');

:root {
    --primary-color: #1D2C5A; /* Primary Navy */
    --primary-dark: #111e3f;  /* Deep Navy */
    --accent-color: #C9AE43; /* Primary Gold */
    --accent-hover: #a98e2e;
    --lanna-red: #8B1C1C;
    --bg-light: #F5F1E8; /* Ivory White */
    --bg-gray: #F5F1E8;  /* Ivory White */
    --text-dark: #1D2C5A;
    --text-light: #6b7080;
}

body {
    font-family: 'Prompt', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .serif-font {
    font-family: 'Noto Serif Thai', 'Playfair Display', serif;
}

.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Buttons */
.btn-luxury {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 30px;
    font-size: clamp(0.82rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.4s ease;
    text-transform: uppercase;
    min-height: 44px;
}
@media (max-width: 576px) {
    .btn-luxury, .btn-luxury-solid { padding: 12px 20px; width: 100%; text-align: center; }
}

.btn-luxury:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-luxury-solid {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-luxury-solid:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Navbar */
.navbar-custom {
    background-color: #1D2C5A !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 174, 67, 0.4) !important;
    padding: 10px 0;
    transition: all 0.3s ease;
}

body.admin-bar .navbar-custom {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .navbar-custom {
        top: 46px;
    }
}

.navbar-custom .navbar-brand {
    color: #fff;
    font-family: 'Noto Serif Thai', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-custom .nav-link {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 8px 12px !important;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

/* ── Hero V2 ── */
@media(min-width:981){
	section.hero-luxury.hero-v2{
		display:none;
	}
}
/*section.hero-luxury.hero-v2 {
    margin-top: 80px;
}*/
.hero-luxury {
    position: relative;
    background-size: cover;
    background-position: 65% center;
    color: #fff;
    overflow: hidden;
}
.hero-v2 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.hero-v2-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,18,42,0.65) 0%, rgba(10,18,42,0) 55%),
        linear-gradient(to right,  rgba(10,18,42,0.92) 0%, rgba(10,18,42,0.68) 45%, rgba(10,18,42,0.35) 100%);
    z-index: 1;
}
.hero-v2-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-top: 120px;
}
.hero-v2-text { padding-bottom: 40px; }
.hero-v2-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    white-space: nowrap;
}
.hero-v2-title {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #fff;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.hero-v2-tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}
.hero-v2-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 0;
    white-space: nowrap;
}
/* (mobile styles consolidated below in main 576px block) */

/* Lawyer photo — sits at bottom of right col, overflows slightly */
.hero-v2-photo-col { position: relative; align-self: flex-end; }
.hero-v2-photo {
    display: block;
    max-height: 88vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.5));
    animation: fadeInUp 1.2s ease-out;
}

/* Hero Buttons */
.btn-hero-gold {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.btn-hero-gold:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-hero-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: 2px;
    transition: all 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: #fff; }

/* Feature Strip */
.hero-v2-strip {
    position: relative;
    z-index: 3;
    background: rgba(10,18,42,0.88);
    border-top: 1px solid rgba(201,174,67,0.3);
    backdrop-filter: blur(6px);
}
.hero-feature-box {
    padding: 22px 20px;
    border-right: 1px solid rgba(201,174,67,0.15);
    min-height: 110px;
}
.hero-feature-box:last-child { border-right: none; }
.hero-feature-icon {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: block;
}
.hero-feature-title {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.hero-feature-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
}

/* Hero responsive — tablet (iPad) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-v2 { min-height: 70vh; }
    .hero-v2-body { align-items: center; padding-top: 110px; }
}
/* Hero responsive — mobile/small tablet */
@media (max-width: 991px) {
    .hero-v2-body { padding-top: 100px; align-items: center; }
    .hero-v2-text { padding-bottom: 30px; text-align: center; }
    .hero-v2-desc { max-width: 100%; }
    .hero-v2-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
    .btn-hero-gold, .btn-hero-outline { width: 100%; justify-content: center; }
}
@media (max-width: 576px) {
    /* Background: hidden on mobile — poster shown as <img> instead */
    .hero-luxury { background-image: none !important; }
    .hero-v2 { min-height: auto; }

    /* Text content — top of hero */
    .hero-v2-subtitle { display: none; }
    .hero-v2-title { font-size: 1.55rem; word-break: keep-all; }
    .hero-v2-tagline { font-size: 1rem; }
    .hero-v2-desc { font-size: 0.92rem; max-width: 100%; }

    /* hero-v2-body: normal flow, top-aligned, bottom padding to clear buttons */
    .hero-v2-body {
        padding-top: 130px !important;
        padding-bottom: 160px !important;
        align-items: flex-start !important;
    }
    .hero-v2-text { text-align: center; }

    /* Buttons: absolute position at bottom of hero-v2-body */
    .hero-v2-buttons {
        position: absolute !important;
        bottom: 28px;
        left: 16px;
        right: 16px;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    .hero-v2-buttons .btn-hero-gold,
    .hero-v2-buttons .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }

    /* Feature strip */
    .hero-feature-box { padding: 16px 12px; min-height: auto; border-right: none; border-bottom: 1px solid rgba(201,174,67,0.15); }
    .hero-feature-desc { display: none; }
}

/* Mobile hero poster */
.hero-mobile-poster img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-mobile-cta {
    background: #04132a;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-mobile-cta .btn {
    width: 100%;
    justify-content: center;
}
.hero-mobile-text {
    background: var(--primary-dark);
    padding: 24px 20px 20px;
    text-align: center;
}
.hero-mobile-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Keep old hero-title for other possible references */
.hero-title { font-size: clamp(1.6rem, 5vw, 3.5rem); line-height: 1.3; margin-bottom: 30px; font-weight: 600; }
.hero-subtitle { color: var(--accent-color); font-weight: 400; letter-spacing: 3px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 20px; display: block; }
.hero-content { position: relative; z-index: 2; animation: fadeInUp 1.5s ease-out; }

/* Section Headings */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.divider-gold {
    height: 1px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 30px;
}
.divider-gold-left {
    height: 1px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 0 30px 0;
}

/* Expertise Cards */
.expertise-card {
    background: #fff;
    border: 1px solid rgba(207, 181, 59, 0.2);
    padding: 50px 40px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 25, 47, 0.05);
}

.expertise-card:hover::before {
    width: 100%;
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: color 0.4s ease;
    font-weight: 300;
}
.expertise-card:hover .expertise-icon {
    color: var(--accent-color);
}

.expertise-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Stats Section */
/* Poster Slider Section */
.poster-slider-section {
    padding: 60px 0 80px;
    background: #f8f5ef;
    overflow: hidden;
}
.poster-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
    cursor: grab;
}
.poster-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    animation: posterScroll 35s linear infinite;
}
.poster-slider-track:hover {
    animation-play-state: paused;
}
.poster-slide {
    flex-shrink: 0;
    width: clamp(200px, 35vw, 260px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    position: relative;
    text-decoration: none;
    display: block;
    background: #fff;
}
.poster-slide img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.poster-slide:hover img {
    transform: scale(1.05);
}
.poster-slide-caption {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Noto Serif Thai', serif;
    line-height: 1.4;
    background: #fff;
}
@keyframes posterScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .poster-slider-track { animation: none; }
}

/* Profile Section */
.profile-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.profile-img-wrapper {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.profile-img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px; left: 0;
    width: 100%; height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    z-index: 0;
    transition: all 0.5s ease;
}

.profile-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.profile-img-wrapper:hover .profile-img {
    transform: translateY(-10px) translateX(10px);
    box-shadow: -10px 20px 40px rgba(10, 25, 47, 0.2);
}

.profile-img-wrapper:hover::before {
    transform: translateY(10px) translateX(-10px);
    border-color: var(--primary-color);
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-color);
    font-style: italic;
    margin-top: 30px;
}

/* Footer */
.luxury-footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 30px;
    font-size: 0.9rem;
}
.luxury-footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.luxury-footer ul li {
    margin-bottom: 15px;
}
.luxury-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.luxury-footer a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    margin-top: 50px;
}

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

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Lanna Identity Enhancements */
.lanna-bg {
    background-color: var(--primary-color);
    background-image: 
        linear-gradient(45deg, rgba(207, 181, 59, 0.03) 25%, transparent 25%, transparent 75%, rgba(207, 181, 59, 0.03) 75%, rgba(207, 181, 59, 0.03)),
        linear-gradient(45deg, rgba(207, 181, 59, 0.03) 25%, transparent 25%, transparent 75%, rgba(207, 181, 59, 0.03) 75%, rgba(207, 181, 59, 0.03));
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    position: relative;
}

.lanna-border {
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 10px;
    position: relative;
    background-color: var(--primary-dark);
}
.lanna-border::after {
    content: '';
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border: 2px solid var(--lanna-red);
    border-radius: 12px;
    pointer-events: none;
}


/* Social Follow Boxes */
.social-box {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    aspect-ratio: 4/3;
}
.social-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.28);
    color: #fff;
}
.social-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}
.social-box:hover .social-bg-img {
    transform: scale(1.05);
}
.social-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.social-box-fb    .social-overlay { background: linear-gradient(to top, rgba(13,90,171,0.92) 0%, rgba(24,119,242,0.55) 50%, rgba(0,0,0,0.10) 100%); }
.social-box-tiktok .social-overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(20,20,20,0.55) 50%, rgba(0,0,0,0.10) 100%); }
.social-box-group  .social-overlay { background: linear-gradient(to top, rgba(100,72,10,0.95) 0%, rgba(185,148,50,0.55) 50%, rgba(0,0,0,0.10) 100%); }
.social-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 28px;
    text-align: center;
}
.social-box i {
    font-size: 2.4rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.social-box-tiktok i {
    color: #25F4EE;
    filter: drop-shadow(2px 2px 0px #FE2C55);
}
.social-title {
    font-family: 'Noto Serif Thai', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.social-subtitle {
    font-size: 0.85rem;
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Social Cards - Profile Preview Style */
.social-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-decoration: none;
    transition: all 0.4s ease;
    height: 100%;
}
.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.social-card-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.social-card-cover > img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.social-card:hover .social-card-cover > img {
    transform: scale(1.05);
}
.social-cover-dark > img {
    filter: brightness(0.45);
}
.social-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}
.social-card-overlay i { font-size: 1.2rem; }
.social-overlay-fb   { background: linear-gradient(transparent, rgba(24,119,242,0.85)); }
.social-overlay-tiktok { background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.social-overlay-tiktok i { color: #25F4EE; filter: drop-shadow(1px 1px 0 #FE2C55); }
.social-overlay-group  { background: linear-gradient(transparent, rgba(180,140,40,0.85)); }
.social-card-body {
    padding: 16px 18px 20px;
}
.social-card-name {
    font-family: 'Noto Serif Thai', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
    line-height: 1.3;
}
.social-card-handle {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.4;
}
.social-card-stat {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 14px;
}
.social-card-stat i { margin-right: 4px; }
.social-card-btn {
    display: block;
    padding: 9px 0;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.social-btn-fb { background: #1877F2; }
.social-btn-tiktok { background: #111; }
.social-btn-group { background: var(--accent-color); }

/* Why Choose Us — section background */
.why-section { background-color: #fff; padding: 100px 0; }

/* Why Choose Us — image cards */
.why-img-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(201,174,67,0.22);
    box-shadow: 0 4px 18px rgba(29,44,90,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(29,44,90,0.15);
}
.why-img-frame {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}
.why-img-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* 5-column layout for lg+ */
@media (min-width: 992px) {
    .col-lg-2-4 { flex: 0 0 auto; width: 20%; }
}

/* Legal Services — 5 columns on XL, 3 on MD, 2 on mobile */
@media (min-width: 1200px) {
    .col-xl-service { flex: 0 0 auto; width: 20%; }
}
.service-card {
    padding: 14px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,174,67,0.25);
    color: #fff;
    transition: background 0.3s, transform 0.3s;
    height: 100%;
}
.service-card:hover {
    background: rgba(201,174,67,0.12);
    transform: translateY(-3px);
}
.service-card h5 { font-size: 0.88rem; }
.service-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

/* Latest Articles Section */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.article-card-img-link {
    display: block;
    overflow: hidden;
    position: relative;
}
.article-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.article-card:hover .article-card-img { transform: scale(1.05); }
.article-card-img-placeholder {
    height: 210px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a1f0e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2.5rem;
    opacity: 0.7;
}
.article-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent-color);
    color: #1a1000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.article-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-card-date {
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.article-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.6;
}
.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.article-card-title a:hover { color: var(--accent-color); }
.article-card-excerpt {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 18px;
}
.article-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    border-top: 1px solid #f0e8d8;
    padding-top: 14px;
    transition: gap 0.3s, color 0.3s;
}
.article-card-btn:hover {
    gap: 10px;
    color: var(--primary-color);
}

/* Form inputs — touch target min 44px, prevent iOS zoom (font-size ≥ 16px) */
.form-control, .form-select, input[type="text"], input[type="tel"], input[type="email"], textarea, select {
    min-height: 44px;
    font-size: 16px !important;
}
@media (max-width: 576px) {
    .form-control, .form-select { font-size: 16px !important; }
}

/* Section title responsive */
@media (max-width: 768px) {
    .section-title { font-size: clamp(1.4rem, 5vw, 2.5rem); }
    .profile-section { padding: 60px 0; }
    .profile-img-wrapper { padding-left: clamp(0px, 3vw, 20px); padding-bottom: clamp(0px, 3vw, 20px); }
}

/* iframe responsive */
.map-container iframe { max-width: 100%; }

/* Hover accent (footer & contact social links) */
.hover-accent { transition: color 0.3s ease; }
.hover-accent:hover { color: var(--accent-color) !important; }

/* Expertise tags (profile section) */
.expertise-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--primary-color);
    background: #fff;
    border: 1px solid rgba(29,44,90,0.18);
    border-left: 3px solid var(--accent-color);
    padding: 5px 10px;
    border-radius: 2px;
    line-height: 1.5;
}
