/*
Theme Name: Globalink Web Solutions
Theme URI: https://www.globalinkwebsolutions.com
Author: Abdul Samad
Author URI: https://globalinkwebsolutions.com
Description: Custom blog theme for Globalink Web Solutions — matching the main site branding. SEO-optimized with schema markup, Open Graph, share buttons, breadcrumbs, and responsive design.
Version: 2.0
License: Proprietary
Text Domain: globalink
Tags: blog, custom-header, custom-logo, featured-images, one-column, two-columns
Requires at least: 5.9
Requires PHP: 7.4
*/


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

  :root {
    --red:          #e50914;
    --red-deep:     #b20710;
    --red-gradient: linear-gradient(135deg, #e50914 0%, #b20710 60%, #7f0000 100%);
    --red-pale:     #fff0f0;
    --red-muted:    rgba(229,9,20,0.09);
    --red-glow:     rgba(229,9,20,0.22);
    --border-red:   rgba(229,9,20,0.18);
    --bg:           #ffffff;
    --bg2:          #fafafa;
    --bg3:          #f5f0f0;
    --bg-dark:      #140000;
    --border:       rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.16);
    --text:         #141414;
    --text-muted:   #6b4040;
    --text-dim:     #b07070;
    --card:         #ffffff;
    --tag:          rgba(229,9,20,0.08);
    --success:      #16a34a;
    --font: 'Anek Telugu', 'Anek Telugu Fallback', system-ui, sans-serif;
    --radius:       14px;
    --radius-lg:    20px;
    --shadow-sm:    0 2px 10px rgba(229,9,20,0.07);
    --shadow-md:    0 8px 32px rgba(229,9,20,0.11);
    --shadow-lg:    0 20px 60px rgba(229,9,20,0.15);
  }

  html { scroll-behavior: smooth; }
  body { background:var(--bg); color:var(--text); font-family:var(--font); font-size:15px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }

  /* ── NAV ── */
  nav { position:fixed; top:0; left:0; right:0; z-index:100; display:flex; align-items:center; justify-content:space-between; padding:0 44px; height:68px; background:rgba(255,255,255,0.94); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); box-shadow:0 1px 0 rgba(229,9,20,0.06); }
  .nav-logo { text-decoration:none; display:flex; align-items:center; line-height:0; }
  /* nav-logo-icon replaced by SVG */
  .nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
  .nav-links a { color:var(--text-muted); text-decoration:none; font-size:14px; font-weight:500; transition:color 0.2s; }
  .nav-links a:hover { color:var(--red); }
  .has-dropdown { position:relative; }
  .has-dropdown:hover .dropdown { opacity:1; pointer-events:all; transform:translateY(0); }
  .dropdown { position:absolute; top:100%; left:-16px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:14px 8px 8px 8px; min-width:185px; opacity:0; pointer-events:none; transform:translateY(-8px); transition:all 0.2s ease; box-shadow:var(--shadow-lg); }
  .dropdown a { display:block; padding:9px 14px; border-radius:8px; font-size:14px; color:var(--text-muted) !important; transition:background 0.15s,color 0.15s !important; }
  .dropdown a:hover { background:var(--red-pale); color:var(--red) !important; }
  .nav-right { display:flex; align-items:center; gap:8px; }
  .nav-phone { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-muted); text-decoration:none; padding:7px 14px; background:var(--bg3); border:1px solid var(--border); border-radius:8px; font-weight:500; transition:border-color 0.2s,color 0.2s; }
  .nav-phone:hover { border-color:var(--red); color:var(--red); }

  /* Client login button */
  .nav-login { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-muted); text-decoration:none; padding:7px 14px; background:var(--bg3); border:1.5px solid var(--border); border-radius:8px; font-weight:600; transition:all 0.2s; }
  .nav-login:hover { border-color:var(--red); color:var(--red); background:var(--red-pale); }
  .nav-login svg { width:14px; height:14px; }
  .nav-cta { background:var(--red-gradient); color:#fff; padding:9px 20px; border-radius:8px; font-size:13px; font-weight:700; text-decoration:none; font-family:var(--font); box-shadow:0 4px 14px var(--red-glow); transition:opacity 0.2s,transform 0.2s; }
  .nav-cta:hover { opacity:0.9; transform:translateY(-1px); }

  /* ── HERO ── */
  
/* ── LAYOUT ── */
  section { padding:100px 24px; }
  .container { max-width:1140px; margin:0 auto; }
  .section-label { display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; color:var(--red); margin-bottom:14px; }
  .section-label::before { content:''; width:22px; height:2.5px; background:var(--red-gradient); border-radius:2px; }
  .section-title { font-family:var(--font); font-size:clamp(30px,4vw,52px); font-weight:800; letter-spacing:-1.5px; line-height:1.08; margin-bottom:14px; color:var(--text); }
  .section-sub { color:var(--text-muted); font-size:17px; max-width:560px; line-height:1.75; }
  .text-center { text-align:center; }
  .text-center .section-sub { margin:0 auto; }
  .text-center .section-label { justify-content:center; }

  /* ── BILLING TOGGLE ── */
  
/* ── FOOTER ── */
  footer { background:var(--bg2); border-top:1px solid var(--border); padding:64px 24px 44px; }
  .footer-grid { max-width:1140px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; }
  .footer-brand p { font-size:14px; color:var(--text-muted); margin-top:12px; max-width:285px; line-height:1.75; }
  .footer-col h4 { font-family:var(--font); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--text-dim); margin-bottom:16px; }
  .footer-col ul { list-style:none; }
  .footer-col li { margin-bottom:10px; }
  .footer-col a { color:var(--text-muted); text-decoration:none; font-size:14px; transition:color .2s; }
  .footer-col a:hover { color:var(--red); }
  .footer-bottom { max-width:1140px; margin:44px auto 0; padding-top:22px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--text-dim); }
  .footer-badges { display:flex; gap:8px; flex-wrap:wrap; }
  .badge { background:var(--bg3); border:1px solid var(--border); border-radius:6px; padding:4px 10px; font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }

  /* ── REVEAL ── */
  .reveal { opacity:0; transform:translateY(22px); transition:opacity .6s ease,transform .6s ease; }
  .reveal.visible { opacity:1; transform:translateY(0); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .nav-links{display:none;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    section{padding:72px 20px;}
    .hero-stats{gap:28px;}
    .cta-banner{padding:48px 24px;}
    .dc-points{grid-template-columns:1fr;}
    .domain-form{flex-direction:column;}
    .domain-btn{border-radius:0 0 var(--radius) var(--radius);}
  }

  /* ══════════════════════════════════════════════
     HAMBURGER MENU
  ══════════════════════════════════════════════ */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: transparent;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile slide-down nav */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    z-index: 99;
    box-shadow: 0 8px 32px rgba(229,9,20,0.08);
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--red); }
  .mobile-nav .mobile-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    padding: 14px 4px 6px;
  }
  .mobile-nav .mobile-cta {
    display: block;
    margin-top: 16px;
    padding: 13px;
    background: var(--red-gradient);
    color: #fff !important;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 700;
    border-bottom: none !important;
    box-shadow: 0 4px 14px var(--red-glow);
  }

  /* ══════════════════════════════════════════════
     TABLET  ≤ 1024px
  ══════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    nav { padding: 0 24px; }
    .nav-links { gap: 18px; }
    .nav-phone { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .vps-grid     { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hosting-types { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
  }

  /* ══════════════════════════════════════════════
     MOBILE  ≤ 768px
  ══════════════════════════════════════════════ */
  @media (max-width: 768px) {
    /* Nav */
    nav { padding: 0 20px; height: 60px; }
    .nav-links  { display: none; }
    .nav-right  { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-nav { top: 60px; }

    /* Hero */
    .hero { padding: 90px 20px 60px; min-height: auto; }
    .hero h1 { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1.5px; }
    .hero p   { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; max-width: 320px; text-align: center; }
    .hero-stats { gap: 20px; margin-top: 48px; padding-top: 28px; }
    .stat-num   { font-size: 26px; }
    .hero-chips { gap: 8px; }
    .hero-chip  { font-size: 12px; padding: 6px 12px; }

    /* Domain hero */
    .domain-hero { padding: 90px 20px 60px; }
    .domain-hero h1 { font-size: clamp(32px, 9vw, 52px); letter-spacing: -1.5px; }
    .domain-form { flex-direction: column; border-radius: var(--radius); overflow: hidden; }
    .domain-input { border-radius: 0; font-size: 15px; padding: 15px 18px; }
    .domain-tld   { border-radius: 0; border-left: none; border-top: 1px solid var(--border); padding: 12px 16px; }
    .domain-btn   { border-radius: 0 0 var(--radius) var(--radius); padding: 15px; font-size: 15px; }
    .tld-pills  { gap: 6px; }
    .tld-pill   { min-width: 64px; padding: 10px 12px; }
    .tld-name   { font-size: 14px; }

    /* Sections */
    section { padding: 64px 20px; }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; }
    .vps-grid     { grid-template-columns: 1fr; }
    .plan-tabs    { gap: 6px; }
    .plan-tab     { padding: 9px 16px; font-size: 13px; }
    .billing-toggle { flex-wrap: wrap; gap: 8px; }
    .price-amount { font-size: 44px; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; }
    .hosting-types { grid-template-columns: 1fr; }

    /* Split section */
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .split-stat-num  { font-size: 28px; }

    /* Section title */
    .section-title { letter-spacing: -1px; }

    /* Datacenter */
    .dc-inner { gap: 36px; }
    .dc-points { grid-template-columns: 1fr; gap: 10px; }
    .dc-text .section-title { font-size: 28px; }

    /* CTA */
    .cta-banner { padding: 48px 24px; }
    .cta-banner h2 { letter-spacing: -0.5px; }
    .cta-banner > div { flex-direction: column; align-items: center; }
    .btn-white,
    .btn-outline { width: 100%; max-width: 280px; text-align: center; }

    /* Spec/domain tables */
    .spec-table-wrap,
    .ded-table-wrap,
    .domain-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .spec-table,
    .ded-table,
    .domain-table { min-width: 600px; }

    /* Footer */
    .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand  { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-badges { flex-wrap: wrap; }

    /* FAQ */
    .faq-q { font-size: 14px; padding: 16px 18px; }

    /* WHMCS note */
    .whmcs-note { flex-direction: column; }
  }

  /* ══════════════════════════════════════════════
     SMALL MOBILE  ≤ 480px
  ══════════════════════════════════════════════ */
  @media (max-width: 480px) {
    .hero h1  { font-size: clamp(30px, 9vw, 44px); letter-spacing: -1px; }
    .hero p   { font-size: 15px; }
    .stat-num { font-size: 22px; }

    .pricing-card { padding: 24px 20px; }
    .price-amount { font-size: 40px; letter-spacing: -2px; }

    .section-title { font-size: clamp(24px, 7vw, 36px); letter-spacing: -0.8px; }
    .section-sub   { font-size: 15px; }

    .split-stat-grid { grid-template-columns: 1fr 1fr; }
    .split-stat      { padding: 16px; }
    .split-stat-num  { font-size: 24px; }

    .vps-card { padding: 22px 18px; }
    .spec-bars .spec-bar-label { font-size: 11px; }

    .dc-strip { padding: 48px 20px; }
    .cta-banner { padding: 40px 20px; }

    .plan-name { font-size: 18px; }
    .featured-badge { font-size: 9px; padding: 3px 8px; }

    .hero-chip { font-size: 11px; padding: 5px 10px; }
    .tld-pill  { min-width: 58px; padding: 8px 10px; }
    .tld-name  { font-size: 13px; }
  }


  /* ══ CURRENCY SWITCHER ══ */
  .currency-switcher {
    position: relative;
    display: flex;
    align-items: center;
  }
  .currency-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    background: var(--bg3);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13px; font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    user-select: none;
  }
  .currency-btn:hover { border-color: var(--red); color: var(--red); }
  .currency-btn .cur-flag { font-size: 15px; line-height: 1; }
  .currency-btn .cur-code { letter-spacing: 0.03em; }
  .currency-btn .cur-caret {
    font-size: 9px; opacity: 0.5; margin-left: 2px;
    transition: transform 0.2s;
  }
  .currency-btn.open .cur-caret { transform: rotate(180deg); }
  .currency-btn.loading .cur-code::after {
    content: ''; display: inline-block;
    width: 10px; height: 10px;
    border: 2px solid var(--border);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 4px; vertical-align: middle;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .currency-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    min-width: 170px;
    box-shadow: 0 12px 40px rgba(229,9,20,0.12), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 200;
    opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .currency-dropdown.open {
    opacity: 1; pointer-events: all;
    transform: translateY(0);
  }
  .currency-option {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px; font-weight: 600; color: var(--text);
  }
  .currency-option:hover { background: var(--red-pale); color: var(--red); }
  .currency-option.active { background: var(--tag); color: var(--red); }
  .currency-option .opt-flag { font-size: 18px; line-height: 1; }
  .currency-option .opt-info { display: flex; flex-direction: column; }
  .currency-option .opt-code { font-weight: 800; font-size: 13px; }
  .currency-option .opt-name { font-size: 11px; color: var(--text-muted); font-weight: 400; }
  .currency-option .opt-rate { margin-left: auto; font-size: 11px; color: var(--text-dim); font-weight: 500; }

  /* Price transition when currency changes */
  .price-amount { transition: opacity 0.2s ease, transform 0.15s ease; }
  .price-amount.switching { opacity: 0; transform: translateY(-4px); }
  .price-currency-prefix { transition: opacity 0.2s ease; }


  /* ── Site Logo SVG ── */
  .site-logo-svg {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }
  @media (max-width: 768px) {
    .site-logo-svg { height: 28px; }
  }
  @media (max-width: 480px) {
    .site-logo-svg { height: 24px; }
  }



/* ══════════════════════════════════════════════
   BLOG STYLES
   ══════════════════════════════════════════════ */

/* Blog Hero */
.blog-hero { padding: 120px 24px 60px; text-align: center; background: var(--bg2); border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-family: var(--font); font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; color: var(--text); margin-bottom: 12px; }
.blog-hero p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* Blog Layout */
.blog-layout { max-width: 1140px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.blog-posts { display: flex; flex-direction: column; gap: 36px; }

/* Post Card */
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-card-no-thumb { height: 180px; background: linear-gradient(135deg, var(--bg3) 0%, var(--red-pale) 100%); display: flex; align-items: center; justify-content: center; }
.post-card-no-thumb::after { content: '📝'; font-size: 40px; }
.post-card-body { padding: 24px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
.post-card-meta .cat { background: var(--tag); color: var(--red); padding: 3px 10px; border-radius: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 10px; text-decoration: none; transition: all 0.2s; }
.post-card-meta .cat:hover { background: var(--red); color: #fff; }
.post-card h2 { font-family: var(--font); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 10px; }
.post-card h2 a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.post-card h2 a:hover { color: var(--red); }
.post-card .excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.post-card .read-more { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.post-card .read-more:hover { opacity: 0.7; }

/* Single Post */
.single-post-wrap { max-width: 780px; margin: 0 auto; padding: 100px 24px 60px; }
.single-post-header { text-align: center; margin-bottom: 40px; }
.single-post-header h1 { font-family: var(--font); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; color: var(--text); }
.single-post-header .post-meta { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.single-post-header .post-meta a { color: var(--red); text-decoration: none; font-weight: 600; }
.single-featured-img { width: 100%; border-radius: var(--radius); margin-bottom: 40px; object-fit: cover; max-height: 480px; }

/* Post Content */
.post-content { font-size: 16px; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: var(--font); font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin: 36px 0 16px; }
.post-content h3 { font-family: var(--font); font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content a:hover { opacity: 0.7; }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; }
.post-content blockquote { border-left: 4px solid var(--red); padding: 16px 20px; margin: 24px 0; background: var(--bg2); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-muted); }
.post-content pre { background: var(--bg-dark); color: #f0f0f0; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin: 24px 0; font-size: 14px; }
.post-content code { background: var(--bg3); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.post-content pre code { background: none; padding: 0; }

/* Post Tags */
.post-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag { font-size: 12px; padding: 4px 12px; background: var(--tag); color: var(--red); border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.2s; }
.post-tag:hover { background: var(--red); color: #fff; }

/* Share Buttons */
.share-buttons { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: block; }
.share-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: all 0.2s; font-family: var(--font); }
.share-btn:hover { border-color: var(--share-color, var(--red)); color: var(--share-color, var(--red)); background: rgba(0,0,0,0.02); transform: translateY(-1px); }
.share-icon { font-size: 14px; font-weight: 800; }

/* Post Navigation */
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-nav a { font-size: 14px; color: var(--red); text-decoration: none; font-weight: 600; transition: opacity 0.2s; }
.post-nav a:hover { opacity: 0.7; }

/* Breadcrumbs */
.breadcrumbs { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { margin: 0 6px; color: var(--text-dim); }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sidebar-widget h3 { font-family: var(--font); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--red); }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.sidebar-widget a:hover { color: var(--red); }

/* Search Form */
.search-form { display: flex; gap: 0; }
.search-form .search-field { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px 0 0 8px; font-family: var(--font); font-size: 14px; outline: none; }
.search-form .search-field:focus { border-color: var(--red); }
.search-form .search-submit { background: var(--red-gradient); color: #fff; border: none; padding: 10px 18px; border-radius: 0 8px 8px 0; font-family: var(--font); font-size: 13px; font-weight: 700; cursor: pointer; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.pagination a { color: var(--text-muted); border: 1px solid var(--border); background: var(--card); transition: all 0.2s; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: #fff; border: 1px solid var(--red); }

/* Comments */
.comments-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-title { font-family: var(--font); font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font); font-size: 14px; margin-bottom: 12px; transition: border-color 0.2s; }
.comment-respond input:focus,
.comment-respond textarea:focus { outline: none; border-color: var(--red); }
.comment-respond .submit { background: var(--red-gradient); color: #fff; border: none; padding: 12px 28px; border-radius: 8px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.comment-respond .submit:hover { opacity: 0.9; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
}
@media (max-width: 768px) {
  .post-card-img { height: 180px; }
  .share-icons { gap: 6px; }
  .share-btn .share-name { display: none; }
}

/* ══════════════════════════════════════════════
   WORDPRESS THEME FIXES
   ══════════════════════════════════════════════ */

/* Push page content below the fixed 68px nav bar — balanced top/bottom spacing */
.blog-hero        { margin-top: 68px; padding: 64px 24px 64px; }
.single-post-wrap { max-width: 780px; margin: 68px auto 0; padding: 64px 24px 64px; }
body.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}
/* Mobile nav is 60px tall — clear it and keep spacing balanced */
@media (max-width: 768px) {
  .blog-hero        { margin-top: 60px; padding: 44px 16px 44px; }
  .single-post-wrap { margin-top: 60px; padding: 44px 16px 44px; }
}

/* Breadcrumbs — reset any inherited nav flex/fixed styles */
.breadcrumbs {
  position: static;
  display: block;
  height: auto;
  padding: 0;
  margin-bottom: 20px;
  background: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  font-size: 12px;
  color: var(--text-dim);
  text-align: left;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { margin: 0 6px; color: var(--text-dim); }
.blog-hero .breadcrumbs,
.single-post-header .breadcrumbs { text-align: center; margin: 0 auto 8px; }

/* ── Dynamic WordPress menu → match static dropdown styling ── */
/* wp_nav_menu outputs .menu-item-has-children + .sub-menu.
   Map those onto the existing .has-dropdown / .dropdown look. */

.nav-links .menu-item-has-children { position: relative; }
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px 8px 8px;
  min-width: 195px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-links .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-links .sub-menu li { display: block; }
.nav-links .sub-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links .sub-menu a:hover { background: var(--tag); color: var(--red); }

/* Parent "Hosting" link — show caret, don't navigate away on click */
.nav-links .menu-item-has-children > a::after { content: ' ▾'; font-size: 0.85em; }

/* Highlight current menu item (WordPress adds .current-menu-item) */
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--red); font-weight: 700; }

/* Mobile dynamic menu — flatten sub-menus into the drawer */
.mobile-menu-list, .mobile-menu-list ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-list a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-list a:hover { color: var(--red); }
.mobile-menu-list .sub-menu { padding-left: 14px; }
.mobile-menu-list .current-menu-item > a { color: var(--red); font-weight: 700; }
