/* Amlakyar blog index — compact light editorial layout based on the approved reference. */
body[data-blog-index] {
  --blog-green:#08a63c;
  --blog-green-dark:#087735;
  --blog-ink:#102838;
  --blog-muted:#687783;
  --blog-line:#dce8e5;
  --blog-mint:#edf9f0;
  background:#fff!important;
}
body[data-blog-index] main {
  width:100%; max-width:1600px!important; padding:18px 28px 42px!important;
}
body[data-blog-index] [data-marketing-site-header] { padding-top:8px; }
body[data-blog-index] [data-marketing-site-header] > div:first-child { box-shadow:0 8px 24px rgba(30,67,56,.07); }
body[data-blog-index] .marketing-nav-current { color:#087a34!important; background:#e8f8eb!important; }
body[data-blog-index] .blog-breadcrumb-schema { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.blog-reference-hero {
  position:relative; isolation:isolate; min-height:284px; display:flex; direction:rtl; align-items:stretch;
  margin:0 0 16px; overflow:hidden; border:1px solid #e3efea; border-radius:32px;
  background:
    radial-gradient(circle at 8% 84%,rgba(94,227,139,.2),transparent 34%),
    radial-gradient(circle at 91% 8%,rgba(174,239,194,.24),transparent 30%),
    linear-gradient(120deg,#f5fcf7 0%,#fff 48%,#effbf3 100%);
  box-shadow:0 14px 36px rgba(31,111,73,.08);
}
.blog-reference-hero::before,.blog-reference-hero::after {
  content:""; position:absolute; z-index:-1; border-radius:50%; filter:blur(.2px); pointer-events:none;
}
.blog-reference-hero::before { width:450px; height:180px; left:-80px; bottom:-92px; background:rgba(153,239,181,.24); transform:rotate(8deg); }
.blog-reference-hero::after { width:360px; height:150px; right:-100px; top:-84px; background:rgba(198,246,211,.32); }
.blog-reference-hero-copy {
  width:65%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px 34px 24px; text-align:center;
}
.blog-reference-kicker { display:flex; align-items:center; gap:10px; margin-bottom:8px; color:#16a34a; font-size:.78rem; font-weight:850; }
.blog-reference-kicker::before,.blog-reference-kicker::after { content:""; width:32px; height:1px; background:#8ed8a5; }
.blog-reference-hero h1 { margin:0; color:var(--blog-ink); font-size:clamp(2rem,3vw,3.25rem); font-weight:950; line-height:1.35; letter-spacing:-.035em; }
.blog-reference-hero h1 span { color:var(--blog-green); }
.blog-reference-hero-copy > p { max-width:830px; margin:8px auto 15px; color:var(--blog-muted); font-size:.9rem; line-height:1.9; }
body[data-blog-index] .blog-search { width:min(680px,100%); height:48px; position:relative; display:flex; align-items:center; margin:0 auto; border:1px solid #d5e3df; border-radius:999px; background:#fff!important; box-shadow:0 7px 18px rgba(16,80,53,.08); }
body[data-blog-index] .blog-search input { width:100%; height:100%; padding:0 20px 0 62px; border:0!important; outline:0; color:#23353d!important; background:transparent!important; box-shadow:none!important; font:inherit; font-size:.8rem; }
.blog-search input::placeholder { color:#8b979b; }
.blog-search button { position:absolute; left:6px; width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:50%; color:#fff; background:linear-gradient(135deg,#0bb448,#07933a); box-shadow:0 6px 15px rgba(7,156,59,.28); cursor:pointer; }
.blog-reference-facts { display:flex; align-items:center; justify-content:center; gap:0; margin-top:15px; color:#314b47; font-size:.73rem; font-weight:800; }
.blog-reference-facts span { display:flex; align-items:center; justify-content:center; gap:7px; min-height:26px; padding:0 28px; border-left:1px solid #c9dbd5; }
.blog-reference-facts span:last-child { border-left:0; }
.blog-reference-facts svg { color:#0aaf42; }
.blog-reference-hero-art { width:35%; min-height:284px; position:relative; margin:0; overflow:hidden; }
.blog-reference-hero-art::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 52%,rgba(248,253,249,.95) 100%); pointer-events:none; }
.blog-reference-hero-art img { width:118%; max-width:none; height:100%; position:absolute; left:-8%; top:0; object-fit:cover; object-position:center; mix-blend-mode:multiply; }

.blog-category-rail { display:flex; align-items:center; gap:9px; margin:0 0 22px; padding:3px 2px 8px; overflow-x:auto; scrollbar-width:none; white-space:nowrap; }
.blog-category-rail::-webkit-scrollbar { display:none; }
.blog-category-rail a { display:inline-flex; align-items:center; justify-content:center; flex:none; min-height:34px; padding:6px 17px; border:1px solid #d4e1df; border-radius:999px; color:#526068; background:#fff; box-shadow:0 3px 10px rgba(28,67,53,.04); font-size:.72rem; font-weight:750; text-decoration:none; transition:.2s; }
.blog-category-rail a:hover,.blog-category-rail a.is-active { border-color:#0fac4a; color:#fff; background:linear-gradient(135deg,#14ad56,#07995a); }
.blog-category-rail span { margin-right:4px; color:inherit; opacity:.72; }

.blog-reference-layout { display:grid; grid-template-columns:262px minmax(0,1fr); gap:18px; direction:ltr; align-items:start; }
.blog-topics-card,.blog-reference-content { direction:rtl; }
.blog-topics-card { position:sticky; top:86px; padding:18px; overflow:hidden; border:1px solid #cee5d7; border-radius:23px; background:linear-gradient(180deg,#edf9f0,#f9fffa); box-shadow:0 12px 24px rgba(28,102,67,.07); text-align:center; }
.blog-topics-art { height:142px; position:relative; margin:-18px -18px 14px; overflow:hidden; background:radial-gradient(circle at 50% 70%,#d8f6df 0%,#edf9f0 63%,transparent 64%); }
.blog-topics-sheet { width:76px; height:92px; position:absolute; left:50%; top:29px; transform:translateX(-50%) rotate(-4deg); border-radius:10px; background:#fff; box-shadow:0 12px 20px rgba(25,107,59,.16); }
.blog-topics-sheet::before { content:""; position:absolute; left:16px; right:16px; top:23px; height:7px; border-radius:9px; background:#6adc8c; box-shadow:0 17px 0 #c8e6d2,0 34px 0 #c8e6d2; }
.blog-topics-search-icon { width:58px!important; height:58px!important; position:absolute; left:calc(50% + 18px); top:65px; color:#08a33b; padding:8px; border-radius:50%; background:rgba(255,255,255,.9); filter:drop-shadow(0 7px 8px rgba(12,110,50,.18)); }
.blog-topics-card h2 { margin:0 0 7px; color:var(--blog-ink); font-size:1.03rem; font-weight:950; }
.blog-topics-card > p { margin:0 auto 14px; color:#697980; font-size:.7rem; line-height:1.85; }
.blog-topic-links { display:grid; gap:7px; }
.blog-topic-links a { display:grid; grid-template-columns:24px 1fr 12px; align-items:center; gap:7px; min-height:43px; padding:7px 10px; border:1px solid #d7e7e0; border-radius:11px; color:#263d40; background:#fff; font-size:.73rem; font-weight:850; text-decoration:none; }
.blog-topic-links a svg { color:#08a83d; }
.blog-topic-links a span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:right; }
.blog-topic-links a b { color:#0aaa40; font-size:1.1rem; }
.blog-all-topics { display:flex; align-items:center; justify-content:center; gap:8px; min-height:39px; margin-top:14px; border:1px solid #0bab43; border-radius:10px; color:#088636; font-size:.7rem; font-weight:900; text-decoration:none; }

.blog-reference-content { min-width:0; }
.blog-featured { margin-bottom:20px; }
.blog-section-title { display:flex; align-items:center; gap:8px; margin:0 0 11px; color:var(--blog-ink); }
.blog-section-title svg { color:#17bd55; }
.blog-section-title h2 { margin:0; font-size:1.25rem; font-weight:950; }
.blog-featured-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.blog-featured-card { min-width:0; overflow:hidden; border:1px solid #dce6e4; border-radius:15px; background:#fff; box-shadow:0 8px 20px rgba(27,61,52,.07); }
.blog-featured-cover { height:176px; position:relative; display:block; overflow:hidden; color:#fff; background:#064f4d; text-decoration:none; }
.blog-featured-cover img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.blog-featured-card:hover .blog-featured-cover img { transform:scale(1.035); }
.blog-featured-card > p { height:59px; margin:0; padding:10px 13px 5px; overflow:hidden; color:#68757b; font-size:.68rem; line-height:1.75; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.blog-featured-card > div { display:flex; align-items:center; justify-content:space-between; min-height:31px; padding:5px 13px 8px; color:#69777b; font-size:.61rem; }
.blog-featured-card > div span { display:flex; align-items:center; gap:4px; }

.blog-latest-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px 14px; }
.blog-latest-card { min-width:0; min-height:118px; display:grid; grid-template-columns:112px minmax(0,1fr); direction:rtl; overflow:hidden; border:1px solid #dce7e5; border-radius:13px; background:#fff; box-shadow:0 6px 15px rgba(28,65,54,.055); }
.blog-latest-image { grid-column:1; display:block; margin:9px; margin-left:0; overflow:hidden; border-radius:9px; background:#edf7f0; }
.blog-latest-image img { width:100%; height:100%; min-height:98px; object-fit:cover; transition:transform .3s; }
.blog-latest-card:hover img { transform:scale(1.04); }
.blog-latest-copy { grid-column:2; min-width:0; display:flex; flex-direction:column; padding:9px 11px 7px; }
.blog-latest-category { align-self:flex-start; max-width:100%; margin-bottom:3px; padding:2px 8px; overflow:hidden; border-radius:999px; color:#078b38; background:#e7f7eb; font-size:.55rem; font-weight:850; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; }
.blog-latest-copy h3 { margin:0; color:var(--blog-ink); font-size:.75rem; font-weight:950; line-height:1.55; }
.blog-latest-copy h3 a { color:inherit; text-decoration:none; }
.blog-latest-copy > p { margin:3px 0 4px; overflow:hidden; color:#738087; font-size:.59rem; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.blog-latest-copy > div { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; color:#718087; font-size:.54rem; }
.blog-latest-copy > div span { display:flex; align-items:center; gap:3px; }
.blog-pagination { margin:17px auto 0; }
.blog-pagination nav { display:flex; justify-content:center; }
.blog-empty { padding:45px 20px; border:1px solid #d7e7e0; border-radius:18px; background:#f8fdf9; text-align:center; }
.blog-empty svg { margin:0 auto 9px; color:#0aa840; }
.blog-empty h3 { margin:0; color:var(--blog-ink); font-weight:950; }
.blog-empty p { margin:6px 0 15px; color:#687880; font-size:.78rem; }
.blog-empty a { display:inline-flex; padding:8px 16px; border:1px solid #0aa840; border-radius:999px; color:#078435; font-size:.73rem; font-weight:850; text-decoration:none; }

body[data-blog-index] footer.blog-compact-footer { width:100%; max-width:none!important; margin-top:6px!important; padding:0!important; border:0!important; border-top:1px solid #daebe3!important; border-radius:0!important; color:#31464a!important; background:linear-gradient(110deg,#effaf2,#fff 52%,#ecf9f0)!important; box-shadow:none!important; overflow:visible!important; }
body[data-blog-index] .blog-compact-footer-inner { width:min(1544px,calc(100% - 40px)); min-height:104px; display:grid; grid-template-columns:240px 1fr 240px; align-items:center; gap:20px; margin:auto; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.blog-compact-brand { width:205px; height:68px; justify-self:start; display:block; overflow:hidden; text-decoration:none; }
.blog-compact-brand .marketing-logo-crop { width:205px; height:68px; }
.blog-compact-footer nav { display:flex; align-items:center; justify-content:center; gap:35px; }
.blog-compact-footer nav a { color:#31464a; font-size:.74rem; font-weight:850; text-decoration:none; }
.blog-compact-footer nav a[aria-current="page"] { color:#09953b; }
.blog-compact-socials { display:flex; justify-content:end; gap:8px; direction:ltr; }
.blog-compact-socials a { width:31px; height:31px; display:grid; place-items:center; border:1px solid #cae7d4; border-radius:9px; color:#0a6d38; background:#fff; text-decoration:none; font-size:.78rem; font-weight:900; }
body[data-blog-index] [data-contact-fab],body[data-blog-index] .contact-fab { display:none!important; }

@media (max-width:1180px) {
  .blog-reference-layout { grid-template-columns:230px minmax(0,1fr); }
  .blog-latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .blog-compact-footer-inner { grid-template-columns:200px 1fr 150px; }
  .blog-compact-footer nav { gap:18px; }
}
@media (max-width:900px) {
  body[data-blog-index] main { padding-inline:18px!important; }
  .blog-reference-hero { min-height:0; display:block; }
  .blog-reference-hero-copy { width:100%; padding:27px 22px 19px; }
  .blog-reference-hero-art { width:100%; height:200px; min-height:0; }
  .blog-reference-hero-art::after { background:linear-gradient(180deg,rgba(249,253,250,.98),transparent 35%); }
  .blog-reference-hero-art img { width:100%; left:0; object-position:center 60%; }
  .blog-reference-layout { grid-template-columns:1fr; }
  .blog-topics-card { position:static; display:grid; grid-template-columns:140px 1fr; column-gap:15px; text-align:right; }
  .blog-topics-art { grid-row:1/5; height:auto; min-height:215px; margin:-18px; margin-left:0; }
  .blog-topic-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .blog-all-topics { width:220px; max-width:100%; }
  .blog-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .blog-featured-card:last-child { display:none; }
  .blog-compact-footer-inner { grid-template-columns:180px 1fr; padding:16px 0; }
  .blog-compact-socials { display:none; }
}
@media (max-width:640px) {
  body[data-blog-index] main { padding:10px 12px 28px!important; }
  .blog-reference-hero { border-radius:23px; }
  .blog-reference-hero-copy { padding:23px 15px 16px; }
  .blog-reference-kicker { font-size:.68rem; }
  .blog-reference-hero h1 { font-size:1.85rem; }
  .blog-reference-hero-copy > p { margin:8px 0 13px; font-size:.73rem; line-height:1.75; }
  .blog-search { height:45px; }
  .blog-reference-facts { width:100%; justify-content:space-between; gap:4px; }
  .blog-reference-facts span { flex:1; min-width:0; padding:0 5px; font-size:.58rem; }
  .blog-reference-facts svg { width:16px!important; height:16px!important; }
  .blog-reference-hero-art { height:164px; }
  .blog-category-rail { margin-bottom:13px; }
  .blog-category-rail a { min-height:32px; padding:5px 13px; font-size:.66rem; }
  .blog-reference-layout { gap:15px; }
  .blog-topics-card { display:block; padding:15px; }
  .blog-topics-art { height:120px; min-height:0; margin:-15px -15px 12px; }
  .blog-topic-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .blog-topic-links a { min-height:40px; padding:6px 7px; font-size:.64rem; }
  .blog-all-topics { margin-inline:auto; }
  .blog-section-title h2 { font-size:1.05rem; }
  .blog-featured-grid { grid-template-columns:1fr; }
  .blog-featured-card:last-child { display:block; }
  .blog-featured-cover { height:185px; }
  .blog-latest-grid { grid-template-columns:1fr; }
  .blog-latest-card { grid-template-columns:118px minmax(0,1fr); min-height:124px; }
  .blog-latest-copy h3 { font-size:.78rem; }
  .blog-compact-footer-inner { width:100%; display:flex; flex-direction:column; gap:10px; padding:17px 14px 20px; }
  .blog-compact-brand { width:180px; height:60px; margin:auto; }
  .blog-compact-brand .marketing-logo-crop { width:180px; height:60px; }
  .blog-compact-footer nav { flex-wrap:wrap; gap:9px 19px; }
  .blog-compact-footer nav a { font-size:.68rem; }
}
