/* SEO Expert Gold Coast | blog post template: hero, article typography, author box, post navigation, more posts. Load after site.css. */

/* ---------- POST HERO ---------- */
.seg-post-hero{position:relative;overflow:hidden;color:#fff;padding:72px 0 120px;background:radial-gradient(900px 480px at 85% 10%,rgba(3,88,196,.5) 0%,transparent 60%),radial-gradient(700px 420px at 5% 100%,rgba(154,111,18,.38) 0%,transparent 55%),var(--ink)}
.seg-post-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(232,195,90,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(232,195,90,.06) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(ellipse at 70% 30%,#000 15%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 70% 30%,#000 15%,transparent 70%);pointer-events:none}
.seg-post-hero .seg-wrap{position:relative;max-width:900px}
.seg-post-cat{display:inline-block;background:var(--bluegrad);color:#fff;font-weight:700;font-size:13px;letter-spacing:.02em;padding:6px 14px;border-radius:8px;box-shadow:0 8px 22px -8px rgba(5,171,238,.7)}
.seg-post-h1{font-size:clamp(32px,4.6vw,54px);font-weight:900;color:#fff;margin-top:18px!important;letter-spacing:-.025em}
.seg-post-meta{display:flex;align-items:center;gap:12px;margin-top:26px;color:#b9c2da;font-size:15px}
.seg-post-meta img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid var(--gold-2)}
.seg-post-meta strong{color:#fff;font-weight:700}

/* ---------- ARTICLE ---------- */
.seg-post{position:relative;max-width:860px;margin:-72px auto 0;padding:0 24px 96px}
.seg-post-body{background:#fff;border-radius:var(--r);box-shadow:0 30px 60px -40px rgba(11,20,48,.45);border:1px solid #ecebe4;padding:56px 64px;font-size:18px;line-height:1.75;color:var(--text)}
.seg-post-body>*+*{margin-top:22px}
.seg-post-body :where(h2,h3,h4){color:var(--navy);font-weight:800;margin-top:44px}
.seg-post-body h2{font-size:30px}
.seg-post-body h3{font-size:25px}
.seg-post-body h4{font-size:20px}
.seg-post-body :where(h2,h3,h4)+*{margin-top:14px}
.seg-post-body a{color:var(--blue-2);font-weight:600;text-decoration:underline;text-decoration-color:rgba(3,88,196,.35);text-underline-offset:3px}
.seg-post-body a:hover{text-decoration-color:var(--blue-2)}
.seg-post-body strong{color:var(--navy)}
.seg-post-body :where(ul,ol){padding-left:24px}
.seg-post-body ul{list-style:none;padding-left:0}
.seg-post-body ul li{position:relative;padding-left:28px}
.seg-post-body ul li::before{content:"";position:absolute;left:4px;top:.62em;width:10px;height:10px;border-radius:3px;background:var(--goldgrad)}
.seg-post-body ol{list-style:decimal}
.seg-post-body ol li::marker{color:var(--gold-3);font-weight:800}
.seg-post-body li+li{margin-top:8px}
.seg-post-body img{max-width:100%;height:auto;display:block;border-radius:12px}
.seg-post-fig{margin:30px 0 0}
.seg-post-fig:first-child{margin-top:0}
.seg-post-fig img{margin:0 auto}
.seg-post-fig a{display:block;text-decoration:none}
.seg-post-fig.sm img{max-width:420px;width:100%}
.seg-post-fig a img{transition:transform .3s}
.seg-post-fig a:hover img{transform:translateY(-3px)}
.seg-post-body .seg-post-right{float:right;max-width:min(45%,304px);margin:4px 0 16px 28px}
.seg-post-body::after{content:"";display:table;clear:both}
.seg-post-cols{display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));gap:20px;align-items:start}
.seg-post-cols>div>*+*{margin-top:18px}
.seg-post-cols .seg-post-fig{margin-top:0}
.seg-post-quote{margin:34px 0 0;padding:26px 30px;border-left:4px solid var(--gold-2);background:var(--paper);border-radius:0 14px 14px 0}
.seg-post-quote p{font-size:20px;font-weight:600;color:var(--navy);line-height:1.6}
.seg-post-quote cite{display:block;margin-top:12px;font-style:normal;font-weight:700;font-size:15px;color:var(--gold-3)}

/* ---------- SHARE, AUTHOR, PREV/NEXT ---------- */
.seg-post-foot{margin-top:28px;display:grid;gap:22px}
.seg-post-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-weight:800;color:var(--navy)}
.seg-post-share span{margin-right:6px}
.seg-post-share a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;transition:background .25s,transform .25s}
.seg-post-share a:hover{background:var(--blue-2);transform:translateY(-3px)}
.seg-post-share svg{width:17px;height:17px;fill:currentColor}
.seg-post-author{display:flex;gap:24px;align-items:flex-start;background:var(--navy);color:#c9d0e6;border-radius:var(--r);padding:30px 32px;position:relative;overflow:hidden}
.seg-post-author::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(rgba(212,167,44,.25),transparent 70%);pointer-events:none}
.seg-post-author img{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid var(--gold-2);flex:none}
.seg-post-author h2{font-size:20px;font-weight:800}
.seg-post-author h2 a{color:#fff}
.seg-post-author h2 a:hover{color:var(--gold)}
.seg-post-author p{margin-top:8px;font-size:15.5px;line-height:1.65}
.seg-post-author p a{color:var(--gold);font-weight:700}
.seg-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.seg-post-nav a{display:block;padding:20px 22px;border:1.5px solid #e3e5ee;border-radius:16px;background:#fff;transition:border-color .25s,transform .25s}
.seg-post-nav a:hover{border-color:var(--gold-2);transform:translateY(-3px)}
.seg-post-nav a.next{text-align:right;grid-column:2}
.seg-post-nav small{display:block;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-3)}
.seg-post-nav span{display:block;margin-top:6px;font-weight:800;color:var(--navy);line-height:1.35}

/* ---------- MORE POSTS ---------- */
.seg-post-more{background:var(--paper);padding:80px 0}
.seg-post-more-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap}
.seg-post-more-head h2{font-size:clamp(26px,3vw,36px);font-weight:900;color:var(--navy)}
.seg-post-more-head a{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--blue-2)}
.seg-post-more-head a svg{width:16px;height:16px}
.seg-post-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.seg-post-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e9e4d6;border-radius:var(--r);overflow:hidden;transition:transform .25s,box-shadow .25s}
.seg-post-card:hover{transform:translateY(-4px);box-shadow:0 24px 40px -28px rgba(11,20,48,.45)}
.seg-post-card .img{display:block;aspect-ratio:16/10;background:var(--navy);overflow:hidden}
.seg-post-card .img img{width:100%;height:100%;object-fit:cover;display:block}
.seg-post-card .body{display:block;padding:18px 20px 22px}
.seg-post-card small{display:block;font-size:13px;font-weight:700;color:var(--gold-3)}
.seg-post-card strong{display:block;margin-top:6px;font-size:17px;font-weight:800;color:var(--navy);line-height:1.35}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .seg-post-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .seg-post-hero{padding:48px 0 96px}
  .seg-post{padding:0 12px 72px;margin-top:-60px}
  .seg-post-body{padding:30px 20px;font-size:17px}
  .seg-post-body h2{font-size:25px}
  .seg-post-body h3{font-size:22px}
  .seg-post-body .seg-post-right{float:none;max-width:100%;margin:0 auto 16px}
  .seg-post-cols{grid-template-columns:1fr}
  .seg-post-author{flex-direction:column;padding:26px 22px}
  .seg-post-nav{grid-template-columns:1fr}
  .seg-post-nav a.next{grid-column:auto}
  .seg-post-cards{grid-template-columns:1fr}
  .seg-post-more{padding:60px 0}
}
.seg-post-meta img+img{margin-left:-24px}
