/*
Theme Name: Legal Ace Guide - Theme 3 Modern
Author: OpenAI
Version: 1.6.0
Text Domain: legalaceguide-theme3
*/
:root{--navy:#071b2d;--navy2:#0a2941;--gold:#efb94f;--gold2:#ffd374;--cream:#faf7f1;--ink:#10263a;--line:#e9e3d8;--muted:#6b7680}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;overflow-x:hidden}img{max-width:100%;height:auto}.wrap{width:min(1400px,calc(100% - 40px));margin-inline:auto}a{color:inherit}
.lag-header{position:sticky;top:0;z-index:999;background:rgba(5,21,35,.97);border-bottom:1px solid rgba(239,185,79,.35);backdrop-filter:blur(10px)}.admin-bar .lag-header{top:32px}.lag-header-row{min-height:62px;display:grid;grid-template-columns:360px 1fr auto;gap:18px;align-items:center}.lag-brand img{display:block;width:330px;height:52px;object-fit:contain;object-position:left center}.lag-nav{display:flex;align-items:center;justify-content:flex-end;gap:3px}.lag-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px;align-items:center}.lag-nav a{display:block;padding:21px 13px;color:#fff;text-decoration:none;font-size:11px;font-weight:700}.lag-nav a:hover,.lag-nav .current-menu-item>a{color:var(--gold)}.lag-more{padding-right:4px!important}.lag-actions{display:flex;gap:8px}.lag-actions button{width:38px;height:38px;border-radius:50%;border:1px solid rgba(239,185,79,.5);background:rgba(255,255,255,.03);color:var(--gold);font-size:18px}.lag-menu-toggle{display:none}.lag-search-panel{display:none;background:#061725;border-top:1px solid rgba(255,255,255,.04)}.lag-search-panel.open{display:block}.lag-search-panel form{width:min(700px,calc(100% - 40px));margin:auto;padding:12px 0;display:grid;grid-template-columns:1fr 95px}.lag-search-panel input{height:42px;border:0;padding:0 15px}.lag-search-panel button{border:0;background:var(--gold);font-weight:800;color:#071b2d}
.lag-hero{background:linear-gradient(90deg,#061827 0%,#071e31 53%,#0b1d2c 100%);color:#fff}.lag-hero-grid{min-height:360px;display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch}.lag-hero-copy{padding:54px 0 48px;display:flex;flex-direction:column;justify-content:center}.lag-hero-copy>span{color:var(--gold);font-size:12px;letter-spacing:2px;font-weight:900}.lag-hero-copy h1{margin:10px 0 12px;font:700 clamp(3.6rem,6vw,6rem)/.95 Georgia,serif}.lag-hero-copy h1 em{font-style:normal;color:var(--gold2)}.lag-hero-copy p{max-width:650px;color:#e2e8ed;font-size:17px;line-height:1.5;margin:0 0 22px}.lag-hero-actions{display:flex;gap:14px}.lag-hero-actions a{display:inline-flex;min-height:44px;align-items:center;padding:0 22px;border-radius:10px;text-decoration:none;font-weight:800;font-size:13px}.lag-hero-actions .primary{background:linear-gradient(180deg,#ffd071,#edb247);color:#10263a}.lag-hero-actions .secondary{border:1px solid var(--gold);color:#fff}.lag-hero-visual{overflow:hidden;min-height:360px}.lag-hero-visual img{width:100%;height:100%;object-fit:cover}
.lag-topic-strip{margin-top:-32px;position:relative;z-index:3}.lag-topic-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.lag-topic-card{min-height:100px;padding:13px;border:1px solid rgba(239,185,79,.5);border-radius:10px;background:linear-gradient(180deg,#0c2942,#081c2f);color:#fff;text-decoration:none;text-align:center;box-shadow:0 10px 20px rgba(0,0,0,.16)}.lag-topic-icon{display:block;color:var(--gold);font-size:27px;margin-bottom:3px}.lag-topic-card strong{display:block;font:700 16px Georgia,serif}.lag-topic-card small{display:block;margin-top:4px;color:#cfd8df;font-size:9px}
.lag-trending,.lag-image-cats,.lag-insights,.lag-archive,.lag-single{padding:34px 0}.lag-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.lag-section-head h2{margin:0;font:700 31px Georgia,serif}.lag-section-head>a{color:#b7781b;text-decoration:none;font-size:11px;font-weight:800}.lag-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.lag-post-card{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 20px rgba(7,27,45,.05)}.lag-post-card .image{display:block;height:150px;overflow:hidden}.lag-post-card .image img{width:100%;height:100%;object-fit:cover}.lag-post-card .copy{padding:12px}.lag-post-card small{display:inline-block;padding:4px 7px;border-radius:4px;background:#164d97;color:#fff;font-size:7px;font-weight:900}.lag-post-card h3{margin:7px 0 10px;font:700 18px/1.08 Georgia,serif}.lag-post-card h3 a{text-decoration:none}.meta{font-size:9px;color:#7c858d}
.lag-image-cats{padding-top:4px}.lag-image-cat-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.lag-image-cat{position:relative;height:100px;border-radius:8px;overflow:hidden;text-decoration:none}.lag-image-cat img{width:100%;height:100%;object-fit:cover}.lag-image-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 32%,rgba(3,18,31,.92))}.lag-image-cat span{position:absolute;z-index:2;left:8px;right:7px;bottom:7px;color:#fff;font-size:10px;font-weight:800;display:flex;justify-content:space-between;align-items:center}.lag-image-cat b{width:24px;height:24px;border-radius:50%;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold)}
.lag-insights{background:#f8f6f1}.lag-insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.lag-insight-card{display:grid;grid-template-columns:150px 1fr;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.lag-insight-card .image{display:block;height:120px}.lag-insight-card img{width:100%;height:100%;object-fit:cover}.lag-insight-card>div{padding:12px}.lag-insight-card h3{margin:0 0 7px;font:700 17px/1.12 Georgia,serif}.lag-insight-card h3 a{text-decoration:none}.lag-insight-card p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.lag-archive-head,.lag-single-head{padding:46px 0 30px;background:linear-gradient(135deg,#071b2d,#0a2941);color:#fff}.lag-archive-head span,.lag-single-head span{color:var(--gold);font-size:8px;font-weight:900;letter-spacing:1.4px}.lag-archive-head h1,.lag-single-head h1{margin:8px 0 9px;font:700 48px/1 Georgia,serif}.lag-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lag-archive-card{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.lag-archive-card .image{display:block;height:210px;overflow:hidden}.lag-archive-card .image img{width:100%;height:100%;object-fit:cover}.lag-archive-card .copy{padding:16px}.lag-archive-card small{color:#b7781b;font-size:8px}.lag-archive-card h3{margin:7px 0;font:700 20px/1.1 Georgia,serif}.lag-archive-card h3 a{text-decoration:none}.lag-archive-card p{color:var(--muted);font-size:11px;line-height:1.5}.lag-archive-card .read{color:#a66f1c;text-decoration:none;font-weight:800;font-size:9px}
.lag-single-wrap{width:min(980px,calc(100% - 40px));margin:auto}.lag-featured{margin:0 0 24px;border:2px solid var(--gold);border-radius:13px;overflow:hidden;box-shadow:0 14px 36px rgba(7,27,45,.14)}.lag-featured img{display:block;width:100%;max-height:560px;object-fit:cover}.lag-entry{padding:34px 38px;border:1px solid var(--line);border-radius:12px;background:#fff;font:16px/1.75 Georgia,serif}.lag-entry h2{color:#0b2941}.lag-entry img{display:block;max-width:100%;height:auto;margin:22px auto;border-radius:10px}.lag-entry a{color:#a86f18}.lag-related{margin-top:28px}.lag-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.lag-related article{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.lag-related .image{display:block;height:130px}.lag-related .image img{width:100%;height:100%;object-fit:cover}.lag-related h3{padding:0 11px 12px;font:700 14px/1.15 Georgia,serif}.lag-related h3 a{text-decoration:none}
.lag-footer{position:relative;overflow:hidden;background:linear-gradient(135deg,#04131f,#071e31 56%,#061522);color:#fff;border-top:1px solid rgba(239,185,79,.3)}.lag-footer-glow{position:absolute;width:360px;height:360px;border-radius:50%;filter:blur(70px);opacity:.13}.lag-footer-glow.one{left:-160px;top:-170px;background:#efb94f}.lag-footer-glow.two{right:-170px;bottom:-200px;background:#3170aa}.lag-footer-top{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .72fr 1.1fr 1fr;gap:34px;padding:42px 0 30px}.lag-footer-brand img{width:300px}.lag-footer-brand p{max-width:340px;color:#b9c6cf;font-size:10px;line-height:1.55}.lag-trust{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.lag-trust span{padding:6px 8px;border-radius:999px;border:1px solid rgba(239,185,79,.22);color:#ced8df;font-size:7px}.lag-footer-col>span,.lag-footer-card>span{display:block;color:var(--gold);font-size:7px;font-weight:900;letter-spacing:1.3px;margin-bottom:5px}.lag-footer-col h3,.lag-footer-card h3{margin:0 0 13px;font:700 17px Georgia,serif}.lag-footer-col>a{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#cad5dc;text-decoration:none;font-size:9px}.lag-footer-col>a b{color:var(--gold)}.lag-footer-cats{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}.lag-footer-cats a{color:#cad5dc;text-decoration:none;font-size:8px}.lag-footer-card{padding:18px;border:1px solid rgba(239,185,79,.18);border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 20px 40px rgba(0,0,0,.16)}.lag-footer-card p{color:#b9c6cf;font-size:9px;line-height:1.5}.lag-footer-card>a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:8px;background:var(--gold);color:#071b2d;text-decoration:none;font-size:8px;font-weight:900}.lag-footer-bottom{position:relative;z-index:2;min-height:52px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.07);color:#8e9eaa;font-size:7px}.lag-footer-bottom div{display:flex;gap:14px}.lag-footer-bottom a{color:#a6b5bf;text-decoration:none}
@media(max-width:1100px){.lag-header-row{grid-template-columns:300px 1fr auto}.lag-brand img{width:280px}.lag-topic-grid{grid-template-columns:repeat(3,1fr)}.lag-image-cat-grid{grid-template-columns:repeat(5,1fr)}.lag-post-grid,.lag-related-grid{grid-template-columns:repeat(2,1fr)}.lag-insight-grid{grid-template-columns:repeat(2,1fr)}.lag-footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.admin-bar .lag-header{top:46px}.lag-header-row{grid-template-columns:1fr auto}.lag-nav{display:none;position:absolute;left:0;right:0;top:62px;background:#061827;padding:8px 20px}.lag-nav.open{display:block}.lag-nav ul{display:grid}.lag-nav a{padding:10px 6px}.lag-menu-toggle{display:block}.lag-hero-grid{grid-template-columns:1fr}.lag-hero-visual{min-height:280px}.lag-topic-strip{margin-top:0}.lag-topic-grid{grid-template-columns:repeat(2,1fr)}.lag-archive-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.wrap{width:min(100% - 24px,1400px)}.lag-brand img{width:245px}.lag-hero-copy h1{font-size:42px}.lag-hero-copy p{font-size:14px}.lag-topic-grid,.lag-post-grid,.lag-insight-grid,.lag-archive-grid,.lag-related-grid{grid-template-columns:1fr}.lag-image-cat-grid{grid-template-columns:repeat(2,1fr)}.lag-footer-top{grid-template-columns:1fr}.lag-footer-cats{grid-template-columns:1fr}.lag-footer-bottom{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:12px 0}.lag-entry{padding:24px 18px}}


/* =========================================================
   v1.1 — single post images + related links + related posts
   ========================================================= */

/* Main featured image: consistent border + shadow on every post */
.lag11-featured{
  margin:0 auto 26px!important;
  border:2px solid #e5b14d!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:
    0 18px 42px rgba(7,27,45,.16),
    0 3px 10px rgba(7,27,45,.08)!important;
}
.lag11-featured img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:620px!important;
  object-fit:cover!important;
}

/* Every image inside the article gets systematic styling */
.lag11-entry img:not(.emoji):not(.wp-smiley){
  display:block!important;
  width:100%!important;
  max-width:860px!important;
  height:auto!important;
  margin:26px auto!important;
  border:1px solid rgba(228,176,77,.72)!important;
  border-radius:12px!important;
  box-shadow:0 12px 30px rgba(7,27,45,.12)!important;
  object-fit:cover!important;
}
.lag11-entry figure{
  max-width:100%!important;
  margin:26px auto!important;
}
.lag11-entry figure img{
  margin:0 auto!important;
}

/* Keep emoji/smiley images small */
.lag11-entry img.emoji,
.lag11-entry img.wp-smiley{
  display:inline-block!important;
  width:1em!important;
  height:1em!important;
  max-width:1em!important;
  margin:0 .08em!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Inline related reading boxes */
.lag11-reading{
  display:grid!important;
  grid-template-columns:46px 1fr 34px!important;
  gap:12px!important;
  align-items:center!important;
  margin:24px 0!important;
  padding:12px 14px!important;
  border:1px solid #e2b55f!important;
  border-radius:10px!important;
  background:linear-gradient(90deg,#fffaf1,#fffdf9)!important;
  box-shadow:0 8px 20px rgba(7,27,45,.04)!important;
}
.lag11-reading-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#f5e7ca!important;
  color:#a46f1f!important;
  font-size:21px!important;
}
.lag11-reading-copy small{
  display:block!important;
  margin-bottom:4px!important;
  color:#a47324!important;
  font:800 7px Arial,sans-serif!important;
  letter-spacing:.8px!important;
}
.lag11-reading-copy a{
  color:#102c45!important;
  text-decoration:none!important;
  font:700 14px/1.25 Georgia,serif!important;
}
.lag11-reading-arrow{
  color:#b57a24!important;
  text-decoration:none!important;
  text-align:center!important;
  font-size:21px!important;
}

/* Related Links */
.lag11-links-panel{
  margin:26px 0 30px!important;
  padding:21px!important;
  border:1px solid #e8e0d3!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(7,27,45,.06)!important;
}
.lag11-panel-head span{
  color:#b97d20!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:1.5px!important;
}
.lag11-panel-head h2{
  margin:5px 0 14px!important;
  color:#102c45!important;
  font:700 26px Georgia,serif!important;
}
.lag11-links-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.lag11-links-grid>a{
  min-height:58px!important;
  display:grid!important;
  grid-template-columns:36px 1fr 20px!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px 12px!important;
  border:1px solid #eadfc9!important;
  border-radius:8px!important;
  background:linear-gradient(90deg,#fff9ef,#fff)!important;
  color:#17314a!important;
  text-decoration:none!important;
  font:700 11px/1.3 Georgia,serif!important;
}
.lag11-link-icon{
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#f5ead4!important;
  color:#9e6c20!important;
}
.lag11-links-grid b{
  color:#b67b22!important;
  font-size:17px!important;
}

/* Related posts upgraded */
.lag11-related-head{
  margin-bottom:12px!important;
}
.lag11-related .lag-related-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.lag11-related .lag-related-grid article{
  overflow:hidden!important;
  border:1px solid #e6dfd4!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(7,27,45,.08)!important;
}
.lag11-related .image{
  display:block!important;
  height:155px!important;
  overflow:hidden!important;
}
.lag11-related .image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.lag11-related-copy{
  padding:10px 12px 14px!important;
}
.lag11-related-copy small{
  display:block!important;
  margin-bottom:5px!important;
  color:#b3781f!important;
  font-size:7px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.lag11-related-copy h3{
  margin:0!important;
  padding:0!important;
  font:700 14px/1.15 Georgia,serif!important;
}

/* Prevent image/text overflow in all posts */
.lag11-entry,
.lag11-entry *{
  min-width:0!important;
  box-sizing:border-box!important;
}
.lag11-entry p,
.lag11-entry div,
.lag11-entry section,
.lag11-entry blockquote,
.lag11-entry ul,
.lag11-entry ol,
.lag11-entry li{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-wrap:break-word!important;
}

/* external links visually different */
.lag11-entry a[href^="http"]{
  color:#1980a7;
  text-decoration-color:#1980a7;
}

@media(max-width:900px){
  .lag11-related .lag-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .lag11-links-grid{
    grid-template-columns:1fr!important;
  }
  .lag11-related .lag-related-grid{
    grid-template-columns:1fr!important;
  }
  .lag11-entry img:not(.emoji):not(.wp-smiley){
    max-width:100%!important;
  }
}


/* =========================================================
   v1.2 — make all single-post images reach the article border
   ========================================================= */

/* Article box keeps its text padding, but images can extend to the inside edge. */
.lag11-entry{
  overflow:hidden!important;
}

/* Any substantial image in post content spans the full inner article width. */
.lag11-entry figure,
.lag11-entry .wp-block-image,
.lag11-entry .wp-caption{
  width:calc(100% + 76px)!important;
  max-width:none!important;
  margin-left:-38px!important;
  margin-right:-38px!important;
}

/* Images themselves fill the full border-to-border width. */
.lag11-entry img:not(.emoji):not(.wp-smiley){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:24px 0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:cover!important;
}

/* If the image is directly inside the article (no figure wrapper), expand it too. */
.lag11-entry > img:not(.emoji):not(.wp-smiley){
  width:calc(100% + 76px)!important;
  max-width:none!important;
  margin-left:-38px!important;
  margin-right:-38px!important;
}

/* Keep first/main image styling premium where it is outside the white content card. */
.lag11-featured img{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:cover!important;
}

/* Related-post card images fill their card borders exactly. */
.lag11-related .image,
.lag11-related .image img{
  width:100%!important;
}
.lag11-related .image img{
  height:100%!important;
  object-fit:cover!important;
}

/* Mobile uses the reduced article padding */
@media(max-width:620px){
  .lag11-entry figure,
  .lag11-entry .wp-block-image,
  .lag11-entry .wp-caption{
    width:calc(100% + 36px)!important;
    margin-left:-18px!important;
    margin-right:-18px!important;
  }
  .lag11-entry > img:not(.emoji):not(.wp-smiley){
    width:calc(100% + 36px)!important;
    margin-left:-18px!important;
    margin-right:-18px!important;
  }
}


/* =========================================================
   v1.3 — HARD FIX: featured image exactly border-to-border
   ========================================================= */

/* Remove every possible inherited spacing from the featured figure. */
.lag13-featured{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 28px!important;
  padding:0!important;
  border:2px solid #e5b14d!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#0b1f31!important;
  line-height:0!important;
  aspect-ratio:16 / 9!important;
  box-shadow:
    0 18px 42px rgba(7,27,45,.16),
    0 3px 10px rgba(7,27,45,.08)!important;
}

/* Image is pinned to every inside edge of the border. */
.lag13-featured > .lag13-featured-img,
.lag13-featured > img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Neutralize WordPress image sizing classes on this image. */
.lag13-featured .wp-post-image,
.lag13-featured .size-full,
.lag13-featured .size-large,
.lag13-featured [class*="attachment-"]{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
}

/* All in-article image blocks should also occupy the complete content-card width. */
.lag11-entry > figure,
.lag11-entry > .wp-block-image,
.lag11-entry > .wp-caption,
.lag11-entry > picture{
  display:block!important;
  width:calc(100% + 76px)!important;
  max-width:none!important;
  margin:26px -38px!important;
  padding:0!important;
  overflow:hidden!important;
}

.lag11-entry > figure img:not(.emoji):not(.wp-smiley),
.lag11-entry > .wp-block-image img:not(.emoji):not(.wp-smiley),
.lag11-entry > .wp-caption img:not(.emoji):not(.wp-smiley),
.lag11-entry > picture img:not(.emoji):not(.wp-smiley){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Direct child images: same full-width behavior. */
.lag11-entry > img:not(.emoji):not(.wp-smiley){
  display:block!important;
  width:calc(100% + 76px)!important;
  max-width:none!important;
  height:auto!important;
  margin:26px -38px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Related post images always touch the card edges. */
.lag11-related .image{
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}
.lag11-related .image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover!important;
}

@media(max-width:620px){
  .lag13-featured{
    aspect-ratio:16 / 10!important;
  }
  .lag11-entry > figure,
  .lag11-entry > .wp-block-image,
  .lag11-entry > .wp-caption,
  .lag11-entry > picture{
    width:calc(100% + 36px)!important;
    margin-left:-18px!important;
    margin-right:-18px!important;
  }
  .lag11-entry > img:not(.emoji):not(.wp-smiley){
    width:calc(100% + 36px)!important;
    margin-left:-18px!important;
    margin-right:-18px!important;
  }
}


/* =========================================================
   v1.4 — centered menu + premium search + image categories
   ========================================================= */

/* Header menu centered in the available header space */
.lag-header-row{
  grid-template-columns:330px minmax(0,1fr) 320px!important;
  gap:18px!important;
}
.lag-nav{
  justify-content:center!important;
  margin:0 auto!important;
  width:100%!important;
}
.lag-nav ul{
  justify-content:center!important;
}
.lag-nav a{
  padding:21px 11px!important;
  white-space:nowrap!important;
}

/* Modern premium header search */
.lag-actions{
  justify-content:flex-end!important;
  align-items:center!important;
}
.lag-header-search{
  width:285px!important;
  height:40px!important;
  display:grid!important;
  grid-template-columns:1fr 42px!important;
  align-items:center!important;
  overflow:hidden!important;
  border:1px solid rgba(239,185,79,.36)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 7px 18px rgba(0,0,0,.14)!important;
}
.lag-header-search input{
  min-width:0!important;
  height:38px!important;
  padding:0 14px!important;
  border:0!important;
  outline:0!important;
  color:#fff!important;
  background:transparent!important;
  font-size:10px!important;
}
.lag-header-search input::placeholder{
  color:#93a3af!important;
}
.lag-header-search button{
  width:38px!important;
  height:38px!important;
  margin-right:1px!important;
  border:0!important;
  border-radius:50%!important;
  background:linear-gradient(180deg,#f7cc72,#dfa844)!important;
  color:#071b2d!important;
  font-size:18px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 3px 10px rgba(0,0,0,.16)!important;
}
.lag-header-search:focus-within{
  border-color:#f0be59!important;
  box-shadow:0 0 0 3px rgba(239,185,79,.10),0 8px 22px rgba(0,0,0,.16)!important;
}

/* Top category cards are now full visual image cards */
.lag-topic-strip{
  margin-top:-26px!important;
}
.lag-topic-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
}
.lag-topic-card-image{
  position:relative!important;
  min-height:125px!important;
  padding:0!important;
  overflow:hidden!important;
  text-align:left!important;
  border:1px solid rgba(239,185,79,.45)!important;
  border-radius:12px!important;
  background:#071b2d!important;
  box-shadow:0 12px 26px rgba(7,27,45,.18)!important;
}
.lag-topic-card-image>img{
  display:block!important;
  width:100%!important;
  height:125px!important;
  object-fit:cover!important;
  transition:transform .28s ease!important;
}
.lag-topic-card-image:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(3,18,31,.05) 15%,rgba(3,18,31,.88) 100%)!important;
}
.lag-topic-card-image:hover>img{
  transform:scale(1.04)!important;
}
.lag-topic-overlay{
  position:absolute!important;
  z-index:2!important;
  left:12px!important;
  right:10px!important;
  bottom:10px!important;
  display:grid!important;
  grid-template-columns:1fr 26px!important;
  align-items:end!important;
}
.lag-topic-overlay strong{
  grid-column:1!important;
  color:#fff!important;
  font:700 15px/1.08 Georgia,serif!important;
}
.lag-topic-overlay small{
  grid-column:1!important;
  margin-top:4px!important;
  color:#d4dde3!important;
  font-size:8px!important;
}
.lag-topic-overlay b{
  grid-column:2!important;
  grid-row:1/3!important;
  align-self:end!important;
  width:25px!important;
  height:25px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  border:1px solid #efb94f!important;
  color:#efb94f!important;
  font-size:12px!important;
}

/* Hide the old drop-down search panel styling since search is now inline */
.lag-search-panel{display:none!important}

/* Tablet/mobile */
@media(max-width:1180px){
  .lag-header-row{
    grid-template-columns:280px minmax(0,1fr) 245px!important;
  }
  .lag-brand img{width:270px!important}
  .lag-header-search{width:225px!important}
  .lag-nav a{padding-left:8px!important;padding-right:8px!important;font-size:10px!important}
}
@media(max-width:900px){
  .lag-header-row{
    grid-template-columns:1fr auto!important;
  }
  .lag-header-search{
    display:none!important;
  }
  .lag-nav{
    justify-content:flex-start!important;
  }
  .lag-topic-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .lag-topic-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v1.6 — remove footer CTA card
   ========================================================= */
.lag-footer-card{
  display:none!important;
}
.lag-footer-top{
  grid-template-columns:1.25fr .8fr 1.25fr!important;
  gap:42px!important;
}
@media(max-width:1100px){
  .lag-footer-top{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:620px){
  .lag-footer-top{
    grid-template-columns:1fr!important;
  }
}
