/*
Theme Name: AMTax Consulting
Theme URI: https://example.com/
Author: AMTax
Description: Custom AMTax Consulting theme generated from the original HTML design.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: amtax
*/

:root{
  --ink:#0F1B3C;
  --ink-2:#0A131F;
  --paper:#F8F9FA;
  --paper-2:#FFFFFF;
  --brass:#D97706;
  --brass-light:#F59E0B;
  --forest:#0F3A2D;
  --ash:#5A5F67;
  --ash-soft:#8A909A;
  --line:#E0E3E8;
  --display: 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'Inter', sans-serif;
  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ash);
  font-family:var(--body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
h1,h2,h3{ font-family:var(--display); font-weight:600; margin:0; color:var(--ink); }

.eyebrow{
  font-family:var(--mono); font-size:16px; letter-spacing:.03em; text-transform:capitalize;
  color:var(--ash-soft); display:inline-flex; align-items:center;
  border:1px solid var(--brass); padding:8px 14px; border-radius:999px; margin:14px 0 16px;
}

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:2px;
  font-family:var(--body); font-weight:600; font-size:14.5px; letter-spacing:.01em;
  text-decoration:none; cursor:pointer; border:1px solid transparent; transition:.2s ease;
}
.btn-primary{ background:var(--brass); color:var(--ink-2); }
.btn-primary:hover{ background:var(--brass-light); }
.btn-ghost{ border-color:var(--brass); color:var(--brass); }
.btn-ghost:hover{ border-color:var(--brass); background:var(--brass); color:var(--ink); }
.btn-line{ border-color:var(--ink); color:var(--ink); }
.btn-line:hover{ background:var(--ink); color:var(--paper); }
.btn-white{ background:var(--paper-2); color:var(--ink); }
.btn-white:hover{ background:#E8EAF0; }

/* ---------- NAV ---------- */
header.site{
  position:sticky; top:0; z-index:50; background:var(--paper-2);
  border-bottom:1px solid var(--line);
}
nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 32px; max-width:var(--maxw); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; width:150px; }
.brand .mark{ width:100%; height:auto; }
.nav-links{ display:flex; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links a{ color:var(--ink); opacity:.65; text-decoration:none; font-size:14.5px; transition:opacity .2s; }
.nav-links a:hover{ opacity:1; }
.nav-links a.active{ color:var(--brass); opacity:1; }
.nav-cta{ display:flex; align-items:center; gap:24px; }
.nav-toggle{ display:none; }

/* ---------- HERO ---------- */
.hero{ background:var(--ink-2); color:var(--paper); position:relative; overflow:hidden; min-height:600px; }
.hero-grid{
  max-width:var(--maxw); margin:0 auto; padding:88px 32px;
  display:grid; grid-template-columns:1.1fr .8fr; gap:56px; align-items:center;
}
.hero h1{ color:var(--paper); font-size:clamp(34px,4.4vw,54px); line-height:1.12; margin:0 0 22px; font-weight:600; }
.hero h1 em{ font-style:italic; color:var(--brass-light); }
.hero p.lede{ font-size:17.5px; color:rgba(236,234,224,.78); max-width:46ch; margin:0 0 34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-right{ position:absolute; top:0; right:0; width:50%; height:100%; min-height:600px; overflow:hidden; border-radius:0; }
.hero-image{
  width:100%; height:100%; object-fit:cover;
  -webkit-mask-image:linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
}

/* ---------- SECTION SHELL ---------- */
section{ padding:88px 0; }
.section-head{ max-width:640px; margin:0 0 48px; }
.section-head h2{ font-size:clamp(26px,3vw,36px); line-height:1.2; }
.section-head p:not(.eyebrow){ color:var(--ash-soft); font-size:16px; margin-top:14px; }

/* ---------- TENTANG ---------- */
.about{ background:var(--paper); }
.about-grid h2{ font-size:clamp(26px,3vw,36px); line-height:1.2; }
.about-grid{ display:grid; grid-template-columns:.85fr 1fr; gap:52px; align-items:center; }
.about-copy p{ font-size:16.5px; color:var(--ash); margin:0 0 18px; }
.about-copy strong{ color:var(--ink); }
.about-visual{ position:relative; }
.about-img{
  width:100%; height:100%; object-fit:cover; border-radius:2px;
}

/* ---------- VISI ---------- */
.visi{ background:var(--ink-2); color:var(--paper); }
.visi-grid{ display:grid; grid-template-columns:1fr .85fr; gap:52px; align-items:center; }
.visi-item{ border-bottom:1px solid rgba(255,255,255,.14); }
.visi-item summary{
  cursor:pointer; padding:24px 0; display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--body); font-size:18px; font-weight:600; color:var(--paper); transition:color .2s;
  list-style:none;
}
.visi-item summary::-webkit-details-marker{ display:none; }
.visi-item summary::after{ content:'+'; font-size:20px; color:var(--brass-light); line-height:1; }
.visi-item[open] summary::after{ content:'−'; }
.visi-item summary:hover{ color:var(--brass-light); }
.visi-item p{
  font-style:italic; font-size:16.5px; line-height:1.7;
  color:rgba(236,234,224,.8); margin:0; padding:0 0 24px;
}
.visi-visual{ position:relative; }
.visi-img{
  width:100%; height:100%; object-fit:cover; border-radius:2px;
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.6) 100%);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.6) 100%);
}

/* ---------- LEGALITAS ---------- */
.legal{ background:var(--paper); }
.cert{
  background:var(--paper-2); border:1px dashed var(--line); position:relative;
  padding:44px 44px 36px;
}
.cert::before{
  content:''; position:absolute; inset:10px; border:1px solid var(--line); pointer-events:none;
}
.cert-fields{ display:grid; gap:20px; }
.field{ display:grid; grid-template-columns:230px 1fr; gap:16px; align-items:baseline; border-bottom:1px solid var(--line); padding-bottom:14px; }
.field:last-child{ border-bottom:none; }
.field .label{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ash-soft); }
.field .value{ font-family:var(--mono); font-size:15px; color:var(--ink); font-weight:500; }
.value-boxes{ display:flex; flex-wrap:wrap; gap:8px; }
.value-box{ border:1px solid var(--line); border-radius:4px; padding:6px 12px; font-size:14px; }
.cert-assoc{ margin-top:22px; font-size:14.5px; color:var(--ash-soft); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.cert-assoc-logo{ height:44px; width:auto; object-fit:contain; }

/* ---------- LAYANAN ---------- */
.services{ background:var(--ink-2); color:var(--paper); }
.services .section-head h2{ color:var(--paper); }
.services .section-head p{ color:rgba(236,234,224,.65); }
.services .eyebrow{ color:var(--brass-light); border-color:var(--brass-light); }
.cat-label{
  font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brass-light); margin:0 0 20px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.14);
}
.cat-block{ margin-bottom:56px; }
.cat-block:last-child{ margin-bottom:0; }
.svc-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  background:transparent;
}
.svc-grid.single{ grid-template-columns:1fr; }
.svc-card{
  background:var(--ink-2);
  padding:32px;
  border-right:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.svc-card:nth-child(even){ border-right:none; }
.svc-card:nth-last-child(-n+2){ border-bottom:none; }
.svc-grid.single .svc-card{ border-right:none; }
.svc-grid.single .svc-card:not(:last-child){ border-bottom:1px solid rgba(255,255,255,.12); }
.svc-card h3{ color:var(--paper); font-size:19px; margin:0 0 12px; font-weight:600; }
.svc-card p{ color:rgba(236,234,224,.68); font-size:14.8px; margin:0; }
.svc-icon{ width:40px; height:40px; margin-bottom:16px; color:var(--brass-light); }

/* ---------- FAQ ---------- */
.faq{ background:var(--paper); }
.faq .section-head{ margin:0 auto 48px; text-align:center; max-width:640px; }
.faq-list{ max-width:720px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item:last-child{ border-bottom:none; }
.faq-item summary{
  cursor:pointer; padding:24px 0; display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--body); font-size:16px; font-weight:500; color:var(--ink); transition:color .2s;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:20px; color:var(--brass); line-height:1; }
.faq-item[open] summary::after{ content:'−'; }
.faq-item summary:hover{ color:var(--brass); }
.faq-answer p{ color:var(--ash); font-size:15.5px; margin:0; padding:0 0 24px; line-height:1.7; }

/* ---------- TIM ---------- */
.team{ background:var(--paper); }
.team .eyebrow{ text-transform:none; }
.team-grid{ display:grid; grid-template-columns:repeat(var(--team-cols,5),1fr); gap:24px; }
.team-card{
  background:var(--paper-2); border:1px solid var(--line); padding:28px 22px; text-align:center;
}
.avatar{
  width:150px; height:150px; border-radius:50%; margin:0 auto 18px; background:var(--paper);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:15px; color:var(--ash-soft); overflow:hidden;
}
.avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card .t-name{ font-family:var(--display); font-weight:600; color:var(--ink); font-size:16px; margin-bottom:4px; }
.team-card .t-title{ font-size:13.5px; color:var(--ash-soft); }
.team-note{ margin-top:28px; font-size:13.5px; color:var(--ash-soft); font-style:italic; }

/* ---------- KLIEN KAMI ---------- */
.partners{ background:var(--paper); border-top:1px solid var(--line); }
.client-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:36px; }
.client-tab{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.03em; color:var(--ash-soft);
  background:var(--paper-2); border:1px solid var(--line); border-radius:999px;
  padding:9px 18px; cursor:pointer; transition:all .2s ease;
}
.client-tab:hover{ border-color:var(--ink); color:var(--ink); }
.client-tab.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.client-marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.client-track{ display:flex; width:max-content; animation:marquee 30s linear infinite; }
.client-track.static{ animation:none; margin:0 auto; }
.client-marquee:hover .client-track,
.client-marquee.paused .client-track{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.partner-logo{
  width:200px; height:95px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:var(--paper-2); border:1px solid var(--line); border-radius:4px;
  font-family:var(--mono); font-size:12.5px; color:var(--ash-soft); text-align:center; padding:6px;
  margin-right:20px;
}
.partner-logo img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }

/* ---------- ARTIKEL ---------- */
.blog{ background:var(--paper-2); }
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{ border:1px solid var(--line); padding:24px; background:var(--paper); display:flex; flex-direction:column; }
.blog-thumb{
  width:100%; height:140px; background:var(--line); margin-bottom:18px; border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-size:12px; color:var(--ash-soft);
}
.blog-meta{ font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--brass); margin-bottom:8px; }
.blog-card h3{ font-size:18px; line-height:1.3; margin-bottom:10px; }
.blog-card p{ font-size:14.5px; color:var(--ash); margin:0 0 16px; flex:1; }
.blog-more{ font-size:14px; font-weight:600; color:var(--brass); text-decoration:none; }
.blog-more:hover{ color:var(--brass-light); }
.btn-blog{ color:var(--brass); padding:10px 20px; text-decoration:none; display:inline-block; font-weight:600; font-size:14px; transition:all .3s ease; white-space:nowrap; }
.btn-blog:hover{ color:var(--brass-light); }
.blog .section-head{ max-width:100%; }
.section-head-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }

/* ---------- TESTIMONI ---------- */
.testimonials{ background:var(--ink-2); color:var(--paper); }
.testimonials .section-head{ margin:0 auto 48px; text-align:center; max-width:640px; }
.testimonials .section-head h2{ color:var(--paper); }
.testimonials .section-head p{ color:rgba(236,234,224,.65); }
.testimonials .eyebrow{ color:var(--brass-light); border-color:var(--brass-light); }
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12);
  padding:28px; display:flex; flex-direction:column;
}
.testi-stars{ color:var(--brass-light); font-size:14px; letter-spacing:3px; margin-bottom:14px; }
.testi-card p{ color:rgba(236,234,224,.85); font-size:15px; line-height:1.7; margin:0 0 20px; flex:1; font-style:italic; }
.testi-author{ font-size:13.5px; color:rgba(236,234,224,.6); }
.testi-author strong{ color:var(--paper); font-weight:600; }

/* ---------- CTA ---------- */
.cta{ background:var(--brass); color:var(--paper); text-align:center; padding:88px 0; position:relative; overflow:hidden; }
.cta::before{
  content:''; position:absolute; inset:0;
  background-image:url('../assets/img/hero-bg.jpg');
  background-size:cover; background-position:center var(--cta-pos,50%);
  filter:grayscale(100%);
  opacity:.1;
  pointer-events:none;
  will-change:background-position;
}
.cta .wrap{ max-width:720px; position:relative; z-index:1; }
.cta h2{ color:var(--paper); font-size:clamp(36px,4.4vw,52px); line-height:1.15; }
.cta p{ color:rgba(255,255,255,.85); font-size:17px; margin:0 0 32px; }

/* ---------- KONTAK ---------- */
.contact{ background:var(--ink-2); color:var(--paper); }
.contact .section-head h2{ color:var(--paper); }
.contact .section-head p{ color:rgba(236,234,224,.65); }
.contact .eyebrow{ color:var(--brass-light); border-color:var(--brass-light); }

.contact-body{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.contact-map{ width:100%; height:460px; border-radius:2px; }

.contact-form{ display:flex; flex-direction:column; }
.form-label{ font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-light); margin:0 0 12px; }
.contact-form h3{ font-size:22px; color:var(--paper); margin:0 0 14px; font-weight:600; }
.form-intro{ color:rgba(236,234,224,.75); font-size:15px; margin:0 0 24px; line-height:1.6; }

.cf-form{ display:flex; flex-direction:column; gap:14px; }
.cf-form input, .cf-form textarea{ 
  padding:12px 14px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.05);
  color:var(--paper); font-family:var(--body); font-size:14px; border-radius:2px;
  transition:border-color .2s;
}
.cf-form input::placeholder, .cf-form textarea::placeholder{ color:rgba(236,234,224,.5); }
.cf-form input:focus, .cf-form textarea:focus{ outline:none; border-color:var(--brass-light); background:rgba(255,255,255,.08); }
.cf-form textarea{ resize:vertical; min-height:120px; }
.cf-form .btn{ margin-top:6px; }

/* ---------- FOOTER ---------- */
footer{ background:var(--paper-2); color:var(--ash-soft); padding:56px 0 28px; border-top:1px solid var(--line); }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:32px; }
.foot-brand{ grid-column:1 / 2; }
.foot-logo{ width:150px; height:auto; margin-bottom:14px; }
.foot-tagline{ font-size:13.5px; color:var(--ash); line-height:1.6; margin:0; }

.foot-col-title{ font-family:var(--display); font-weight:600; color:var(--ink); font-size:14px; margin:0 0 16px; text-transform:uppercase; letter-spacing:.02em; }
.foot-links, .foot-contact{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.foot-links a, .foot-contact a{ text-decoration:none; color:var(--ash-soft); font-size:13.5px; transition:color .2s; }
.foot-links a:hover, .foot-contact a:hover{ color:var(--brass); }
.foot-contact a{ display:inline-flex; align-items:center; gap:8px; }
.foot-icon{ width:15px; height:15px; flex-shrink:0; color:var(--brass); }
.foot-contact a:hover .foot-icon{ color:var(--brass-light); }

.foot-address{ font-size:13.5px; color:var(--ash); line-height:1.6; margin:0 0 16px; }
.foot-hours{ font-size:13.5px; color:var(--ash); line-height:1.6; }
.foot-hours p{ margin:0 0 6px; }
.foot-hours p:last-child{ margin-bottom:0; }
.foot-hours strong{ color:var(--ink); font-weight:600; }

.foot-legal{ border-top:1px solid var(--line); padding-top:20px; font-family:var(--mono); font-size:11.5px; color:var(--ash-soft); display:flex; flex-direction:column; gap:12px; opacity:.75; }
.foot-legal-items{ display:flex; flex-wrap:wrap; gap:12px; }
.foot-legal-items span{ display:flex; align-items:center; }
.foot-legal-items > span:not(:last-child)::after{ content:'·'; margin-left:12px; color:var(--line); }
.foot-legal-izin{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.foot-legal-badge{
  border:1px solid var(--line); border-radius:4px; padding:4px 10px;
  width:fit-content;
}

/* ---------- WHATSAPP FLOATING ---------- */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:999;
  display:inline-flex; align-items:center; gap:10px; text-decoration:none;
  background:#25D366; color:#fff; padding:14px 22px; border-radius:999px;
  box-shadow:0 6px 20px rgba(37,211,102,.4);
  transition:transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(37,211,102,.5); }
.wa-float-icon{ width:22px; height:22px; flex-shrink:0; }
.wa-float-text{ font-size:14.5px; font-weight:600; line-height:1; }

@media (max-width: 920px){
  .wa-float{ bottom:16px; right:16px; padding:13px; }
  .wa-float-text{ display:none; }
}

/* ---------- REVEAL ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px){
  .nav-links, .nav-cta .btn-line{ display:none; }
  .hero-right{ display:none; }
  .hero-grid{ grid-template-columns:1fr; padding-top:64px; }
  .about-grid{ grid-template-columns:1fr; }
  .visi-grid{ grid-template-columns:1fr; }
  .cert{ grid-template-columns:1fr; }
  .field{ grid-template-columns:1fr; gap:4px; }
  .svc-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .testi-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .team-card{ padding:20px 14px; }
  .team-card .avatar{ width:110px; height:110px; margin-bottom:14px; }
  .team-card .t-name{ font-size:14px; }
  .team-card .t-title{ font-size:12.5px; }
  .contact-body{ grid-template-columns:1fr; gap:24px; }
  .contact-map{ height:320px; }
  .foot-grid{ grid-template-columns:1fr; gap:24px; }
  section{ padding:64px 0; }
}

@media (max-width: 400px){
  .team-grid{ grid-template-columns:1fr; }
  .team-card .avatar{ width:130px; height:130px; }
}


/* blog.html */

    .blog-header {
      background: var(--ink-2);
      color: var(--paper);
      padding: 88px 32px;
      margin: 0;
      max-width: 100%;
      text-align: center;
    }
    .blog-header .eyebrow {
      margin-left: auto;
      margin-right: auto;
      width: fit-content;
    }
    .blog-header h2 {
      color: var(--paper);
      font-size: clamp(32px, 6vw, 56px);
      margin-bottom: 16px;
      line-height: 1.2;
    }
    .blog-header.section-head p:not(.eyebrow) {
      color: rgba(236, 234, 224, 0.65);
      font-size: 16px;
      margin-top: 14px;
      margin-left: auto;
      margin-right: auto;
      max-width: 600px;
    }
    .blog-container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 80px 32px;
    }
    .blog-grid-full {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 60px;
    }
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .pagination-item {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 1px solid var(--line);
      border-radius: 4px;
      text-decoration: none;
      color: var(--ash-soft);
      font-weight: 600;
      transition: all .3s ease;
    }
    .pagination-item:hover {
      border-color: var(--brass);
      color: var(--brass);
    }
    .pagination-item.active {
      background: var(--brass);
      color: var(--paper);
      border-color: var(--brass);
    }
    .pagination-item.disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    @media (max-width: 920px) {
      .blog-grid-full { grid-template-columns: repeat(2, 1fr); }
      .blog-header { padding: 60px 32px; }
    }
    @media (max-width: 480px) {
      .blog-grid-full { grid-template-columns: 1fr; }
    }
  

/* blog-detail.html */

    .article-detail {
      max-width: 820px;
      margin: 0 auto;
      padding: 88px 32px 60px;
    }
    .article-breadcrumb {
      font-size: 14px;
      color: var(--ash-soft);
      margin-bottom: 20px;
    }
    .article-breadcrumb a {
      color: var(--brass);
      text-decoration: none;
    }
    .article-breadcrumb a:hover {
      color: var(--brass-light);
    }
    .article-meta {
      font-size: 14px;
      color: var(--ash-soft);
      margin-bottom: 12px;
      font-family: var(--mono);
    }
    .article-title {
      font-size: clamp(28px, 5vw, 44px);
      line-height: 1.2;
      margin-bottom: 24px;
      color: var(--ink);
    }
    .article-featured {
      width: 100%;
      height: 400px;
      background: var(--line);
      border-radius: 4px;
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ash-soft);
      font-size: 16px;
    }
    .article-body {
      font-size: 16px;
      line-height: 1.8;
      color: var(--ash);
    }
    .article-body p {
      margin-bottom: 20px;
    }
    .article-body h2 {
      font-size: 26px;
      color: var(--ink);
      margin: 32px 0 16px;
    }
    .article-body h3 {
      font-size: 20px;
      color: var(--ink);
      margin: 24px 0 12px;
    }
    .article-body ul {
      margin-bottom: 20px;
      padding-left: 24px;
    }
    .article-body li {
      margin-bottom: 8px;
    }
    .article-share {
      margin-top: 48px;
      padding-top: 32px;
      border-top: 1px solid var(--line);
    }
    .article-share-title {
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 16px;
    }
    .share-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .share-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border: 1px solid var(--line);
      border-radius: 4px;
      text-decoration: none;
      color: var(--ink);
      font-size: 14px;
      font-weight: 600;
      transition: all .3s ease;
      cursor: pointer;
    }
    .share-btn:hover {
      border-color: var(--brass);
      color: var(--brass);
    }
    .share-btn svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }
    .related-articles {
      background: var(--paper-2);
      padding: 80px 0;
      margin-top: 80px;
    }
    .related-articles h2 {
      font-size: clamp(24px, 4vw, 36px);
      margin-bottom: 32px;
      color: var(--ink);
      max-width: 1180px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 32px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 32px;
    }
    @media (max-width: 920px) {
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .article-featured { height: 280px; }
    }
    @media (max-width: 480px) {
      .related-grid { grid-template-columns: 1fr; }
      .article-featured { height: 200px; }
    }
  

/* 404.html */

    .error-404 {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--paper);
      padding: 40px 20px;
    }
    .error-404-content {
      text-align: center;
      max-width: 600px;
    }
    .error-404-number {
      font-size: clamp(80px, 15vw, 180px);
      font-weight: 700;
      color: var(--brass);
      line-height: 1;
      margin-bottom: 20px;
    }
    .error-404-title {
      font-size: clamp(20px, 5vw, 48px);
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 16px;
      white-space: nowrap;
    }
    .error-404-text {
      font-size: 16px;
      color: var(--ash);
      margin-bottom: 32px;
      line-height: 1.6;
    }
    .error-404-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
    }
  
/* AMTax Core Section Builder */
.amtax-custom-section{padding:70px 0}.amtax-builder-grid{display:grid;gap:28px}.amtax-builder-grid.cols-1{grid-template-columns:1fr}.amtax-builder-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.amtax-builder-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.amtax-builder-column{min-width:0}.section-builder-image{width:100%;height:auto}
@media(max-width:760px){.amtax-builder-grid.cols-2,.amtax-builder-grid.cols-3{grid-template-columns:1fr}}

/* AMTax service SVG icons */
.svc-icon svg{width:32px;height:32px;display:block;max-width:100%;max-height:100%;}

/* AMTax services: empty grid cells inherit the section background */
@media (max-width: 920px){
  .svc-card,
  .svc-card:nth-child(even){ border-right:none; }
  .svc-card:nth-last-child(-n+2){ border-bottom:1px solid rgba(255,255,255,.12); }
  .svc-card:last-child{ border-bottom:none; }
}


/* Testimonial slider: activated automatically when there are more than 3 testimonials. */
.testi-slider{ position:relative; }
.testi-viewport{ overflow:hidden; width:100%; }
.testi-track{ display:flex; flex-wrap:nowrap; gap:24px; transition:transform .45s ease; will-change:transform; }
.testi-track .testi-card{ flex:0 0 calc((100% - 48px)/3); min-width:0; }
.testi-controls{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:28px; }
.testi-arrow{ width:42px; height:42px; border:1px solid rgba(236,234,224,.28); background:transparent; color:var(--paper); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:27px; line-height:1; cursor:pointer; transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.testi-arrow:hover{ background:rgba(255,255,255,.08); border-color:rgba(236,234,224,.55); transform:translateY(-1px); }
.testi-arrow:disabled{ opacity:.35; cursor:not-allowed; transform:none; }
.testi-dots{ display:flex; align-items:center; justify-content:center; gap:8px; }
.testi-dot{ width:7px; height:7px; padding:0; border:0; border-radius:50%; background:rgba(236,234,224,.3); cursor:pointer; transition:width .2s ease,background .2s ease; }
.testi-dot.is-active{ width:22px; border-radius:999px; background:var(--brass-light); }
@media (max-width:920px){
  .testi-track .testi-card{ flex-basis:100%; }
}


/* ---------- TESTIMONI SLIDER REFINEMENT ---------- */
.testi-slider{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}
.testi-viewport{
  width:100%;
  overflow:hidden;
}
.testi-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  transition:transform .45s ease;
  will-change:transform;
}
.testi-slider .testi-controls{
  width:100%;
  min-height:20px;
  margin:24px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
}
.testi-slider .testi-dots{
  display:flex;
  width:auto;
  margin:0 auto;
  justify-content:center;
  align-items:center;
  gap:8px;
}
.testi-slider .testi-dot{
  width:8px;
  height:8px;
  min-width:8px;
  padding:0;
  margin:0;
  border:0;
  border-radius:50%;
  background:rgba(236,234,224,.35);
  cursor:pointer;
  transition:all .25s ease;
}
.testi-slider .testi-dot.is-active{
  width:24px;
  min-width:24px;
  border-radius:99px;
  background:var(--brass-light);
}
.testi-slider .testi-arrow,
.testi-slider .testi-prev,
.testi-slider .testi-next{
  display:none !important;
}
@media (max-width:920px){
  .testi-track{
    grid-template-columns:1fr;
    gap:0;
  }
}

/* Final testimonial paging fix: cards stay in one horizontal track. */
.testi-viewport{overflow:hidden;width:100%;}
.testi-track{display:flex !important;flex-wrap:nowrap !important;gap:24px;transition:transform .45s ease;will-change:transform;}
.testi-track .testi-card{flex-shrink:0 !important;margin:0;}
.testi-controls{width:100%;display:flex;justify-content:center;align-items:center;}
.testi-dots{width:100%;display:flex;justify-content:center;align-items:center;margin-left:auto;margin-right:auto;}
@media (max-width:920px){.testi-track{gap:16px;}}


/* Floating WhatsApp */
.amtax-wa-float{position:fixed;right:24px;bottom:24px;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;text-decoration:none;z-index:9999;box-shadow:0 10px 28px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease;}
.amtax-wa-float:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.22);color:#fff;}
.amtax-wa-icon{display:flex;align-items:center;justify-content:center;}
@media(max-width:640px){.amtax-wa-float{right:16px;bottom:16px;width:54px;height:54px;}}


/* WordPress standard template support */
.page-container{padding:80px 32px;max-width:1180px;margin:0 auto;}
.entry-content{max-width:820px;line-height:1.8;}
.pagination ul{display:flex;justify-content:center;align-items:center;gap:8px;list-style:none;margin:0;padding:0;}
.pagination li{margin:0;padding:0;}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:4px;text-decoration:none;color:var(--ash-soft);font-weight:600;}
.pagination .current{background:var(--brass);color:var(--paper);border-color:var(--brass);}

/* AMTAX dynamic blog thumbnail */
.blog-thumb {
    overflow: hidden;
}
.blog-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* AMTAX homepage dynamic blog thumbnail */
.blog-thumb { overflow: hidden; }
.blog-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
