/**
 * VettedChina - WorldTravelGuide (WTG) Editorial Magazine Design System
 * 100% Local CSS - Zero External Dependencies - High Performance & Full SEO Compliance
 */

/* ==========================================================================
   1. Design Tokens & Editorial Color Palette
   ========================================================================== */
:root {
    --font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;
    --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* WTG Signature Editorial Colors */
    --wtg-red: #d32f2f;
    --wtg-red-hover: #b71c1c;
    --wtg-red-light: #fef2f2;
    --wtg-emerald: #059669;
    --wtg-emerald-light: #ecfdf5;
    --wtg-dark: #111827;
    --wtg-dark-secondary: #1f2937;
    --wtg-slate: #4b5563;
    --wtg-muted: #6b7280;
    --wtg-light: #f9fafb;
    --wtg-border: #e5e7eb;
    --wtg-border-subtle: #f3f4f6;
    
    /* Layout */
    --container-max: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==========================================================================
   2. Reset & Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--wtg-dark);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Container */
.wtg-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Section Header (WTG Classic Editorial Style) */
.wtg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--wtg-dark);
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
}

.wtg-section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wtg-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.wtg-section-link {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wtg-red);
}

.wtg-section-link:hover {
    color: var(--wtg-red-hover);
    text-decoration: underline;
}

/* ==========================================================================
   3. WTG Header & Global Search Bar
   ========================================================================== */
.wtg-top-strip {
    background-color: #1c2145; /* Same Deep Navy as Navigation Bar */
    color: #cbd5e1;
    font-size: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #2e3561;
}

.wtg-header {
    background-color: #ffffff; /* Restored Original Clean White Logo Area */
    border-bottom: 1px solid var(--wtg-border);
    padding: 1.15rem 0;
}

.wtg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.wtg-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.wtg-logo-mark {
    background-color: var(--wtg-red);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    letter-spacing: -0.05em;
}

.wtg-logo-text {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--wtg-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.wtg-logo-text span {
    color: var(--wtg-red);
}

/* Primary Search Box */
.wtg-search-bar {
    flex: 1;
    max-width: 540px;
    display: flex;
    align-items: center;
    background-color: var(--wtg-light);
    border: 1px solid var(--wtg-border);
    border-radius: 9999px;
    padding: 0.35rem 0.5rem 0.35rem 1.25rem;
}

.wtg-search-input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.875rem;
    color: var(--wtg-dark);
    outline: none;
}

.wtg-search-input::placeholder {
    color: #94a3b8;
}

.wtg-search-btn {
    background-color: var(--wtg-red);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.wtg-search-btn:hover {
    background-color: var(--wtg-red-hover);
}

/* Navigation Strip (Signature Deep Navy Bar with Full-Block Hover/Active States) */
.wtg-nav-strip {
    background-color: #1c2145;
    border-bottom: 1px solid #141833;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.wtg-nav-strip .wtg-container {
    max-width: 1360px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.wtg-nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
    height: 48px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.wtg-nav-menu::-webkit-scrollbar {
    display: none;
}

.wtg-nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.wtg-nav-menu a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 clamp(0.5rem, 0.95vw, 1.15rem);
    color: #ffffff;
    font-size: clamp(0.75rem, 0.82vw, 0.8125rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
    border-bottom: 3px solid transparent;
}

.wtg-nav-menu a:hover {
    background-color: #2e3561;
    color: #ffffff;
    border-bottom: 3px solid #a855f7;
}

.wtg-nav-menu a.active {
    background-color: #383d66;
    color: #ffffff;
    border-bottom: 3px solid #c084fc;
}

/* Dropdown Menu Styles */
.wtg-nav-item-dropdown {
    position: relative;
}

.wtg-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background-color: #161a38;
    border: 1px solid #2e3561;
    border-top: 2px solid var(--wtg-emerald);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.45);
    z-index: 1200;
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
}

.wtg-nav-item-dropdown:hover .wtg-nav-dropdown {
    display: block;
}

.wtg-nav-dropdown li {
    display: block;
    width: 100%;
}

.wtg-nav-dropdown a {
    display: flex;
    align-items: center;
    height: auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: #cbd5e1;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 0.15s, color 0.15s;
}

.wtg-nav-dropdown a:hover {
    background-color: #262c57;
    color: #38bdf8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Secondary Inspection Sub-Nav Bar */
.wtg-subnav-strip {
    background: #0f172a;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
}

.wtg-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.15s;
}

.wtg-subnav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.wtg-subnav-link.active {
    background: var(--wtg-emerald);
    color: #ffffff;
}

/* ==========================================================================
   4. WTG Signature Editorial Hero (1 Big Feature + 3 Stacked Cards)
   ========================================================================== */
.wtg-hero-section {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
}

.wtg-hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .wtg-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Big Lead Feature Card */
.wtg-lead-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--wtg-dark);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wtg-lead-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.wtg-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.wtg-lead-content {
    position: relative;
    z-index: 2;
}

.wtg-tag {
    display: inline-block;
    background-color: var(--wtg-red);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.wtg-tag-emerald {
    background-color: var(--wtg-emerald);
}

.wtg-lead-title {
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.wtg-lead-desc {
    font-size: 0.9375rem;
    color: #e5e7eb;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 550px;
}

.wtg-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    display: flex;
    gap: 1rem;
}

/* Stacked Side Articles */
.wtg-stacked-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.wtg-story-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    background-color: var(--wtg-light);
    border: 1px solid var(--wtg-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.wtg-story-item:hover {
    background-color: #ffffff;
    border-color: var(--wtg-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.wtg-story-thumb {
    width: 140px;
    height: 105px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.wtg-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wtg-story-item:hover .wtg-story-thumb img {
    transform: scale(1.05);
}

.wtg-story-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wtg-dark);
    margin-bottom: 0.35rem;
}

.wtg-story-snippet {
    font-size: 0.75rem;
    color: var(--wtg-slate);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   4.1 WTG Full-Cycle Services & Solutions Grid
   ========================================================================== */
.wtg-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .wtg-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .wtg-services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

.wtg-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--wtg-border);
    border-radius: var(--radius-sm);
    padding: 1.35rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wtg-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.wtg-service-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.wtg-service-tag {
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wtg-service-price {
    font-size: 0.875rem;
    font-weight: 800;
    white-space: nowrap;
}

.wtg-service-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--wtg-dark);
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wtg-service-body {
    font-size: 0.8125rem;
    color: var(--wtg-slate);
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wtg-service-foot {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #f1f5f9;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   4.2 WTG Manufacturing Industries Grid
   ========================================================================== */
.wtg-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .wtg-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .wtg-industries-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

.wtg-industry-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--wtg-border);
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1.15rem 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wtg-industry-card:hover {
    transform: translateY(-3px);
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37,99,235,0.08);
}

.wtg-ind-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.wtg-ind-hub-badge {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.wtg-ind-price-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.wtg-ind-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
}

.wtg-ind-subproducts {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 0.85rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wtg-ind-protocol-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    padding: 0.85rem 0.95rem;
    margin-bottom: 1rem;
}

.wtg-ind-protocol-headline {
    font-size: 0.75rem;
    font-weight: 800;
    color: #b91c1c;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.wtg-ind-protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.6;
    color: #334155;
}

.wtg-ind-protocol-list li {
    position: relative;
    padding-left: 0.75rem;
    margin-bottom: 0.25rem;
}

.wtg-ind-protocol-list li:last-child {
    margin-bottom: 0;
}

.wtg-ind-protocol-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.wtg-ind-protocol-list strong {
    color: #0f172a;
    font-weight: 700;
}

.wtg-ind-bottom-bar {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.wtg-ind-link-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b91c1c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.wtg-ind-link-text:hover {
    text-decoration: underline;
}

.wtg-ind-book-btn {
    display: inline-block;
    background: #059669;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.wtg-ind-book-btn:hover {
    background: #047857;
    color: #ffffff;
}

.wtg-ind-book-btn:hover {
    background: #047857;
    color: #ffffff;
}

/* ==========================================================================
   5. WTG "Destinations & Industrial Hubs" Photo Grid
   ========================================================================== */
.wtg-destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .wtg-destinations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .wtg-destinations-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

.wtg-dest-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--wtg-border, #e2e8f0);
    border-radius: 10px;
    padding: 1.25rem 1.15rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 175px;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    border-top: 3px solid #cbd5e1;
}

.wtg-dest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border-color: #94a3b8;
    border-top-color: var(--wtg-red, #dc2626);
}

.wtg-dest-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.wtg-dest-region-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.2;
}

.wtg-dest-dispatch-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.wtg-dest-name {
    font-family: var(--font-serif, inherit);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--wtg-dark, #0f172a);
    margin: 0 0 0.45rem 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.wtg-dest-card:hover .wtg-dest-name {
    color: var(--wtg-red, #dc2626);
}

.wtg-dest-sub {
    font-size: 0.8125rem;
    color: var(--wtg-slate, #475569);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.wtg-dest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem;
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wtg-slate, #64748b);
    transition: color 0.2s ease;
}

.wtg-dest-card:hover .wtg-dest-footer {
    color: var(--wtg-red, #dc2626);
}

.wtg-dest-arrow {
    transition: transform 0.2s ease;
}

.wtg-dest-card:hover .wtg-dest-arrow {
    transform: translateX(3px);
}


/* ==========================================================================
   6. WTG 3-Column Magazine Feature Stories
   ========================================================================== */
.wtg-magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 800px) {
    .wtg-magazine-grid {
        grid-template-columns: 1fr;
    }
}

.wtg-mag-card {
    border: 1px solid var(--wtg-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    height: 100%;
}

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

.wtg-mag-media {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.wtg-mag-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.wtg-mag-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wtg-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wtg-mag-snippet {
    font-size: 0.8125rem;
    color: var(--wtg-slate);
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   7. WTG Practical Sourcing Tools (AQL & Inspection Rates Table)
   ========================================================================== */
.wtg-tools-section {
    background-color: var(--wtg-light);
    border-top: 1px solid var(--wtg-border);
    border-bottom: 1px solid var(--wtg-border);
    padding: 3.5rem 0;
    margin-bottom: 3.5rem;
}

.wtg-calc-box {
    background-color: #ffffff;
    border: 1px solid var(--wtg-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.wtg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.wtg-table th {
    background-color: var(--wtg-dark);
    color: #ffffff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
}

.wtg-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--wtg-border);
    color: var(--wtg-dark-secondary);
}

.wtg-table tr:hover td {
    background-color: var(--wtg-light);
}

/* ==========================================================================
   8. Buttons, Forms & Footers
   ========================================================================== */
.wtg-btn {
    display: inline-block;
    background-color: var(--wtg-red);
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-align: center;
}

.wtg-btn:hover {
    background-color: var(--wtg-red-hover);
}

.wtg-btn-emerald {
    background-color: var(--wtg-emerald);
}

.wtg-btn-emerald:hover {
    background-color: #047857;
}

.wtg-footer {
    background-color: #1c2145;
    border-top: 1px solid #2e3561;
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 3.5rem 0 2rem 0;
}

.wtg-footer h4 {
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.wtg-footer-links {
    list-style: none;
    line-height: 2;
}

.wtg-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wtg-footer-links a:hover {
    color: #34d399;
}

/* ==========================================================================
   9. Dedicated Mobile First UI & App-Like Shell (Screens <= 768px)
   ========================================================================== */

/* Desktop defaults: Hide all mobile-only shells */
.wtg-mobile-header,
.wtg-mobile-search-drawer,
.wtg-mobile-drawer,
.wtg-mobile-drawer-backdrop,
.wtg-mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 72px; /* Space for sticky bottom tab bar */
    }

    /* Hide desktop cluttered header strips on mobile */
    .wtg-top-strip,
    .wtg-header,
    .wtg-nav-strip {
        display: none !important;
    }

    /* 1. Mobile App Top Bar */
    .wtg-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        background-color: #111827;
        color: #ffffff;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }

    .wtg-mob-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        color: #ffffff;
    }

    .wtg-mob-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .wtg-mob-icon-btn {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        color: #ffffff;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.2s ease;
    }

    .wtg-mob-wa-btn {
        background: #25D366;
        border-color: #22c55e;
    }

    /* 2. Mobile Slide-Down Search */
    .wtg-mobile-search-drawer {
        display: none;
        padding: 0.75rem 1rem;
        background-color: #1f2937;
        border-bottom: 1px solid #374151;
        position: sticky;
        top: 54px;
        z-index: 999;
    }

    .wtg-mobile-search-drawer.active {
        display: block;
    }

    /* 3. Mobile Slide-Out Drawer Menu */
    .wtg-mobile-drawer-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(2px);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .wtg-mobile-drawer-backdrop.active {
        display: block;
        opacity: 1;
    }

    .wtg-mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 340px;
        height: 100%;
        background-color: #ffffff;
        z-index: 9999;
        box-shadow: -4px 0 25px rgba(0,0,0,0.25);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

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

    .wtg-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.25rem;
        background-color: #111827;
        color: #ffffff;
    }

    .wtg-drawer-close {
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
        padding: 0.25rem;
    }

    .wtg-drawer-body {
        padding: 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .wtg-drawer-section-title {
        font-size: 0.6875rem;
        font-weight: 800;
        color: #94a3b8;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin: 1rem 0 0.5rem 0;
    }

    .wtg-drawer-section-title:first-child {
        margin-top: 0;
    }

    .wtg-drawer-menu {
        list-style: none;
        margin-bottom: 0.5rem;
    }

    .wtg-drawer-menu li a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #f1f5f9;
        color: #1e293b;
        font-size: 0.9375rem;
        font-weight: 600;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.15s ease;
    }

    .wtg-drawer-menu li a:active,
    .wtg-drawer-menu li a:hover {
        background-color: #f8fafc;
        color: #d32f2f;
    }

    .drawer-icon {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .drawer-badge {
        margin-left: auto;
        font-size: 0.6875rem;
        font-weight: 800;
        background-color: #ecfdf5;
        color: #059669;
        padding: 2px 7px;
        border-radius: 4px;
    }

    .wtg-drawer-cta {
        margin-top: auto;
        padding-top: 1.5rem;
    }

    /* 4. Mobile Bottom Sticky Tab Bar (App Experience) */
    .wtg-mobile-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
        z-index: 9995;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .wtg-mob-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none;
        color: #64748b;
        font-size: 0.6875rem;
        font-weight: 700;
        height: 100%;
        transition: color 0.15s ease;
        user-select: none;
    }

    .wtg-mob-tab-icon {
        font-size: 1.25rem;
        line-height: 1;
    }

    .wtg-mob-tab.active {
        color: #d32f2f;
    }

    .wtg-mob-tab-wa {
        color: #16a34a;
    }

    /* 5. Mobile Global Responsive Tweaks */
    .wtg-hero-grid,
    .wtg-destinations-grid,
    .wtg-magazine-grid,
    .wtg-services-grid,
    .wtg-industries-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .wtg-section-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .wtg-section-title {
        font-size: 1.5rem !important;
    }

    .wtg-footer > .wtg-container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    /* Mobile Table horizontal scroll wrapper */
    .wtg-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Guide Multi-Language Continuity Banner */
.wtg-guide-lang-banner {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.8125rem;
    padding: 10px 16px;
    z-index: 999;
}
.wtg-guide-lang-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.wtg-guide-lang-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}
.wtg-guide-lang-text strong {
    color: #ffffff;
}
.wtg-guide-lang-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.wtg-guide-lang-back-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8 !important;
    padding: 5px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid rgba(56, 189, 248, 0.35);
}
.wtg-guide-lang-back-btn:hover {
    background: #38bdf8;
    color: #0f172a !important;
}
@media (max-width: 768px) {
    .wtg-guide-lang-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .wtg-guide-lang-back-btn {
        justify-content: center;
        text-align: center;
    }
}

