/* =====================================================================
   TGC header brand refresh (26 Nov 2026)
   Additive layer loaded after tgc-visual.css. Delete the <link> line in
   app.blade.php (and the .tgc-brand-tag span in header.blade.php) to undo.
   Goals: one calm dark utility strip instead of two loud red bars,
   a bigger logo with a "since 2000" brand line, cleaner search/helpline.
   ===================================================================== */

:root {
  --tgc-red: #e3141c;
  --tgc-red-dark: #b80f16;
  --tgc-ink: #141414;
  --tgc-ink-2: #2a2a2a;
  --tgc-muted: #6b6b6b;
  --tgc-line: #ececec;
}

/* ---------- brand line next to the logo (all sizes) ---------- */
.tgc-brand-tag { display: none; }

/* ---------- DESKTOP ---------- */
@media (min-width: 1025px) {

  #header.header {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    display: flex;
    flex-direction: column;
  }
  #header > .header_offer { order: 1; }
  #header > .header-top1 { order: 2; }
  #header > .header_mid   { order: 3; }
  #header > .header_last  { order: 4; }

  /* --- Row 1: offer strip (dark, slim) --- */
  #header .header_offer {
    background: var(--tgc-ink) !important;
    min-height: 28px !important;
    height: 28px;
    display: flex !important;
    align-items: center;
    font-size: 12.5px;
    letter-spacing: .2px;
  }
  #header .header_offer .container-fluid,
  #header .header_offer .row { width: 100%; align-items: center; margin: 0; }
  #header .header_offer .ofer_d {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #fff;
    font-weight: 600;
  }
  #header .header_offer .ofer_d > span::before {
    content: "\f02b";                 /* fa-tag */
    font-family: FontAwesome;
    color: var(--tgc-red);
    margin-right: 7px;
  }
  #header .header_offer .end_timersnn,
  #header .header_offer .time_run { min-height: 0 !important; }
  #header .header_offer .modalopen.ttd {
    background: var(--tgc-red) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 3px 12px !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .6px;
    cursor: pointer;
    line-height: 1.4;
    display: inline-block;
    transition: background .2s;
  }
  #header .header_offer .modalopen.ttd:hover { background: var(--tgc-red-dark) !important; }
  #header .header_offer .banner_contact_view_bx__32j14 {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .85);
    align-items: center;
    gap: 4px;
  }
  #header .header_offer .banner_contact_view_bx__32j14 svg { width: 12px; height: 12px; }
  #header .header_offer .banner_countryChangeNumber__aasF0 { color: #fff !important; font-weight: 600; }

  /* --- Row 2: utility links (light, not red) --- */
  #header .header-top1 {
    background: #f6f6f6 !important;
    border-bottom: 1px solid var(--tgc-line);
    padding: 0 !important;
    height: 32px;
    display: flex;
    align-items: center;
  }
  #header .header-top1 .container-fluid { width: 100%; }
  #header .header-top1 .row { align-items: center; }
  #header .header-top1 .list-inline { margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
  #header .header-top1 .col-md-5 .list-inline { justify-content: flex-end; }
  #header .header-top1 li,
  #header .header-top1 li a,
  #header .header-top1 .text-white,
  #header .header-top1 i.text-white {
    color: var(--tgc-ink-2) !important;
    font-size: 13px;
    line-height: 32px;
  }
  #header .header-top1 .col-md-7 li { color: var(--tgc-muted) !important; }
  #header .header-top1 .col-md-7 li i { color: var(--tgc-red) !important; margin-right: 4px; }
  #header .header-top1 .col-md-7 li a { color: var(--tgc-muted) !important; }
  #header .header-top1 .col-md-5 li { padding: 0 9px; }
  #header .header-top1 .col-md-5 li a { font-weight: 600; transition: color .15s; }
  #header .header-top1 .col-md-5 li a:hover,
  #header .header-top1 .col-md-7 li a:hover { color: var(--tgc-red) !important; text-decoration: none; }
  /* Online Training pill stays the one red accent in this row */
  #header .header-top1 a[href*="online-courses"] {
    background: var(--tgc-red) !important;
    padding: 2px 12px !important;
    line-height: 22px !important;
    border-radius: 999px !important;
  }
  #header .header-top1 a[href*="online-courses"],
  #header .header-top1 a[href*="online-courses"] span { color: #fff !important; font-size: 12.5px; }
  #header .header-top1 a[href*="online-courses"]:hover { background: var(--tgc-red-dark) !important; }
  #header .header-top1 a[aria-label="Facebook"],
  #header .header-top1 a[aria-label="instagram"] {
    width: 24px; height: 24px; line-height: 24px !important;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--tgc-ink-2);
    color: #fff !important;
    font-size: 12px;
  }
  #header .header-top1 a[aria-label="Facebook"] i,
  #header .header-top1 a[aria-label="instagram"] i { color: #fff !important; line-height: 1; font-size: 12px; }
  #header .header-top1 a[aria-label="Facebook"]:hover,
  #header .header-top1 a[aria-label="instagram"]:hover { background: var(--tgc-red); }

  /* --- Row 3: brand row (logo, categories, search, helpline) --- */
  /* total header height kept at ~179px (28+32+68+50) so page content does not shift */
  #header .header_mid { padding: 4px 0 !important; background: #fff; }
  #header .header_mid .d_flex { align-items: center; gap: 22px; }

  #header .first_logo { display: flex; align-items: center; flex: 0 0 auto; width: auto !important; max-width: none !important; }
  #header .first_logo > a { display: block; line-height: 0; }
  #header .first_logo img.imageind {
    height: 60px !important;
    width: auto !important;
    max-width: none;
  }
  #header .tgc-brand-tag {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--tgc-red);
    line-height: 1.2;
    white-space: nowrap;
  }
  #header .tgc-brand-tag .tgc-bt-1 {
    font-family: Sora, "Hanken Grotesk", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--tgc-ink);
    letter-spacing: .3px;
    text-transform: uppercase;
  }
  #header .tgc-brand-tag .tgc-bt-2 {
    font-size: 12px;
    font-weight: 600;
    color: var(--tgc-muted);
    margin-top: 3px;
  }
  #header .tgc-brand-tag .tgc-bt-2 b { color: var(--tgc-red); font-weight: 800; }

  /* categories button */
  #header .header_mid .header_last { margin: 0 !important; }
  #header .header_mid .nav_category {
    border: 1.5px solid var(--tgc-ink) !important;
    border-radius: 8px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
  }
  #header .header_mid .nav_category:hover { border-color: var(--tgc-red) !important; box-shadow: 0 2px 10px rgba(227, 20, 28, .12); }
  #header .header_mid .nav_category .ga_browse_top_cat span {
    font-family: Sora, "Hanken Grotesk", system-ui, sans-serif;
    font-weight: 700;
    color: var(--tgc-ink);
  }
  #header .header_mid .nav_category .ga_browse_top_cat span::before {
    content: "\f0c9";                 /* fa-bars */
    font-family: FontAwesome;
    margin-right: 8px;
    color: var(--tgc-red);
  }

  /* search */
  #header .ser_wrap { flex: 1 1 auto; max-width: 560px; }
  #header .search_bar { display: flex; border-radius: 999px; overflow: hidden; border: 1.5px solid #dcdcdc; background: #fafafa; transition: border-color .15s, box-shadow .15s; }
  #header .search_bar:focus-within { border-color: var(--tgc-red); box-shadow: 0 0 0 3px rgba(227, 20, 28, .10); background: #fff; }
  #header .search_bar input {
    border: 0 !important;
    background: transparent !important;
    height: 44px !important;
    padding: 0 20px !important;
    font-size: 14.5px;
  }
  #header .search_bar input:focus { outline: none; }
  #header .search_bar .sr_ico {
    height: 44px !important;
    width: 56px !important;
    border-radius: 0 999px 999px 0;
    background: var(--tgc-red) !important;
    display: flex; align-items: center; justify-content: center;
  }

  /* helpline as a compact call card */
  #header .help_no { flex: 0 0 auto; width: auto !important; }
  #header .help_no h3 { margin: 0 !important; padding: 0 !important; width: auto !important; }
  #header .help_no a.tgc-help {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 2px 0 2px 52px;
    min-height: 42px;
    line-height: 1.15;
    text-decoration: none;
  }
  #header .help_no a.tgc-help::before {
    content: "\f095";                 /* fa-phone */
    font-family: FontAwesome;
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--tgc-red);
    color: #fff;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 5px rgba(227, 20, 28, .12);
    transition: background .2s;
  }
  #header .help_no a.tgc-help:hover::before { background: var(--tgc-red-dark); }
  #header .help_no .tgc-help-l {
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .9px;
    text-transform: uppercase; color: var(--tgc-muted);
  }
  #header .help_no .tgc-help-n {
    font-family: Sora, "Hanken Grotesk", system-ui, sans-serif;
    font-size: 19px; font-weight: 800; letter-spacing: .2px;
    color: var(--tgc-ink);
  }
  #header .help_no a.tgc-help:hover .tgc-help-n { color: var(--tgc-red); }
}

/* Mid-size laptops: keep everything on one line */
@media (min-width: 1025px) and (max-width: 1279px) {
  #header .tgc-brand-tag { display: none; }
  #header .first_logo img.imageind { height: 50px !important; }
  #header .help_no .tgc-help-n { font-size: 16px; }
  #header .ser_wrap { max-width: 420px; }
}

/* ---------- TABLET / MOBILE: just a crisper, slightly bigger logo ---------- */
@media (max-width: 1024px) {
  #header .first_logo img.imageind { height: 44px !important; width: auto !important; }
}
@media (max-width: 576px) {
  #header .first_logo img.imageind { height: 38px !important; }
}

/* =====================================================================
   v2 (27 Nov 2026): logo = high-res pebble mark (tgc-mark-*.webp/png,
   cut from the owner's artwork) + live "TGC" wordmark. On desktop the
   mark is a larger badge that rises into the slim grey bar, so the rows
   around it keep their size.
   ===================================================================== */
#header .tgc-logo { display: inline-flex !important; align-items: center; text-decoration: none !important; line-height: 1; }
#header .tgc-logo picture { display: block; line-height: 0; }
#header .first_logo img.imageind.tgc-mark { width: auto !important; max-width: none !important; display: block; }
#header .tgc-word {
  font-family: Sora, "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 800;
  color: var(--tgc-red);
  letter-spacing: -.5px;
  line-height: 1;
}

@media (min-width: 1025px) {
  #header .header_mid { position: relative; z-index: 3; overflow: visible !important; }
  #header .header_mid .container-fluid,
  #header .header_mid .d_flex { overflow: visible !important; }
  #header .first_logo { position: relative; }
  #header .first_logo::after { display: none !important; }
  #header .tgc-logo { position: relative; padding-left: 112px; min-height: 60px; }
  #header .tgc-logo picture { position: absolute; left: 0; top: 50%; transform: translateY(calc(-50% - 13px)); }
  #header .first_logo img.imageind.tgc-mark {
    height: 90px !important;
    filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .22));
    transition: transform .25s ease;
  }
  #header .tgc-logo:hover img.tgc-mark { transform: translateY(-2px) rotate(-2deg); }
  #header .tgc-word { font-size: 38px; }
  /* make room in the grey bar for the badge */
  #header .header-top1 .col-md-7 .list-inline { padding-left: 118px; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  #header .tgc-logo { padding-left: 96px; }
  #header .first_logo img.imageind.tgc-mark { height: 78px !important; }
  #header .tgc-word { font-size: 32px; }
  #header .header-top1 .col-md-7 .list-inline { padding-left: 100px; }
}

/* ---------- tablet + mobile ---------- */
@media (max-width: 1024px) {
  #header .first_logo img.imageind.tgc-mark { height: 46px !important; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
  #header .tgc-word { font-size: 26px; margin-left: 8px; }
  /* same calm dark offer strip as desktop */
  #header .header_offer { background: var(--tgc-ink) !important; }
  #header .header_offer .ofer_d { color: #fff; font-weight: 700; align-items: center; justify-content: center; gap: 8px; }
  #header .header_offer .modalopen.ttd {
    background: var(--tgc-red) !important; color: #fff !important;
    border-radius: 999px; padding: 2px 10px !important; font-weight: 700; letter-spacing: .4px;
  }
  /* phone number as a red pill */
  #header .number_view_more a.pp {
    color: #fff !important; background: var(--tgc-red);
    border-radius: 999px; padding: 6px 12px; font-size: 13px; white-space: nowrap;
  }
  #header .number_view_more a.pp strong, #header .number_view_more a.pp i { color: #fff !important; }
}
@media (max-width: 576px) {
  #header .first_logo img.imageind.tgc-mark { height: 42px !important; }
  #header .tgc-word { font-size: 24px; }
}

/* =====================================================================
   v3 (27 Nov 2026): original TGC wordmark restored (traced to SVG from
   logo-tgc.png, same letter shapes), mark a little smaller, and the
   desktop course mega menu (.tgc-mega).
   ===================================================================== */
#header .tgc-logo img.tgc-word-img { display: block; width: auto; max-width: none; }
@media (min-width: 1025px) {
  #header .tgc-logo { padding-left: 98px; }
  #header .first_logo img.imageind.tgc-mark { height: 78px !important; }
  #header .tgc-logo picture { transform: translateY(calc(-50% - 9px)); }
  #header .tgc-logo img.tgc-word-img { height: 40px; }
  #header .header-top1 .col-md-7 .list-inline { padding-left: 104px; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  #header .tgc-logo { padding-left: 86px; }
  #header .first_logo img.imageind.tgc-mark { height: 68px !important; }
  #header .tgc-logo img.tgc-word-img { height: 34px; }
  #header .header-top1 .col-md-7 .list-inline { padding-left: 92px; }
}
@media (max-width: 1024px) {
  #header .first_logo img.imageind.tgc-mark { height: 42px !important; }
  #header .tgc-logo img.tgc-word-img { height: 26px; margin-left: 8px; }
}
@media (max-width: 576px) {
  #header .first_logo img.imageind.tgc-mark { height: 38px !important; }
  #header .tgc-logo img.tgc-word-img { height: 23px; }
}

/* ---------------- course mega menu (desktop only) ---------------- */
.tgc-mega[hidden] { display: none !important; }
@media (max-width: 1024px) { .tgc-mega { display: none !important; } }
@media (min-width: 1025px) {
  /* the old cascading dropdowns are replaced by the mega menu on desktop */
  #header .dropdown_menu_multi_level.sec_nav { display: none !important; }

  .tgc-mega {
    position: fixed; left: 16px; right: 16px; top: 179px; z-index: 1000;
    max-height: calc(100vh - 195px);
    display: flex; flex-direction: column;
    background: #121212; color: #eaeaea;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    overflow: hidden;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    animation: tgcMegaIn .18s ease-out;
  }
  .tgc-mega a { text-decoration: none !important; }

  .tgc-mega__top {
    display: flex; align-items: flex-end; gap: 28px;
    padding: 18px 26px 16px; border-bottom: 1px solid #2a2a2a;
  }
  .tgc-mega__intro { flex: 1 1 auto; }
  .tgc-mega__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #9a9a9a; }
  .tgc-mega__title { font-family: Sora, "Hanken Grotesk", sans-serif; font-size: 26px; font-weight: 700; color: #fff; margin-top: 4px; letter-spacing: -.3px; }
  .tgc-mega__search { position: relative; width: 340px; margin: 0; }
  .tgc-mega__search > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #8a8a8a; margin-bottom: 6px; }
  .tgc-mega__search input {
    width: 100%; height: 40px; padding: 0 38px 0 0; border: 0; border-bottom: 1.5px solid #3a3a3a;
    background: transparent; color: #fff; font-size: 14.5px; outline: none; transition: border-color .15s;
  }
  .tgc-mega__search input:focus { border-color: var(--tgc-red); }
  .tgc-mega__search input::placeholder { color: #707070; }
  .tgc-mega__search i { position: absolute; right: 6px; bottom: 12px; color: var(--tgc-red); }
  .tgc-mega__close {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent;
    color: #cfcfcf; font-size: 22px; line-height: 1; cursor: pointer; flex: 0 0 auto; transition: all .15s;
  }
  .tgc-mega__close:hover { background: var(--tgc-red); border-color: var(--tgc-red); color: #fff; }

  .tgc-mega__body { display: grid; grid-template-columns: 260px 1fr 280px; min-height: 0; flex: 1 1 auto; }

  .tgc-mega__cats { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid #2a2a2a; overflow-y: auto; }
  .tgc-mega__cat {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 11px 18px 11px 22px; border: 0; background: transparent; color: #e6e6e6;
    font-size: 14.5px; font-weight: 600; text-align: left; cursor: pointer; transition: background .12s, color .12s;
  }
  .tgc-mega__cat .tgc-mega__num { font-size: 11px; color: #7a7a7a; font-weight: 700; width: 18px; }
  .tgc-mega__cat .tgc-mega__catname { flex: 1 1 auto; }
  .tgc-mega__cat .tgc-mega__arrow { color: #5a5a5a; transition: transform .15s, color .15s; }
  .tgc-mega__cat:hover { background: #1d1d1d; }
  .tgc-mega__cat.is-active { background: var(--tgc-red); color: #fff; }
  .tgc-mega__cat.is-active .tgc-mega__num, .tgc-mega__cat.is-active .tgc-mega__arrow { color: #fff; }
  .tgc-mega__cat.is-active .tgc-mega__arrow { transform: translateX(3px); }

  .tgc-mega__panes { padding: 20px 28px 24px; overflow-y: auto; }
  .tgc-mega__panehead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .tgc-mega__panehead h3 { margin: 0; font-family: Sora, "Hanken Grotesk", sans-serif; font-size: 24px; font-weight: 600; color: #fff; }
  .tgc-mega__panehead h3 .tgc-mega__num { font-size: 12px; color: var(--tgc-red); font-weight: 800; vertical-align: super; margin-right: 4px; }
  .tgc-mega__view { font-size: 12.5px; font-weight: 700; color: #fff !important; border-bottom: 1.5px solid var(--tgc-red); padding-bottom: 2px; white-space: nowrap; }
  .tgc-mega__view:hover { color: var(--tgc-red) !important; }
  .tgc-mega__stats { margin: 6px 0 14px; font-size: 13px; color: #9a9a9a; }
  .tgc-mega__stats b { color: #fff; font-weight: 700; }
  .tgc-mega__stats span { margin: 0 4px; color: #555; }

  .tgc-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .tgc-mega__grid li { border-top: 1px solid #262626; }
  .tgc-mega__grid a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; color: #ededed !important; font-size: 14px; font-weight: 600; line-height: 1.3; transition: color .12s, padding .12s; }
  .tgc-mega__grid a:hover { color: #fff !important; padding-left: 8px; }
  .tgc-mega__grid a:hover .tgc-mega__t { text-decoration: underline; text-decoration-color: var(--tgc-red); text-underline-offset: 3px; }
  .tgc-mega__n { font-size: 11px; color: #6f6f6f; font-weight: 700; flex: 0 0 18px; }
  .tgc-mega__t { flex: 1 1 auto; }
  .tgc-mega__tag { flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
  .tgc-mega__tag--premium { background: var(--tgc-red); color: #fff; }
  .tgc-mega__tag--trending { background: #2a2a2a; color: #ffb4b6; }
  .tgc-mega__empty { color: #b0b0b0; margin-top: 12px; }
  .tgc-mega__empty a { color: #fff !important; border-bottom: 1px solid var(--tgc-red); }

  .tgc-mega__side { background: #1a1a1a; padding: 20px 22px 22px; display: flex; flex-direction: column; overflow-y: auto; }
  .tgc-mega__popular { list-style: none; margin: 10px 0 18px; padding: 0; }
  .tgc-mega__popular li { border-bottom: 1px solid #2a2a2a; }
  .tgc-mega__popular a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; color: #e6e6e6 !important; font-size: 13.5px; font-weight: 600; }
  .tgc-mega__popular a span { color: var(--tgc-red); }
  .tgc-mega__popular a:hover { color: #fff !important; }
  .tgc-mega__ctas { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
  .tgc-mega__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 8px;
    font-family: Sora, "Hanken Grotesk", sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s;
  }
  .tgc-mega__btn small { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; color: #9a9a9a; font-size: 11px; }
  .tgc-mega__btn--primary { background: var(--tgc-red); color: #fff !important; }
  .tgc-mega__btn--primary:hover { background: var(--tgc-red-dark); }
  .tgc-mega__btn--ghost { border: 1px solid #3a3a3a; color: #fff !important; }
  .tgc-mega__btn--ghost:hover { border-color: var(--tgc-red); }
  .tgc-mega__btn--ghost i { color: var(--tgc-red); }

  /* the Categories button looks "pressed" while the menu is open */
  html.tgc-mega-open #header .header_mid .nav_category { border-color: var(--tgc-red) !important; box-shadow: 0 0 0 3px rgba(227, 20, 28, .12); }
}
@keyframes tgcMegaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1025px) and (max-width: 1279px) {
  .tgc-mega__body { grid-template-columns: 220px 1fr 240px; }
  .tgc-mega__grid { grid-template-columns: 1fr; }
  .tgc-mega__search { width: 260px; }
}

/* =====================================================================
   v4 (27 Nov 2026): the mark image now includes the original floating
   floor shadow (tgc-mark-s-*.webp/png). The pebble is ~80.6% of the
   image height, so heights below = pebble size / 0.806; the pebble
   itself stays the same size and position as in v3.
   ===================================================================== */
#header .first_logo img.imageind.tgc-mark { filter: none !important; }
@media (min-width: 1025px) {
  #header .first_logo img.imageind.tgc-mark { height: 97px !important; }      /* pebble 78px */
  #header .tgc-logo picture { top: 50%; transform: translateY(-56px); }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  #header .first_logo img.imageind.tgc-mark { height: 84px !important; }      /* pebble 68px */
  #header .tgc-logo picture { transform: translateY(-50px); }
}
@media (max-width: 1024px) {
  #header .first_logo img.imageind.tgc-mark { height: 52px !important; }      /* pebble 42px */
  #header .tgc-logo picture { margin-bottom: -10px; }                          /* shadow hangs below without making the row taller */
}
@media (max-width: 576px) {
  #header .first_logo img.imageind.tgc-mark { height: 47px !important; }      /* pebble 38px */
  #header .tgc-logo picture { margin-bottom: -9px; }
}

/* v5 (27 Nov 2026): more breathing room between the pebble mark and the TGC wordmark */
@media (min-width: 1025px) {
  #header .tgc-logo { padding-left: 116px; }                                  /* mark 97px wide + ~19px gap */
  #header .header-top1 .col-md-7 .list-inline { padding-left: 122px; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  #header .tgc-logo { padding-left: 100px; }                                  /* mark 84px wide + ~16px gap */
  #header .header-top1 .col-md-7 .list-inline { padding-left: 106px; }
}
@media (max-width: 1024px) {
  #header .tgc-logo img.tgc-word-img { margin-left: 14px; }
}
@media (max-width: 576px) {
  #header .tgc-logo img.tgc-word-img { margin-left: 12px; }
}
