:root {
  --tglm-ink: #173042;
  --tglm-muted: #60717b;
  --tglm-paper: #f5f7f6;
  --tglm-card: #ffffff;
  --tglm-accent: #eeb751;
  --tglm-accent-soft: #fff2d6;
  --tglm-line: #dfe7e3;
  --tglm-radius: 22px;
  --tglm-shadow: 0 18px 60px rgba(23, 48, 66, .14);
}

.tglm-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.tglm-eyebrow { display: inline-block; color: var(--tglm-muted); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tglm-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: 10px 17px; border: 1px solid var(--tglm-line); border-radius: 999px; background: #fff; color: var(--tglm-ink); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.tglm-button:hover { transform: translateY(-1px); }
.tglm-button--primary { border-color: var(--tglm-accent); background: var(--tglm-accent); color: #17252f; }
.tglm-button--link { border-color: transparent; background: transparent; text-decoration: underline; }

.tglm-cookie[hidden], .tglm-cookie__settings[hidden] { display: none !important; }
.tglm-cookie { position: fixed; inset: 0; z-index: 999999; display: grid; align-items: end; padding: 18px; background: rgba(8, 20, 28, .48); backdrop-filter: blur(5px); }
.tglm-cookie__card { position: relative; width: min(760px, 100%); margin: 0 auto; padding: 28px; border-radius: 26px; background: #fff; box-shadow: var(--tglm-shadow); }
.tglm-cookie__card h2 { margin: 7px 48px 8px 0; color: var(--tglm-ink); font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.08; }
.tglm-cookie__card > p { margin: 0 0 18px; color: var(--tglm-muted); line-height: 1.6; }
.tglm-cookie__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--tglm-paper); color: var(--tglm-ink); font-size: 25px; cursor: pointer; }
.tglm-cookie__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.tglm-cookie__settings { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--tglm-line); }
.tglm-cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--tglm-line); }
.tglm-cookie-option span { display: grid; gap: 3px; }
.tglm-cookie-option small { color: var(--tglm-muted); line-height: 1.45; }
.tglm-cookie-option input { width: 22px; height: 22px; flex: 0 0 auto; }
.tglm-cookie__legal { margin-top: 18px !important; margin-bottom: 0 !important; font-size: .84rem; }
.tglm-cookie__legal a { color: var(--tglm-ink); }
.tglm-cookie-reopen { position: fixed; right: 14px; bottom: 13px; z-index: 10000; padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(23,48,66,.94); color: #fff; font-size: 12px; cursor: pointer; box-shadow: 0 8px 26px rgba(0,0,0,.15); }

.tglm-home-modules { width: min(1240px, calc(100% - 32px)); margin: 45px auto; display: grid; gap: 38px; }
.tglm-latest-articles { padding: 34px; border-radius: var(--tglm-radius); background: var(--tglm-paper); }
.tglm-latest-articles > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.tglm-latest-articles h2 { margin: 5px 0 0; color: var(--tglm-ink); font-size: clamp(1.6rem, 3vw, 2.35rem); }
.tglm-latest-articles > header > a { color: var(--tglm-ink); font-weight: 750; }
.tglm-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tglm-article-card { overflow: hidden; min-width: 0; border: 1px solid var(--tglm-line); border-radius: 20px; background: var(--tglm-card); box-shadow: 0 8px 26px rgba(23,48,66,.06); }
.tglm-article-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dce8e4; }
.tglm-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tglm-article-card:hover .tglm-article-card__image img { transform: scale(1.025); }
.tglm-article-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--tglm-ink); font-size: 2rem; font-weight: 900; letter-spacing: .18em; }
.tglm-article-card__body { padding: 19px; }
.tglm-article-card__type { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: var(--tglm-accent-soft); color: #6a4a08; font-size: .72rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tglm-article-card h3 { margin: 11px 0 8px; color: var(--tglm-ink); font-size: 1.18rem; line-height: 1.25; }
.tglm-article-card h3 a { color: inherit; text-decoration: none; }
.tglm-article-card p { margin: 0 0 14px; color: var(--tglm-muted); line-height: 1.55; }
.tglm-article-card time { color: var(--tglm-muted); font-size: .82rem; }

.tglm-newsletter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 30px; align-items: center; padding: clamp(28px, 5vw, 58px); border-radius: 28px; background: var(--tglm-ink); color: #fff; overflow: hidden; }
.tglm-newsletter h2 { margin: 7px 0 10px; color: #fff; font-size: clamp(1.9rem, 4vw, 3.15rem); line-height: 1.02; }
.tglm-newsletter .tglm-eyebrow { color: #cbdbe1; }
.tglm-newsletter__copy > p { max-width: 570px; color: #d8e2e6; font-size: 1.05rem; line-height: 1.65; }
.tglm-newsletter__gift { display: inline-flex; margin-top: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(238,183,81,.15); color: #ffd98c; font-weight: 800; }
.tglm-newsletter__form-wrap { padding: 22px; border-radius: 20px; background: #fff; color: var(--tglm-ink); }
.tglm-newsletter__form { display: grid; grid-template-columns: 1fr 1.25fr; gap: 13px; }
.tglm-newsletter__form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 750; }
.tglm-newsletter__form input[type="text"], .tglm-newsletter__form input[type="email"] { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #cfdad5; border-radius: 12px; background: #fff; font: inherit; }
.tglm-newsletter__form .tglm-checkbox { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: flex-start; gap: 9px; color: var(--tglm-muted); font-weight: 500; line-height: 1.45; }
.tglm-newsletter__form .tglm-checkbox input { margin-top: 3px; flex: 0 0 auto; }
.tglm-newsletter__form button { grid-column: 1 / -1; }
.tglm-honeypot { position: absolute !important; left: -9999px !important; }
.tglm-notice { margin-bottom: 14px; padding: 11px 13px; border-radius: 10px; font-weight: 700; }
.tglm-notice--success { background: #e4f5eb; color: #1a633c; }
.tglm-notice--error { background: #fde7e3; color: #8a2b20; }


.tglm-global-newsletter { width: min(1180px, calc(100% - 40px)); margin: 54px auto; }
.tglm-newsletter-popup[hidden] { display: none !important; }
.tglm-newsletter-popup { position: fixed; inset: 0; z-index: 999998; display: grid; place-items: center; padding: 20px; }
.tglm-newsletter-popup__backdrop { position: absolute; inset: 0; background: rgba(8,20,28,.62); backdrop-filter: blur(5px); }
.tglm-newsletter-popup__dialog { position: relative; z-index: 1; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.tglm-newsletter-popup__close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--tglm-ink); font-size: 27px; line-height: 1; cursor: pointer; box-shadow: 0 7px 24px rgba(0,0,0,.16); }
.tglm-newsletter--popup { grid-template-columns: minmax(0,.82fr) minmax(330px,1.18fr); padding: 38px; border-radius: 28px; }
.tglm-newsletter--popup h2 { padding-right: 32px; }
html.tglm-newsletter-popup-open, html.tglm-newsletter-popup-open body { overflow: hidden; }

.tglm-footer-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; width: 100%; margin-top: 24px; padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .83rem; }
.tglm-footer-bar a, .tglm-footer-bar button { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; opacity: .8; font: inherit; }

.tglm-article-hero { padding: clamp(72px, 10vw, 130px) 0 58px; background: var(--tglm-paper); }
.tglm-article-hero h1 { max-width: 850px; margin: 8px 0 16px; color: var(--tglm-ink); font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; }
.tglm-article-hero p { max-width: 750px; margin: 0; color: var(--tglm-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.tglm-archive-content { padding-block: 52px 80px; }
.tglm-article-grid--archive { margin-bottom: 50px; }
.tglm-pagination ul { display: flex; justify-content: center; gap: 6px; padding: 0; list-style: none; }
.tglm-pagination a, .tglm-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 11px; border: 1px solid var(--tglm-line); border-radius: 10px; text-decoration: none; }
.tglm-archive-content > .tglm-newsletter { margin-top: 60px; }

.tglm-single-article__header { padding: clamp(66px, 9vw, 120px) 0 42px; background: var(--tglm-paper); }
.tglm-single-article__header-inner { max-width: 940px; }
.tglm-back-link { display: inline-block; margin-bottom: 28px; color: var(--tglm-ink); font-weight: 750; text-decoration: none; }
.tglm-single-article h1 { margin: 15px 0 17px; color: var(--tglm-ink); font-size: clamp(2.35rem, 6vw, 4.9rem); line-height: 1; }
.tglm-single-article__lead { max-width: 850px; color: var(--tglm-muted); font-size: clamp(1.12rem, 2.2vw, 1.38rem); line-height: 1.65; }
.tglm-single-article__date { color: var(--tglm-muted); font-size: .88rem; }
.tglm-single-article__image { margin-top: 42px; }
.tglm-single-article__image img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 26px; }
.tglm-single-article__layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 58px; align-items: start; padding-block: 58px; }
.tglm-prose { color: #263d4a; font-size: 1.08rem; line-height: 1.8; }
.tglm-prose h2 { margin-top: 2.2em; color: var(--tglm-ink); font-size: 1.8rem; line-height: 1.2; }
.tglm-prose h3 { margin-top: 1.8em; color: var(--tglm-ink); }
.tglm-prose a { color: #0e617c; }
.tglm-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.tglm-article-aside { position: sticky; top: 110px; }
.tglm-article-aside__box { padding: 22px; border: 1px solid var(--tglm-line); border-radius: 18px; background: var(--tglm-paper); color: var(--tglm-muted); line-height: 1.55; }
.tglm-article-aside__box strong { color: var(--tglm-ink); }
.tglm-related-content { padding: 10px 0 60px; }
.tglm-related-content > h2 { color: var(--tglm-ink); }
.tglm-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tglm-related-card { overflow: hidden; border: 1px solid var(--tglm-line); border-radius: 18px; background: #fff; }
.tglm-related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tglm-related-card > div { padding: 17px; }
.tglm-related-card h3 { margin: 0 0 8px; font-size: 1.04rem; }
.tglm-related-card h3 a { color: var(--tglm-ink); text-decoration: none; }
.tglm-related-card p { margin: 0; color: var(--tglm-muted); }
.tglm-single-newsletter { padding-bottom: 80px; }


@media (max-width: 860px) {
  .tglm-article-grid, .tglm-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tglm-newsletter { grid-template-columns: 1fr; }
  .tglm-single-article__layout { grid-template-columns: 1fr; gap: 24px; }
  .tglm-article-aside { position: static; }
}

@media (max-width: 600px) {
  .tglm-shell { width: min(100% - 24px, 1180px); }
  .tglm-cookie { padding: 8px; }
  .tglm-cookie__card { padding: 23px 18px 18px; border-radius: 21px; max-height: calc(100vh - 16px); overflow-y: auto; }
  .tglm-cookie__actions { display: grid; }
  .tglm-cookie__actions .tglm-button { width: 100%; }
  .tglm-cookie-reopen { right: 8px; bottom: 8px; font-size: 11px; }
  .tglm-home-modules { width: calc(100% - 20px); margin-block: 25px; gap: 20px; }
  .tglm-latest-articles { padding: 22px 14px; }
  .tglm-latest-articles > header { align-items: flex-start; flex-direction: column; }
  .tglm-article-grid, .tglm-related-grid { grid-template-columns: 1fr; }
  .tglm-newsletter { padding: 26px 17px; border-radius: 22px; }
  .tglm-newsletter__form-wrap { padding: 17px; }
  .tglm-newsletter__form { grid-template-columns: 1fr; }
  .tglm-newsletter__form label, .tglm-newsletter__form .tglm-checkbox, .tglm-newsletter__form button { grid-column: 1; }
  .tglm-article-hero { padding-top: 58px; }
  .tglm-single-article__header { padding-top: 52px; }
  .tglm-single-article__image { margin-top: 20px; }
  .tglm-single-article__image img { border-radius: 16px; }
  .tglm-single-article__layout { padding-block: 38px; }
}
.tglm-newsletter__privacy { grid-column: 1 / -1; text-align: center; }
.tglm-newsletter__privacy a { color: var(--tglm-muted); }
.tglm-language-switch { display: flex; width: fit-content; gap: 5px; margin-bottom: 24px; padding: 4px; border: 1px solid var(--tglm-line); border-radius: 999px; background: #fff; }
.tglm-language-switch a { display: grid; place-items: center; min-width: 38px; height: 32px; border-radius: 999px; color: var(--tglm-muted); font-size: .76rem; font-weight: 850; text-decoration: none; }
.tglm-language-switch a.is-active { background: var(--tglm-ink); color: #fff; }
.tglm-single-article__topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tglm-single-article__topline .tglm-back-link, .tglm-single-article__topline .tglm-language-switch { margin-bottom: 28px; }
@media(max-width:600px){.tglm-single-article__topline{align-items:flex-start;flex-direction:column;gap:0}.tglm-single-article__topline .tglm-back-link{margin-bottom:14px}.tglm-single-article__topline .tglm-language-switch{margin-bottom:24px}}

@media (max-width: 600px) {
  .tglm-global-newsletter { width: calc(100% - 20px); margin: 30px auto; }
  .tglm-newsletter-popup { padding: 8px; }
  .tglm-newsletter-popup__dialog { max-height: calc(100vh - 16px); border-radius: 22px; }
  .tglm-newsletter--popup { grid-template-columns: 1fr; padding: 25px 16px 18px; border-radius: 22px; }
  .tglm-newsletter--popup .tglm-newsletter__copy { padding-right: 34px; }
  .tglm-newsletter-popup__close { top: 10px; right: 10px; }
}
