:root{
  --bg:#f6f1e7;
  --paper:#fffaf1;
  --ink:#2f2a24;
  --muted:#6d6256;
  --accent:#7b5e3b;
  --line:#e5d8c4;
  --btn:#6a7c59;
  --btnText:#f8f5ee;
}
*{box-sizing:border-box}
body{margin:0;font-family:Georgia,"Times New Roman",serif;background:var(--bg);color:var(--ink);line-height:1.6}
h1,h2,h3{line-height:1.25;letter-spacing:.1px}
h1{margin:0 0 10px;font-size:34px}
h2{margin:0 0 8px;font-size:24px}
h3{margin:0 0 6px;font-size:19px}
a{color:#5f4a2f;text-decoration:none}
a:hover{text-decoration:underline}

header{position:sticky;top:0;z-index:20;position:relative;background:rgba(255,250,241,.95);backdrop-filter:blur(4px);border-bottom:1px solid var(--line);padding:14px 16px}
.brand{font-size:30px;font-weight:700;letter-spacing:.2px}
.sub{font-size:14px;color:var(--muted);margin-top:3px}

.nav-wrap{margin-top:10px}
.nav-toggle{display:none;padding:8px 12px;border:1px solid #c8b69e;background:#efe4d4;border-radius:8px;color:#4a3a27}
nav.menu{display:flex;gap:14px;flex-wrap:wrap}
nav.menu a{font-size:15px;color:#4a3a27}

.lang-switch{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:0 0 8px}
.lang-globe{width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:9px;color:#8B6B45;background:#efe4d4;border:1px solid #d8c5ab}
.lang-select{height:28px;width:58px;padding:2px 6px;border:1px solid #d8c5ab;border-radius:8px;background:#fff8ee;color:#4a3a27;font:inherit;font-size:12px}
body{top:0 !important}
.skiptranslate iframe{display:none !important}
.goog-te-banner-frame{display:none !important}

.back-nav{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.back-nav .btn{padding:8px 12px}
.back-nav .read-btn{padding:6px 10px}
.read-time-chip{display:inline-block;background:#efe4d4;border:1px solid #d8c5ab;border-radius:999px;padding:3px 10px;margin:4px 0 10px;color:#5b4c3a}

.consent-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:9999;background:#fff8ee;border:1px solid #d8c5ab;border-radius:12px;padding:12px;box-shadow:0 10px 28px rgba(0,0,0,.14);display:flex;gap:12px;align-items:center;justify-content:space-between}
.consent-text{font-size:13px;color:#4a3a27;max-width:760px}
.consent-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:820px){.consent-bar{left:8px;right:8px;bottom:8px;flex-direction:column;align-items:stretch}.consent-actions{justify-content:flex-end}}

.ad-slot-wrap{margin:14px 0}
.ad-slot-label{font-size:11px;color:#8b7a64;margin:0 0 4px 2px;text-transform:uppercase;letter-spacing:.06em}
.ad-slot{min-height:90px;background:#f8f2e8;border:1px dashed #d8c5ab;border-radius:10px;padding:4px}

.menu-more{position:relative}
.menu-more summary{list-style:none;cursor:pointer;padding:6px 10px;border-radius:8px;border:1px solid transparent;color:#4a3a27}
.menu-more summary::-webkit-details-marker{display:none}
.menu-more[open] summary,.menu-more summary:hover{background:#efe4d4;border-color:#d8c5ab}
.menu-more-pane{position:absolute;right:0;top:110%;min-width:210px;background:#fff8ee;border:1px solid var(--line);border-radius:10px;padding:8px;display:grid;gap:4px;box-shadow:0 8px 24px rgba(0,0,0,.08);z-index:25}
.menu-more-pane a{display:block;padding:7px 8px;border-radius:8px}
.menu-more-pane a:hover{background:#efe4d4;text-decoration:none}

main{max-width:980px;margin:26px auto;padding:0 14px}
.hero{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:26px}
.hero h1{margin:0 0 4px;font-size:44px}
.hero h2{margin:0 0 10px;font-size:20px;color:#5a4a35;font-weight:600}
.hero p{margin:0 0 14px;color:#4d4338;max-width:740px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:1px solid #5d6d4e;background:var(--btn);color:var(--btnText);font-weight:600}
.btn.secondary{background:#efe4d4;color:#4a3a27;border:1px solid #c8b69e}

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:14px}
.card,.blog-card,section.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px}
.card h3{margin:0 0 6px}
.small{font-size:12px;color:var(--muted)}

.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
.read-btn{display:inline-block;padding:8px 12px;border-radius:8px;background:#efe4d4;border:1px solid #ccb99f;color:#433625}

.table-wrap{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:12px}
table{width:100%;min-width:680px;border-collapse:collapse}
th,td{padding:10px;border-bottom:1px solid #ecdfcb;text-align:left}
th{font-size:13px;color:#6d6256}

label{display:block;margin:8px 0 4px;color:#675a4c;font-size:13px}
input,select{width:100%;padding:10px;border-radius:8px;border:1px solid #d8cab6;background:#fffdf8;color:#3c342c}
button{margin-top:10px;padding:10px 12px;border-radius:8px;border:1px solid #5d6d4e;background:var(--btn);color:var(--btnText);cursor:pointer}
.result{margin-top:10px;padding:10px;border:1px solid #d7c5ad;background:#fff6ea;border-radius:8px;color:#3f362e}
.chart-box{margin-top:10px;background:#fff8ef;border:1px solid #e5d5c0;border-radius:8px;padding:8px}

footer{margin-top:26px;border-top:1px solid var(--line);background:#f2e8d9}
.footer-inner{max-width:980px;margin:0 auto;padding:16px 14px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
.footer-title{font-weight:700;margin-bottom:6px}
.footer-links a{display:block;margin:4px 0;color:#4a3a27;font-size:14px}
.disclaimer{grid-column:1/-1;color:#6d6256;font-size:12px;border-top:1px solid #dfcfb9;padding-top:8px}

@media (max-width: 820px){
  .brand{font-size:28px}
  .hero h1{font-size:36px}
  .hero h2{font-size:18px}
  .nav-toggle{display:inline-block}
  nav.menu{display:none;flex-direction:column;gap:8px;margin-top:8px;background:#fff8ee;border:1px solid var(--line);padding:10px;border-radius:10px}
  nav.menu.open{display:flex}
  .grid,.blog-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}

.brand{display:flex;align-items:center;gap:6px;line-height:1.2;max-width:100%;word-break:break-word;text-decoration:none;color:inherit}
.brand img{width:52px;height:52px;display:block;flex:0 0 52px}

.checkpoint-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:10px}
.checkpoint-list li{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e5d8c4;background:#fff8ef;border-radius:10px}
.checkpoint-link{display:block;color:inherit;text-decoration:none;line-height:1.45}
.checkpoint-link:hover{text-decoration:none}
.checkpoint-list li::before{
  content:"";
  width:20px;height:20px;flex:0 0 20px;margin-top:1px;
  border:2px solid #7b5e3b;border-radius:50%;
  background:
    linear-gradient(135deg, transparent 46%, #7b5e3b 46% 57%, transparent 57%) 5px 10px/8px 8px no-repeat,
    linear-gradient(45deg, transparent 44%, #7b5e3b 44% 55%, transparent 55%) 9px 8px/10px 10px no-repeat;
}

@media (max-width:820px){.brand{font-size:24px}.brand img{width:46px;height:46px;flex:0 0 46px}}

/* --- Responsive polish: desktop + mobile balance --- */
main{max-width:1120px}
.grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.blog-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}

header{padding:12px 14px}
.nav-wrap{margin-top:10px}
nav.menu{gap:8px}
nav.menu a{padding:6px 10px;border:1px solid transparent;border-radius:8px;line-height:1.2}
nav.menu a:hover{text-decoration:none;background:#efe4d4;border-color:#d8c5ab}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6a7c59;outline-offset:2px;border-radius:8px}

.hero{padding:24px}
.hero h1{font-size:40px}
.hero p{max-width:820px}
.table-wrap table{min-width:780px}

@media (min-width: 1024px){
  header{padding:14px 22px}
  .brand{font-size:28px}
  .sub{font-size:13px}
  nav.menu{flex-wrap:wrap}
  .hero{padding:28px}
}

@media (max-width: 1024px){
  main{max-width:980px}
  .hero h1{font-size:34px}
}

@media (max-width: 820px){
  main{padding:0 12px}
  .hero{padding:18px}
  .hero h1{font-size:30px}
  .hero h2{font-size:17px}
  nav.menu a{padding:8px 10px}
  .table-wrap table{min-width:680px}
}

/* Phase B UX polish */
.broker-highlights .card{min-height:170px}
.mobile-broker-cards{display:none}
#registrationMsg,.comment-msg{margin-top:4px}
.status-ok{color:#2f6a3a;font-weight:600}
.status-err{color:#8a3a3a;font-weight:600}
textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #d8cab6;background:#fffdf8;color:#3c342c;font:inherit}

@media (max-width: 820px){
  .table-wrap{display:block}
  .mobile-broker-cards{display:none}
  .broker-highlights{display:none}
  .broker-highlights .card{min-height:unset}
}



.comment-form{display:grid;gap:8px;margin-top:8px}
.comment-item{border:1px solid #e5d8c4;background:#fff8ef;border-radius:10px;padding:10px;margin-top:8px}
.comment-meta{font-size:12px;color:#6d6256;margin-bottom:4px}
.registration-box form{display:grid;gap:8px}

.calc-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#efe4d4;border:1px solid #d8c5ab;margin-bottom:8px}

/* --- Desktop layout refinement v2 --- */
@media (min-width: 1100px){
  header{padding:18px 28px}
  .lang-switch{margin-bottom:10px}
  .brand{font-size:34px;gap:10px}
  .brand img{width:58px;height:58px;flex:0 0 58px}
  .sub{font-size:15px;margin-top:4px}
  .nav-wrap{margin-top:14px}
  nav.menu{gap:12px;align-items:center}
  nav.menu a,.menu-more summary{font-size:16px;padding:8px 12px;border-radius:10px}

  main{max-width:1280px;margin:38px auto;padding:0 28px}

  .hero{padding:38px 44px;border-radius:18px}
  .hero h1{font-size:56px;margin-bottom:10px}
  .hero h2{font-size:28px;margin-bottom:16px}
  .hero p{font-size:18px;line-height:1.75;max-width:920px;margin-bottom:18px}
  .hero-actions{gap:14px;margin-top:10px}

  .btn,.btn.secondary{padding:13px 18px;font-size:16px;border-radius:12px}
  .small{font-size:14px;line-height:1.6}

  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
  .grid + .grid{margin-top:18px}

  .card,.blog-card,section.card{padding:24px;border-radius:16px;min-height:220px}
  .card h3{font-size:31px;margin-bottom:10px}
  .card p,.blog-card p,section.card p{font-size:17px;line-height:1.7}

  .read-btn{margin-top:10px;padding:10px 14px;font-size:15px;border-radius:10px}

  footer{margin-top:42px}
  .footer-inner{max-width:1280px;padding:28px 28px 18px;gap:28px}
  .footer-title{font-size:20px;margin-bottom:10px}
  .footer-links a{font-size:16px;margin:7px 0}
  .disclaimer{font-size:13px;padding-top:12px;margin-top:6px}
}

/* --- Hero text fit polish --- */
.hero{
  max-width: 1120px;
}

.hero h1,
.hero h2,
.hero p,
.hero .small,
.hero-actions{
  max-width: 860px;
}

.hero h1{
  line-height: 1.05;
}

.hero h2{
  line-height: 1.18;
}

.hero p{
  line-height: 1.55;
}

@media (min-width: 1100px){
  .hero{
    padding: 44px 42px;
  }

  .hero h1{
    font-size: 76px;
    max-width: 9ch;
    margin-bottom: 14px;
  }

  .hero h2{
    font-size: 28px;
    max-width: 20ch;
    margin-bottom: 18px;
  }

  .hero p{
    font-size: 18px;
    max-width: 760px;
    margin-bottom: 18px;
  }

  .hero .small{
    font-size: 15px;
    max-width: 760px;
  }

  .hero-actions{
    margin: 18px 0 14px;
  }
}

@media (max-width: 1099px){
  .hero h1{
    max-width: none;
  }

  .hero h2,
  .hero p,
  .hero .small,
  .hero-actions{
    max-width: none;
  }
}

/* --- Homepage alignment fix --- */
@media (min-width: 1100px){
  main.home-main{
    max-width: 1120px !important;
    margin: 28px auto 0 !important;
    padding: 0 20px !important;
  }

  .hero{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 36px 40px !important;
  }

  .grid,
  .primary-grid,
  .secondary-grid{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .primary-grid{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-top: 16px !important;
  }

  .secondary-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-top: 16px !important;
  }

  .card,
  .feature-card,
  .wide-card{
    width: 100% !important;
    min-width: 0 !important;
    height: 100%;
  }

  .primary-grid .card{
    min-height: 230px;
  }

  .secondary-grid .card{
    min-height: 180px;
  }

  .feature-card,
  .wide-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .feature-card .read-btn,
  .wide-card .read-btn{
    align-self: flex-start;
    margin-top: 14px;
  }
}

@media (min-width: 1100px){
  .secondary-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* --- Mobile menu width fix --- */
@media (max-width: 820px){
  .nav-wrap{
    position: relative;
  }

  .nav-toggle{
    display: inline-block;
    width: auto;
  }

  nav.menu{
    width: min(320px, calc(100vw - 40px)) !important;
    max-width: 320px !important;
    flex-wrap: nowrap !important;
    margin-top: 10px !important;
    padding: 10px 12px !important;
    gap: 4px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
  }

  nav.menu a{
    display: block;
    padding: 10px 8px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }
}

/* --- Calculator desktop: shorter form fields, keep chart unchanged --- */
@media (min-width: 1100px){
  main .card label{
    max-width: 380px !important;
  }

  main .card input,
  main .card select,
  main .card textarea{
    width: 100% !important;
    max-width: 380px !important;
    display: block !important;
  }

  main .card button{
    width: auto !important;
  }

  main .card .result{
    max-width: 1000px !important;
  }
}

/* --- Calculator desktop alignment fix --- */
@media (min-width: 1100px){
  main .card label,
  main .card input,
  main .card select,
  main .card textarea,
  main .card button,
  main .card .result,
  main .card .chart-box{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  main .card .result{
    max-width: 820px !important;
  }

  .chart-box{
    max-width: 820px !important;
    margin-top: 18px !important;
  }
}

/* --- Hero text wrap fix --- */
.hero p{
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (min-width: 1100px){
  .hero p{
    max-width: 58ch !important;
    font-size: 18px;
    line-height: 1.55;
  }
}

/* --- Calculators page grid polish --- */
.calculators-grid{
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.calc-card{
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-card p{
  margin-bottom: 16px;
}

.calc-card .read-btn{
  align-self: flex-start;
}

@media (min-width: 1100px){
  .calculators-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-card{
    min-height: 230px;
  }
}

/* --- Calculators showcase redesign --- */
.calc-page{
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 18px;
}

.calc-hero{
  margin-bottom: 20px;
}

.calc-kicker{
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7b5e3b;
  font-weight: 700;
}

.calc-hero h1{
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1.05;
}

.calc-lead{
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #4d4338;
}

.calc-showcase-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.calc-showcase-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}

.calc-cover{
  position: relative;
  min-height: 220px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.calc-cover::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.28), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%);
  pointer-events: none;
}

.calc-cover-badge{
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.calc-cover-icon{
  position: relative;
  z-index: 1;
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.08));
}

.calc-card-body{
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.calc-card-body h3{
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.calc-card-body p{
  margin: 0;
  color: #4d4338;
  line-height: 1.65;
  font-size: 16px;
}

.calc-card-body .read-btn{
  align-self: flex-start;
  margin-top: auto;
}

.calc-cover-compound{background: linear-gradient(135deg, #dff3ea 0%, #c9eadb 48%, #f2fbf5 100%);}
.calc-cover-growth{background: linear-gradient(135deg, #e1eefc 0%, #cfe3fb 48%, #f5faff 100%);}
.calc-cover-retirement{background: linear-gradient(135deg, #fbe9d9 0%, #f6dabb 48%, #fff8ef 100%);}
.calc-cover-withdrawal{background: linear-gradient(135deg, #f7dfdf 0%, #f0caca 48%, #fff6f6 100%);}
.calc-cover-portfolio{background: linear-gradient(135deg, #ece6fb 0%, #ddd0fb 48%, #f8f5ff 100%);}
.calc-cover-builder{background: linear-gradient(135deg, #e6f0df 0%, #d7e7ca 48%, #f7fbf2 100%);}
.calc-cover-ter{background: linear-gradient(135deg, #f8ead8 0%, #f3dcc0 48%, #fff9f1 100%);}
.calc-cover-commission{background: linear-gradient(135deg, #e0eceb 0%, #cde2df 48%, #f6fbfb 100%);}
.calc-cover-rebalance{background: linear-gradient(135deg, #ece6df 0%, #dfd2c7 48%, #faf7f3 100%);}

@media (min-width: 700px){
  .calc-showcase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px){
  .calc-page{
    padding: 0 22px;
  }

  .calc-hero h1{
    font-size: 58px;
  }

  .calc-showcase-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .calc-showcase-card{
    border-radius: 24px;
  }

  .calc-cover{
    min-height: 250px;
    padding: 24px;
  }

  .calc-cover-icon{
    font-size: 64px;
  }

  .calc-card-body{
    padding: 24px 24px 26px;
  }

  .calc-card-body h3{
    font-size: 28px;
  }
}

@media (max-width: 820px){
  .calc-page{
    padding: 0 12px;
  }

  .calc-hero h1{
    font-size: 38px;
  }

  .calc-lead{
    font-size: 16px;
  }

  .calc-cover{
    min-height: 180px;
  }

  .calc-cover-icon{
    font-size: 46px;
  }

  .calc-card-body h3{
    font-size: 28px;
  }
}

/* --- Extra covers for tools showcase --- */
.calc-cover-cushion{background: linear-gradient(135deg, #dff0eb 0%, #c9e6dd 48%, #f5fbf9 100%);}
.calc-cover-split{background: linear-gradient(135deg, #e8e5fb 0%, #d9d3fa 48%, #f8f6ff 100%);}

/* --- Mobile compact layout for calculators/tools showcase --- */
@media (max-width: 820px){
  .calc-page{
    padding: 0 10px !important;
    margin-top: 18px !important;
  }

  .calc-hero{
    margin-bottom: 14px !important;
  }

  .calc-kicker{
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  .calc-hero h1{
    font-size: 34px !important;
    line-height: 1.05 !important;
    margin-bottom: 8px !important;
  }

  .calc-lead{
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: none !important;
  }

  .calc-showcase-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .calc-showcase-card{
    border-radius: 18px !important;
  }

  .calc-cover{
    min-height: 112px !important;
    padding: 14px !important;
    align-items: center !important;
  }

  .calc-cover-badge{
    top: 12px !important;
    left: 12px !important;
    font-size: 10px !important;
    padding: 5px 8px !important;
  }

  .calc-cover-icon{
    font-size: 34px !important;
  }

  .calc-card-body{
    padding: 16px 16px 18px !important;
    gap: 8px !important;
  }

  .calc-card-body h3{
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .calc-card-body p{
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .calc-card-body .read-btn{
    margin-top: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
}

/* --- Unified mobile/tablet style for Tools + Calculators --- */

/* full-width ad row above cards if ad slot lands inside showcase grid */
.calc-showcase-grid > .ad-slot-wrap{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  order: -1 !important;
  margin: 0 0 10px 0 !important;
}

.calc-showcase-grid > .ad-slot-wrap .ad-slot{
  min-height: 90px !important;
  border-radius: 14px !important;
}

/* default shared card proportions */
.calc-showcase-card{
  min-height: 0 !important;
}

.calc-cover{
  min-height: 140px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.calc-card-body{
  gap: 8px !important;
}

.calc-card-body p{
  margin-bottom: 0 !important;
}

.calc-card-body .read-btn{
  margin-top: 8px !important;
}

/* mobile + tablet: 2 cards per row, more compact, less tall */
@media (max-width: 820px){
  .calc-page{
    padding: 0 10px !important;
    margin-top: 16px !important;
  }

  .calc-hero{
    margin-bottom: 14px !important;
  }

  .calc-kicker{
    font-size: 11px !important;
    margin-bottom: 5px !important;
  }

  .calc-hero h1{
    font-size: 34px !important;
    margin-bottom: 8px !important;
    line-height: 1.05 !important;
  }

  .calc-lead{
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .calc-showcase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .calc-showcase-card{
    border-radius: 16px !important;
    min-height: 0 !important;
  }

  .calc-cover{
    min-height: 84px !important;
    padding: 12px !important;
    border-bottom: 1px solid rgba(0,0,0,.04);
  }

  .calc-cover-badge{
    top: 10px !important;
    left: 10px !important;
    font-size: 9px !important;
    padding: 4px 7px !important;
  }

  .calc-cover-icon{
    font-size: 28px !important;
  }

  .calc-card-body{
    padding: 12px 12px 14px !important;
    gap: 7px !important;
  }

  .calc-card-body h3{
    font-size: 18px !important;
    line-height: 1.12 !important;
    margin: 0 !important;
  }

  .calc-card-body p{
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .calc-card-body .read-btn{
    align-self: flex-start !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    margin-top: 6px !important;
  }
}

/* very narrow phones: keep 2 columns but make cards even tighter */
@media (max-width: 430px){
  .calc-showcase-grid{
    gap: 8px !important;
  }

  .calc-cover{
    min-height: 74px !important;
    padding: 10px !important;
  }

  .calc-cover-icon{
    font-size: 24px !important;
  }

  .calc-card-body{
    padding: 10px 10px 12px !important;
  }

  .calc-card-body h3{
    font-size: 16px !important;
  }

  .calc-card-body p{
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .calc-card-body .read-btn{
    padding: 6px 9px !important;
    font-size: 12px !important;
  }
}

/* desktop keep clean regular cards */
@media (min-width: 821px){
  .calc-showcase-grid{
    align-items: stretch !important;
  }

  .calc-showcase-card{
    height: 100% !important;
  }

  .calc-card-body{
    display: flex !important;
    flex-direction: column !important;
  }

  .calc-card-body .read-btn{
    margin-top: auto !important;
  }
}

/* --- Tools + Calculators mobile polish: icons + ad banner row --- */

/* make ad slot a full-width horizontal row above cards */
.calc-showcase-grid{
  align-items: stretch !important;
}

.calc-showcase-grid > .ad-slot-wrap{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  order: -10 !important;
  margin: 0 0 12px 0 !important;
  align-self: stretch !important;
}

.calc-showcase-grid > .ad-slot-wrap .ad-slot-label{
  margin: 0 0 6px 2px !important;
  font-size: 11px !important;
}

.calc-showcase-grid > .ad-slot-wrap .ad-slot{
  min-height: 88px !important;
  height: 88px !important;
  width: 100% !important;
  border-radius: 14px !important;
  display: block !important;
}

/* cover layout so icon never sits on badge/text */
.calc-cover{
  position: relative !important;
  overflow: hidden !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.calc-cover-badge{
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: calc(100% - 24px) !important;
  white-space: nowrap !important;
}

.calc-cover-icon{
  position: absolute !important;
  right: 12px !important;
  bottom: 10px !important;
  top: auto !important;
  left: auto !important;
  z-index: 2 !important;
  line-height: 1 !important;
  opacity: .95 !important;
  pointer-events: none !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.06)) !important;
}

/* desktop */
@media (min-width: 821px){
  .calc-showcase-grid > .ad-slot-wrap{
    margin: 0 0 16px 0 !important;
  }

  .calc-showcase-grid > .ad-slot-wrap .ad-slot{
    min-height: 96px !important;
    height: 96px !important;
    border-radius: 16px !important;
  }

  .calc-cover{
    min-height: 170px !important;
  }

  .calc-cover-icon{
    font-size: 46px !important;
    right: 16px !important;
    bottom: 14px !important;
  }

  .calc-cover-badge{
    top: 14px !important;
    left: 14px !important;
  }
}

/* mobile + tablet */
@media (max-width: 820px){
  .calc-showcase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .calc-showcase-grid > .ad-slot-wrap{
    grid-column: 1 / -1 !important;
    margin: 0 0 10px 0 !important;
  }

  .calc-showcase-grid > .ad-slot-wrap .ad-slot{
    min-height: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
  }

  .calc-cover{
    min-height: 86px !important;
    padding: 10px !important;
  }

  .calc-cover-badge{
    top: 10px !important;
    left: 10px !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
  }

  .calc-cover-icon{
    font-size: 24px !important;
    right: 10px !important;
    bottom: 8px !important;
  }
}

/* very small phones */
@media (max-width: 430px){
  .calc-showcase-grid > .ad-slot-wrap .ad-slot{
    min-height: 64px !important;
    height: 64px !important;
  }

  .calc-cover{
    min-height: 78px !important;
  }

  .calc-cover-icon{
    font-size: 22px !important;
    right: 8px !important;
    bottom: 8px !important;
  }

  .calc-cover-badge{
    font-size: 9px !important;
    padding: 4px 7px !important;
  }
}

/* --- Showcase ad moved above card grid --- */
.showcase-ad-top{
  width: 100%;
  margin: 0 0 14px 0;
}

.showcase-ad-top .ad-slot-wrap{
  width: 100%;
  margin: 0 !important;
}

.showcase-ad-top .ad-slot-label{
  margin: 0 0 6px 2px !important;
  font-size: 11px !important;
}

.showcase-ad-top .ad-slot{
  width: 100% !important;
  min-height: 88px !important;
  height: 88px !important;
  border-radius: 14px !important;
}

@media (min-width: 821px){
  .showcase-ad-top{
    margin-bottom: 18px;
  }

  .showcase-ad-top .ad-slot{
    min-height: 96px !important;
    height: 96px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 820px){
  .showcase-ad-top{
    margin-bottom: 10px;
  }

  .showcase-ad-top .ad-slot{
    min-height: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
  }
}

/* --- Dense packing for calculators/tools cards --- */
.calc-showcase-grid{
  grid-auto-flow: dense !important;
  align-items: start !important;
}

.calc-showcase-card{
  align-self: start !important;
  height: auto !important;
}

@media (min-width: 821px){
  .calc-showcase-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .calc-showcase-card{
    display: flex !important;
    flex-direction: column !important;
  }

  .calc-card-body{
    flex: 1 1 auto !important;
  }

  .calc-card-body .read-btn{
    margin-top: 10px !important;
  }
}

@media (max-width: 820px){
  .calc-showcase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: dense !important;
    gap: 10px !important;
  }

  .calc-showcase-card{
    height: auto !important;
  }
}

/* --- Masonry layout for Tools + Calculators (no empty gaps) --- */

/* keep ad row separate above cards */
.showcase-ad-top{
  width: 100%;
  margin: 0 0 14px 0 !important;
}

.showcase-ad-top .ad-slot-wrap{
  width: 100%;
  margin: 0 !important;
}

.showcase-ad-top .ad-slot{
  width: 100% !important;
  min-height: 88px !important;
  height: 88px !important;
  border-radius: 14px !important;
}

/* real masonry */
.calc-showcase-grid{
  display: block !important;
  column-gap: 18px !important;
}

.calc-showcase-card{
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  page-break-inside: avoid !important;
  vertical-align: top !important;
}

@media (min-width: 1100px){
  .calc-showcase-grid{
    column-count: 3 !important;
    column-gap: 18px !important;
  }
}

@media (min-width: 821px) and (max-width: 1099px){
  .calc-showcase-grid{
    column-count: 2 !important;
    column-gap: 16px !important;
  }
}

@media (max-width: 820px){
  .calc-showcase-grid{
    column-count: 2 !important;
    column-gap: 10px !important;
  }

  .calc-showcase-card{
    margin: 0 0 10px !important;
  }

  .showcase-ad-top{
    margin-bottom: 10px !important;
  }

  .showcase-ad-top .ad-slot{
    min-height: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    column-gap: 8px !important;
  }

  .calc-showcase-card{
    margin-bottom: 8px !important;
  }

  .showcase-ad-top .ad-slot{
    min-height: 64px !important;
    height: 64px !important;
  }
}

/* --- Mobile row alignment for calculators/tools cards --- */
@media (max-width: 820px){
  .calc-showcase-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-count: unset !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .calc-showcase-card{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    page-break-inside: auto !important;
    height: 100% !important;
  }

  .calc-card-body{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
  }

  .calc-card-body .read-btn{
    margin-top: auto !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    gap: 8px !important;
  }
}

/* --- Mobile equal-height cards for calculators/tools --- */
@media (max-width: 820px){
  .calc-showcase-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-count: unset !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .calc-showcase-card{
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 320px !important;
    margin: 0 !important;
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .calc-cover{
    min-height: 86px !important;
    max-height: 86px !important;
    height: 86px !important;
  }

  .calc-card-body{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 12px 12px 14px !important;
  }

  .calc-card-body h3{
    font-size: 18px !important;
    line-height: 1.12 !important;
    min-height: 40px !important;
    margin: 0 0 8px 0 !important;
  }

  .calc-card-body p{
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 70px !important;
  }

  .calc-card-body .read-btn{
    margin-top: auto !important;
    align-self: flex-start !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    gap: 8px !important;
  }

  .calc-showcase-card{
    min-height: 300px !important;
  }

  .calc-cover{
    min-height: 78px !important;
    max-height: 78px !important;
    height: 78px !important;
  }

  .calc-card-body h3{
    font-size: 16px !important;
    min-height: 36px !important;
  }

  .calc-card-body p{
    font-size: 12px !important;
    min-height: 64px !important;
    -webkit-line-clamp: 4 !important;
  }

  .calc-card-body .read-btn{
    font-size: 12px !important;
    padding: 6px 9px !important;
  }
}

/* --- FINAL mobile masonry override for Tools + Calculators --- */
@media (max-width: 820px){
  .calc-showcase-grid{
    display: block !important;
    column-count: 2 !important;
    column-gap: 10px !important;
  }

  .calc-showcase-card{
    display: inline-block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    height: auto !important;
    min-height: 0 !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    page-break-inside: avoid !important;
    vertical-align: top !important;
  }

  .calc-card-body{
    display: block !important;
    flex: none !important;
  }

  .calc-card-body p{
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .calc-card-body .read-btn{
    margin-top: 10px !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    column-gap: 8px !important;
  }

  .calc-showcase-card{
    margin-bottom: 8px !important;
  }
}

/* --- FINAL app-like mobile layout for Calculators + Tools --- */
@media (max-width: 820px){

  /* turn off masonry/columns on mobile */
  .calc-showcase-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-count: unset !important;
    column-gap: 0 !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .calc-showcase-card{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 290px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .calc-cover{
    min-height: 78px !important;
    height: 78px !important;
    max-height: 78px !important;
    padding: 10px !important;
    border-bottom: 1px solid rgba(0,0,0,.05) !important;
  }

  .calc-cover-badge{
    top: 10px !important;
    left: 10px !important;
    font-size: 9px !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
  }

  .calc-cover-icon{
    right: 10px !important;
    bottom: 10px !important;
    font-size: 22px !important;
  }

  .calc-card-body{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 12px !important;
    gap: 8px !important;
  }

  .calc-card-body h3{
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    min-height: 34px !important;
  }

  .calc-card-body p{
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #4d4338 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 62px !important;
  }

  .calc-card-body .read-btn{
    margin-top: auto !important;
    align-self: flex-start !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }

  .showcase-ad-top{
    margin: 0 0 10px 0 !important;
  }

  .showcase-ad-top .ad-slot{
    min-height: 64px !important;
    height: 64px !important;
    border-radius: 12px !important;
  }

  .showcase-ad-top .ad-slot-label{
    font-size: 10px !important;
    margin: 0 0 4px 2px !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    gap: 8px !important;
  }

  .calc-showcase-card{
    min-height: 274px !important;
    border-radius: 16px !important;
  }

  .calc-cover{
    min-height: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
  }

  .calc-card-body{
    padding: 10px !important;
  }

  .calc-card-body h3{
    font-size: 15px !important;
    min-height: 32px !important;
  }

  .calc-card-body p{
    font-size: 11px !important;
    min-height: 56px !important;
    -webkit-line-clamp: 4 !important;
  }

  .calc-card-body .read-btn{
    font-size: 11px !important;
    padding: 6px 9px !important;
  }
}

/* --- FINAL MOBILE RESET: force clean 2-column app grid --- */
@media (max-width: 820px){

  .calc-showcase-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    column-count: unset !important;
    column-gap: 0 !important;
    grid-auto-flow: row !important;
    align-items: stretch !important;
  }

  .calc-showcase-grid > *{
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .calc-showcase-card{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 300px !important;
  }

  .calc-cover{
    min-height: 82px !important;
    height: 82px !important;
    max-height: 82px !important;
  }

  .calc-card-body{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 12px !important;
  }

  .calc-card-body h3{
    font-size: 16px !important;
    line-height: 1.1 !important;
    margin: 0 0 8px 0 !important;
    min-height: 36px !important;
  }

  .calc-card-body p{
    font-size: 12px !important;
    line-height: 1.32 !important;
    margin: 0 !important;
    min-height: 66px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .calc-card-body .read-btn{
    margin-top: auto !important;
    align-self: flex-start !important;
    font-size: 12px !important;
    padding: 7px 10px !important;
  }
}

@media (max-width: 430px){
  .calc-showcase-grid{
    gap: 8px !important;
  }

  .calc-showcase-card{
    min-height: 286px !important;
  }

  .calc-cover{
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
  }

  .calc-card-body h3{
    font-size: 15px !important;
    min-height: 34px !important;
  }

  .calc-card-body p{
    min-height: 60px !important;
    font-size: 11px !important;
  }

  .calc-card-body .read-btn{
    font-size: 11px !important;
    padding: 6px 9px !important;
  }
}

/* --- Revert showcase ad: keep it inside grid, hide moved-top host --- */
.showcase-ad-top{
  display: none !important;
}

.calc-showcase-grid > .ad-slot-wrap{
  display: block !important;
}

@media (max-width: 820px){
  .calc-showcase-grid > .ad-slot-wrap{
    grid-column: auto !important;
    order: initial !important;
    margin: 0 0 10px 0 !important;
  }

  .calc-showcase-grid > .ad-slot-wrap .ad-slot{
    min-height: 120px !important;
    height: auto !important;
    border-radius: 14px !important;
  }
}

@media (min-width: 821px){
  .calc-showcase-grid > .ad-slot-wrap .ad-slot{
    min-height: 140px !important;
    height: auto !important;
    border-radius: 16px !important;
  }
}

/* --- Two ads above calculators/tools grid --- */
.showcase-ad-top.two-ads{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px 0;
}

.showcase-ad-top.two-ads .ad-slot-wrap{
  width: 100%;
  margin: 0 !important;
}

.showcase-ad-top.two-ads .ad-slot{
  min-height: 72px !important;
  height: 72px !important;
  border-radius: 12px !important;
}

.showcase-ad-top.two-ads .ad-slot-label{
  font-size: 10px !important;
  margin: 0 0 4px 2px !important;
}

@media (min-width: 821px){
  .showcase-ad-top.two-ads .ad-slot{
    min-height: 84px !important;
    height: 84px !important;
  }
}

/* --- Showcase ads: no top ads, one wide ad below cards --- */
.showcase-ad-top{
  display: none !important;
}

.calc-showcase-grid > .ad-slot-wrap{
  display: none !important;
}

.calc-page::after{
  content: "";
  display: block;
  width: 100%;
  height: 0;
}

.showcase-bottom-ad{
  width: 100%;
  margin: 14px 0 0 0;
}

.showcase-bottom-ad .ad-slot-wrap{
  width: 100%;
  margin: 0 !important;
}

.showcase-bottom-ad .ad-slot-label{
  font-size: 11px !important;
  margin: 0 0 6px 2px !important;
}

.showcase-bottom-ad .ad-slot{
  width: 100% !important;
  min-height: 88px !important;
  height: 88px !important;
  border-radius: 14px !important;
}

@media (max-width: 820px){
  .showcase-bottom-ad{
    margin-top: 10px;
  }

  .showcase-bottom-ad .ad-slot{
    min-height: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
  }
}

/* --- Final broker comparison mobile polish --- */
@media (max-width: 820px){
  .table-wrap{
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .table-wrap table{
    min-width: 980px !important;
  }

  .table-wrap th,
  .table-wrap td{
    padding: 10px 12px !important;
    vertical-align: top !important;
  }

  .table-wrap th{
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .table-wrap td{
    font-size: 14px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .rating-cell,
  td.rating-cell{
    min-width: 170px !important;
  }

  .rating-wrap{
    gap: 6px !important;
  }

  .rating-label{
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
  }

  .rating-wrap .small{
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 820px){
  .table-wrap table{
    min-width: 860px !important;
  }
}

/* --- Home mobile polish --- */
.footer-brand img{
  width:24px !important;
  height:24px !important;
  object-fit:contain;
}

@media (max-width: 760px){
  .hero-main{
    padding: 28px 22px !important;
  }

  .hero-eyebrow{
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .hero-main h1{
    font-size: 48px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 10px !important;
  }

  .hero-main h2{
    font-size: 28px !important;
    line-height: 1.08 !important;
    margin-bottom: 14px !important;
  }

  .hero-main p{
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
  }

  .hero-main .small{
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    align-items:stretch !important;
  }

  .hero-actions .btn,
  .hero-actions .btn.secondary{
    width:100% !important;
    text-align:center !important;
  }

  .trust-card{
    padding: 22px 22px !important;
  }

  .trust-card h3{
    font-size: 26px !important;
    line-height: 1.12 !important;
    margin-bottom: 10px !important;
  }

  .trust-list{
    padding-left: 20px !important;
    margin: 0 0 12px 0 !important;
  }

  .trust-list li{
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
  }

  footer{
    margin-top: 34px !important;
  }

  .footer-inner{
    padding: 22px 22px 18px !important;
    gap: 18px !important;
  }

  .footer-brand{
    gap:10px !important;
    align-items:center !important;
  }

  .footer-brand img{
    width:20px !important;
    height:20px !important;
  }

  .footer-title{
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  .footer-links a{
    display:block !important;
    margin: 6px 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .disclaimer{
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding-top: 10px !important;
  }
}

/* --- Top and bottom back nav polish --- */
.back-nav{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.top-back-nav{
  margin:0 0 18px 0;
}

.bottom-back-nav{
  margin:28px 0 0 0;
  padding-top:10px;
  border-top:1px solid rgba(0,0,0,.06);
}

@media (max-width: 760px){
  .back-nav{
    gap:10px;
  }

  .back-nav .btn,
  .back-nav .read-btn{
    min-width:120px;
    text-align:center;
  }

  .bottom-back-nav{
    margin-top:24px;
    padding-top:12px;
  }
}


}




  .lang-dropdown{
    width:100%;
    min-width:0;
  }
}


/* --- Language dropdown --- */
.lang-dropdown-wrap{
  display:flex;
  align-items:center;
  margin-left:10px;
}

.lang-dropdown{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  width:auto;
  min-width:96px;
  max-width:120px;
  height:38px;
  padding:0 30px 0 10px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:10px;
  background:#fff;
  color:inherit;
  font-size:14px;
  line-height:1;
  cursor:pointer;
}

@media (max-width:760px){
  .nav-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
  }

  .lang-dropdown-wrap{
    width:auto;
    margin:0;
    margin-left:auto;
  }

  .lang-dropdown{
    width:auto;
    min-width:92px;
    max-width:110px;
    font-size:13px;
    padding:0 28px 0 10px;
  }
}
