/* ==========================================================================
   Glotrave Guides — front-end styles (scoped to .glt)
   Palette sampled from the brand logo.
   ========================================================================== */

.glt{
  /* Brand */
  --blue:#1A73E8;  --blue-700:#155ec0;  --blue-050:#e8f0fe;
  --coral:#EA4335; --coral-700:#c5321f; --coral-050:#fdecea;
  --green:#1E8E4E; --green-700:#166b3b; --green-050:#e7f4ec;
  --gold:#FBBC05;  --gold-700:#c98f00;  --gold-050:#fff6d9;
  /* Neutrals */
  --ink:#1F2430; --slate:#5a6270; --mist:#8b93a3;
  --line:#e7eaf0; --panel:#f6f8fb; --panel-2:#eef2f8; --white:#fff;
  /* Type + tokens */
  --display:'Fraunces',Georgia,serif;
  --body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --radius:16px; --radius-sm:10px; --pill:999px;
  --shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.07);
  --shadow-lg:0 6px 14px rgba(16,24,40,.10),0 24px 48px rgba(16,24,40,.12);
  --maxw:1180px;
  font-family:var(--body); color:var(--ink); line-height:1.6;
}
.glt *{box-sizing:border-box}
.glt a{text-decoration:none}
.glt-wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.glt-section{padding:80px 0}
.glt-home > .glt-section:nth-of-type(even){background:var(--panel)}

/* ---- Section head ---- */
.glt-head{display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:48px; flex-wrap:wrap}
.glt-head-center{flex-direction:column; text-align:center}
.glt-h2{font-family:var(--display); font-weight:600; font-size:34px; line-height:1.12; letter-spacing:-.01em; margin:0; position:relative; padding-left:16px}
.glt-h2::before{content:""; position:absolute; left:0; top:6px; bottom:6px; width:5px; border-radius:5px; background:var(--blue)}
.glt-accent-coral .glt-h2::before{background:var(--coral)}
.glt-accent-green .glt-h2::before{background:var(--green)}
.glt-accent-gold  .glt-h2::before{background:var(--gold)}
.glt-head-center .glt-h2{padding-left:0}
.glt-head-center .glt-h2::before{display:none}
.glt-desc{color:var(--slate); font-size:16px; margin:8px 0 0; max-width:640px}
.glt-h2-link{color:inherit}
.glt-h2-link:hover{text-decoration:underline; text-underline-offset:4px}

/* ---- Buttons ---- */
.glt-btn{font:600 15px/1 var(--body); border:0; cursor:pointer; border-radius:var(--radius-sm);
  padding:14px 26px; display:inline-flex; gap:8px; align-items:center; color:#fff;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease}
.glt-btn-blue{background:var(--blue)}   .glt-btn-blue:hover{background:var(--blue-700); transform:translateY(-2px); box-shadow:0 10px 22px rgba(26,115,232,.28)}
.glt-btn-coral{background:var(--coral)} .glt-btn-coral:hover{background:var(--coral-700); transform:translateY(-2px); box-shadow:0 10px 22px rgba(234,67,53,.28)}
.glt-btn-green{background:var(--green)} .glt-btn-green:hover{background:var(--green-700); transform:translateY(-2px); box-shadow:0 10px 22px rgba(30,142,78,.28)}
.glt-btn-gold{background:var(--gold-700)} .glt-btn-gold:hover{background:#a97800; transform:translateY(-2px)}
.glt-btn-lg{padding:16px 34px; font-size:16px}
.glt-btn-ghost{background:#fff; color:var(--blue); border:1.5px solid var(--blue)}
.glt-ghost-coral{color:var(--coral); border-color:var(--coral)} .glt-ghost-coral:hover{background:var(--coral-050)}
.glt-ghost-green{color:var(--green); border-color:var(--green)} .glt-ghost-green:hover{background:var(--green-050)}
.glt-ghost-gold{color:var(--gold-700); border-color:var(--gold)} .glt-ghost-gold:hover{background:var(--gold-050)}
.glt-btn-ghost.glt-ghost-blue:hover,.glt-btn-ghost:hover{background:var(--blue-050)}

/* ---- Text colors ---- */
.glt-c-blue{color:var(--blue)} .glt-c-coral{color:var(--coral)} .glt-c-green{color:var(--green)} .glt-c-gold{color:var(--gold-700)}

/* ---- Badge ---- */
.glt-badge{position:absolute; top:12px; left:12px; z-index:2; font:700 11px/1 var(--body);
  letter-spacing:.06em; text-transform:uppercase; color:#fff; padding:6px 11px; border-radius:var(--pill); transition:filter .18s ease}
.glt-badge:hover{filter:brightness(.92)}
.glt-badge.glt-blue{background:var(--blue)} .glt-badge.glt-coral{background:var(--coral)}
.glt-badge.glt-green{background:var(--green)} .glt-badge.glt-gold{background:var(--gold-700)}

/* ---- Card ---- */
.glt-grid{display:grid; gap:24px}
.glt-grid-3{grid-template-columns:repeat(3,1fr)}
.glt-grid-4{grid-template-columns:repeat(4,1fr)}
.glt-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease; display:flex; flex-direction:column}
.glt-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg)}
.glt-thumb-wrap{position:relative; display:block}
.glt-thumb{position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:var(--panel-2)}
.glt-thumb img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.glt-card:hover .glt-thumb img{transform:scale(1.06)}
.glt-noimg{display:block; width:100%; height:100%; background:linear-gradient(135deg,var(--blue-050),var(--panel-2))}
.glt-body{padding:18px; display:flex; flex-direction:column; flex:1}
.glt-title{font-family:var(--display); font-weight:600; font-size:19px; line-height:1.25; margin:0 0 8px}
.glt-title a{color:var(--ink)} .glt-title a:hover{color:var(--blue)}
.glt-excerpt{font-size:14px; color:var(--slate); margin:0 0 14px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.glt-meta{display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:12.5px; color:var(--mist); margin-top:auto}
.glt-dot{width:3px; height:3px; border-radius:50%; background:var(--mist); display:inline-block}
.glt-foot{display:flex; justify-content:space-between; align-items:center; margin-top:14px; padding-top:14px; border-top:1px solid var(--line)}
.glt-readmore{font:600 13.5px/1 var(--body); display:inline-flex; gap:6px; align-items:center}
.glt-readmore::after{content:"→"; transition:transform .2s ease}
.glt-card:hover .glt-readmore::after{transform:translateX(4px)}

/* ---- Featured ---- */
.glt-feat-row{margin-bottom:32px}
.glt-featured{display:flex; gap:32px; align-items:stretch; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
.glt-feat-mediawrap{position:relative; flex:0 0 55%; min-height:300px}
.glt-feat-media{position:relative; display:block; width:100%; height:100%; min-height:300px; overflow:hidden}
.glt-feat-media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.glt-featured:hover .glt-feat-media img{transform:scale(1.04)}
.glt-feat-body{flex:1; padding:30px 32px; display:flex; flex-direction:column; justify-content:center}
.glt-feat-title{font-family:var(--display); font-weight:700; font-size:clamp(24px,2.6vw,32px); line-height:1.1; margin:0 0 12px}
.glt-feat-title a{color:var(--ink)} .glt-feat-title a:hover{color:var(--blue)}
.glt-feat-excerpt{font-size:16px; color:var(--slate); margin:0 0 16px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.glt-featured .glt-btn{align-self:flex-start; margin-top:16px}

/* ---- Explore ---- */
.glt-explore{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.glt-ex{position:relative; border-radius:var(--radius); overflow:hidden; min-height:190px;
  display:flex; align-items:flex-end; padding:18px; color:#fff; box-shadow:var(--shadow); transition:transform .25s ease}
.glt-ex:hover{transform:translateY(-4px)}
.glt-ex::before{content:""; position:absolute; inset:0; z-index:0; transition:transform .5s ease}
.glt-ex:hover::before{transform:scale(1.06)}
.glt-ex.glt-blue::before{background:linear-gradient(160deg,#3f86ee,var(--blue-700))}
.glt-ex.glt-coral::before{background:linear-gradient(160deg,#f0685a,var(--coral-700))}
.glt-ex.glt-green::before{background:linear-gradient(160deg,#39a869,var(--green-700))}
.glt-ex.glt-gold::before{background:linear-gradient(160deg,#f5b422,var(--gold-700))}
.glt-ex-lbl{position:relative; z-index:1}
.glt-ex-lbl b{font-family:var(--display); font-size:20px; display:block; color:#fff}
.glt-ex-lbl span{font-size:12.5px; opacity:.92}
.glt-ex.glt-gold .glt-ex-lbl b,.glt-ex.glt-gold .glt-ex-lbl span{color:#2b2000}

/* ---- Popular (ranked) ---- */
.glt-pop{display:grid; grid-template-columns:1fr 1fr; gap:0 40px; max-width:960px}
.glt-pi{display:flex; gap:14px; align-items:center; padding:12px 0; border-top:1px solid var(--line)}
.glt-pi:hover .glt-ptx b{color:var(--blue)}
.glt-rank{font-family:var(--display); font-weight:700; font-size:26px; color:var(--line); min-width:34px; text-align:center}
.glt-pi:nth-child(-n+3) .glt-rank{color:var(--coral)}
.glt-pth{width:64px; height:52px; border-radius:10px; overflow:hidden; flex:none; background:var(--panel-2)}
.glt-pth img{width:100%; height:100%; object-fit:cover}
.glt-ptx b{display:block; font-family:var(--body); font-weight:600; font-size:14.5px; line-height:1.3; color:var(--ink)}
.glt-ptx small{color:var(--mist); font-size:12px}

/* ---- Recent (newspaper) ---- */
.glt-paper{columns:3; column-gap:36px}
.glt-it{display:block; break-inside:avoid; padding:12px 0; border-bottom:1px solid var(--line)}
.glt-it .glt-k{font:700 10.5px/1 var(--body); letter-spacing:.08em; text-transform:uppercase}
.glt-it b{display:block; font-family:var(--display); font-weight:600; font-size:16px; line-height:1.25; margin:5px 0 4px; color:var(--ink)}
.glt-it:hover b{color:var(--blue)}
.glt-it small{color:var(--mist); font-size:12px}

/* ---- Newsletter ---- */
.glt-news{border-radius:22px; overflow:hidden; position:relative; padding:56px 40px; color:#fff; text-align:center;
  background:linear-gradient(120deg,rgba(21,94,192,.92),rgba(30,142,78,.86)),linear-gradient(135deg,#89b4f0,#7fd0a0)}
.glt-news-h{font-family:var(--display); font-weight:600; font-size:32px; color:#fff; margin:0}
.glt-news p{max-width:520px; margin:12px auto 24px; opacity:.95}
.glt-news-form{display:flex; gap:12px; max-width:520px; margin:0 auto; flex-wrap:wrap}
.glt-news-form input{flex:1; min-width:220px; border:0; border-radius:var(--radius-sm); padding:15px 18px; font:400 15px var(--body)}
.glt-news-embed{max-width:520px; margin:0 auto}

/* ---- Footer CTA ---- */
.glt-footcta{text-align:center; padding:60px 24px; border-radius:22px; border:1px solid var(--line);
  background:radial-gradient(700px 300px at 50% -20%,var(--blue-050),transparent 60%),#fff}
.glt-footcta .glt-h2{padding:0; display:inline-block}
.glt-footcta .glt-h2::before{display:none}
.glt-footcta p{color:var(--slate); margin:10px 0 24px}

/* ---- Ads ---- */
.glt-adwrap{padding:24px 0}
.glt-ad{max-width:970px; margin:0 auto; text-align:center; padding:12px}
.glt-ad-placeholder{border:2px dashed var(--line); border-radius:14px; padding:34px 20px;
  background:repeating-linear-gradient(45deg,#fafbfd,#fafbfd 12px,#f3f6fb 12px,#f3f6fb 24px)}
.glt-ad-tag{display:block; font:600 11px/1 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--mist)}
.glt-ad-dim{display:block; font-size:13px; color:var(--slate); margin-top:8px}

/* ---- Responsive ---- */
@media (max-width:1024px){
  .glt-section{padding:56px 0}
  .glt-grid-3{grid-template-columns:repeat(2,1fr)}
  .glt-grid-4{grid-template-columns:repeat(2,1fr)}
  .glt-grid{gap:20px}
  .glt-explore{grid-template-columns:repeat(2,1fr)}
  .glt-paper{columns:2}
  .glt-h2{font-size:28px}
}
@media (max-width:767px){
  .glt-section{padding:40px 0}
  .glt-wrap{padding:0 20px}
  .glt-grid-3,.glt-grid-4{grid-template-columns:1fr}
  .glt-grid{gap:16px}
  .glt-explore{grid-template-columns:1fr}
  .glt-pop{grid-template-columns:1fr}
  .glt-paper{columns:1}
  .glt-featured{flex-direction:column}
  .glt-feat-mediawrap{flex-basis:auto; min-height:0}
  .glt-feat-media{aspect-ratio:16/9; min-height:0; height:auto}
  .glt-head{flex-direction:column; align-items:flex-start}
  .glt-head .glt-btn{width:100%; justify-content:center}
}

/* ---- Motion / a11y ---- */
@media (prefers-reduced-motion:reduce){
  .glt *{transition:none !important}
}
.glt a:focus-visible,.glt button:focus-visible,.glt input:focus-visible{outline:3px solid var(--blue); outline-offset:2px; border-radius:6px}
