/*
Theme Name: GRB Illinois Logistics
Theme URI: https://grb-logistics.com/
Author: GRB
Author URI: https://grb-logistics.com/
Description: SEO-oriented WordPress landing page theme for GRB, a Illinois-based logistics, freight coordination and dispatch support company.
Version: 1.3.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grb-illinois-logistics
Tags: custom-logo, one-column, responsive-layout, business, transportation, logistics
*/

:root {
      --navy: #01132B;
      --navy-2: #081C38;
      --blue: #CF1A28;
      --blue-2: #F03A46;
      --sky: #FFF0F1;
      --steel: #6F7884;
      --muted: #7A8491;
      --line: #E8D6D9;
      --white: #ffffff;
      --soft: #F8F5F5;
      --dark: #071326;
      --success: #CF1A28;
      --shadow: 0 22px 70px rgba(1, 19, 43, 0.18);
      --radius-xl: 30px;
      --radius-lg: 22px;
      --radius-md: 16px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Montserrat", "Open Sans", Inter, Arial, sans-serif;
      color: var(--dark);
      background:
        radial-gradient(circle at top left, rgba(207, 26, 40, 0.13), transparent 34%),
        radial-gradient(circle at top right, rgba(1, 19, 43, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #F8F5F5 43%, #ffffff 100%);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    .container {
      width: min(1160px, calc(100% - 40px));
      margin: 0 auto;
    }

    .top-strip {
      background: var(--navy);
      color: rgba(255,255,255,0.86);
      font-size: 13px;
      letter-spacing: .02em;
    }

    .top-strip .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 10px 0;
    }

    .top-strip strong {
      color: #ffffff;
      font-weight: 800;
    }

    .copy-link {
      cursor: pointer;
      border-bottom: 1px dashed rgba(255,255,255,.5);
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(220,232,245,.92);
    }

    .nav-inner {
      height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      min-width: 232px;
    }

    .brand-mark {
      width: 62px;
      height: 48px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: transparent;
      overflow: visible;
      flex: 0 0 auto;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .brand-title {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
    }

    .brand-title b {
      font-size: 17px;
      letter-spacing: -.02em;
      color: var(--navy);
    }

    .brand-title span {
      font-size: 12px;
      color: var(--muted);
      margin-top: 5px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      font-size: 14px;
      color: #405064;
      font-weight: 700;
    }

    .nav-links a:hover {
      color: var(--blue);
    }

    .nav-actions {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border: 0;
      border-radius: 999px;
      padding: 13px 19px;
      font-weight: 800;
      cursor: pointer;
      transition: .22s ease;
      white-space: nowrap;
    }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      box-shadow: 0 14px 34px rgba(207, 26, 40, .25);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 42px rgba(207, 26, 40, .34);
    }

    .btn-secondary {
      background: #ffffff;
      color: var(--navy);
      border: 1px solid var(--line);
    }

    .btn-secondary:hover {
      border-color: rgba(207,26,40,.38);
      color: var(--blue);
      transform: translateY(-2px);
    }

    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: #ffffff;
      color: var(--navy);
      cursor: pointer;
      font-weight: 900;
    }

    .hero {
      padding: 86px 0 64px;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
      align-items: center;
      gap: 48px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 13px;
      border: 1px solid rgba(207,26,40,.22);
      background: rgba(255,240,241,.86);
      border-radius: 999px;
      color: var(--blue);
      font-weight: 900;
      font-size: 13px;
      margin-bottom: 22px;
    }

    .pulse {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 6px rgba(35,162,109,.12);
    }

    h1 {
      font-size: clamp(42px, 6vw, 78px);
      line-height: .98;
      letter-spacing: -.065em;
      color: var(--navy);
      margin-bottom: 22px;
    }

    .hero p {
      font-size: 18px;
      color: #556779;
      max-width: 640px;
      margin-bottom: 30px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      align-items: center;
      margin-bottom: 34px;
    }

    .metric-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      max-width: 680px;
    }

    .metric {
      padding: 18px;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(220,232,245,.98);
      border-radius: var(--radius-md);
      box-shadow: 0 16px 40px rgba(7,29,58,.07);
    }

    .metric b {
      display: block;
      font-size: 25px;
      line-height: 1;
      color: var(--navy);
      letter-spacing: -.04em;
    }

    .metric span {
      display: block;
      color: var(--muted);
      margin-top: 8px;
      font-size: 13px;
      font-weight: 700;
    }

    .hero-card {
      position: relative;
      min-height: 560px;
      border-radius: 38px;
      padding: 28px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.88), rgba(234,244,255,.74));
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,.9);
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      width: 460px;
      height: 460px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(207,26,40,.16), transparent 66%);
      right: -150px;
      top: -130px;
    }

    .route-card {
      position: relative;
      z-index: 2;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 22px;
      box-shadow: 0 20px 60px rgba(7,29,58,.12);
    }

    .route-top {
      display: flex;
      justify-content: space-between;
      gap: 15px;
      align-items: flex-start;
      margin-bottom: 22px;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 11px;
      background: #FFF0F1;
      color: #CF1A28;
      font-size: 12px;
      font-weight: 900;
      border-radius: 999px;
    }

    .route-title b {
      display: block;
      color: var(--navy);
      font-size: 22px;
      letter-spacing: -.03em;
    }

    .route-title span {
      color: var(--muted);
      font-weight: 700;
      font-size: 13px;
    }

    .route-map {
      height: 260px;
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(207,26,40,.10), rgba(207,26,40,.10)),
        radial-gradient(circle at 20% 80%, rgba(7,29,58,.18), transparent 27%),
        radial-gradient(circle at 76% 34%, rgba(207,26,40,.14), transparent 24%),
        #F8F5F5;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(220,232,245,.95);
    }

    .route-map svg {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
    }

    .map-pin {
      position: absolute;
      width: 14px;
      height: 14px;
      background: #ffffff;
      border: 4px solid var(--blue);
      border-radius: 50%;
      box-shadow: 0 8px 20px rgba(207,26,40,.27);
    }

    .pin-illinois { left: 47%; top: 38%; }
    .pin-dallas { left: 39%; top: 63%; }
    .pin-la { left: 13%; top: 59%; }
    .pin-ny { right: 17%; top: 34%; }

    .mini-label {
      position: absolute;
      padding: 6px 9px;
      border-radius: 999px;
      background: rgba(255,255,255,.9);
      border: 1px solid rgba(220,232,245,.95);
      font-size: 11px;
      font-weight: 900;
      color: var(--navy);
      box-shadow: 0 10px 24px rgba(7,29,58,.1);
    }

    .label-illinois { left: 51%; top: 32%; }
    .label-ny { right: 9%; top: 28%; }
    .label-la { left: 7%; top: 52%; }

    .dispatch-card {
      position: absolute;
      z-index: 5;
      left: 22px;
      right: 22px;
      bottom: 24px;
      padding: 16px;
      background: rgba(255,255,255,.94);
      border: 1px solid rgba(220,232,245,.92);
      border-radius: 23px;
      backdrop-filter: blur(14px);
      box-shadow: 0 18px 46px rgba(7,29,58,.12);
      display: grid;
      gap: 12px;
    }

    .dispatch-line {
      display: grid;
      grid-template-columns: 90px 1fr 74px;
      align-items: center;
      gap: 11px;
      font-size: 13px;
      font-weight: 800;
    }

    .bar {
      height: 8px;
      border-radius: 99px;
      background: #E8D6D9;
      overflow: hidden;
    }

    .bar i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--blue), var(--blue-2));
    }

    .floating-note {
      position: absolute;
      z-index: 4;
      right: 20px;
      top: 250px;
      width: 212px;
      background: var(--navy);
      color: #fff;
      border-radius: 24px;
      padding: 18px;
      box-shadow: 0 22px 54px rgba(7,29,58,.22);
    }

    .floating-note span {
      display: block;
      color: rgba(255,255,255,.64);
      font-weight: 700;
      font-size: 12px;
      margin-bottom: 5px;
    }

    .floating-note b {
      font-size: 24px;
      letter-spacing: -.04em;
      line-height: 1;
    }

    section {
      padding: 76px 0;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 36px;
    }

    .section-head.center {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .section-kicker {
      color: var(--blue);
      font-weight: 900;
      font-size: 13px;
      letter-spacing: .09em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    h2 {
      font-size: clamp(32px, 4.4vw, 52px);
      line-height: 1.02;
      letter-spacing: -.055em;
      color: var(--navy);
    }

    .section-head p {
      color: #607084;
      font-size: 17px;
      margin-top: 14px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .card {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: 0 18px 50px rgba(7,29,58,.07);
      min-height: 100%;
      transition: .22s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 66px rgba(7,29,58,.12);
      border-color: rgba(207,26,40,.22);
    }

    .icon {
      width: 50px;
      height: 50px;
      border-radius: 16px;
      background: var(--sky);
      color: var(--blue);
      display: grid;
      place-items: center;
      font-weight: 900;
      font-size: 22px;
      margin-bottom: 16px;
    }

    .card h3 {
      color: var(--navy);
      font-size: 21px;
      letter-spacing: -.03em;
      margin-bottom: 10px;
    }

    .card p {
      color: #617285;
      font-size: 15px;
    }

    .card ul {
      margin-top: 16px;
      display: grid;
      gap: 9px;
      list-style: none;
    }

    .card li {
      color: #4d5f73;
      font-size: 14px;
      font-weight: 700;
      display: flex;
      gap: 9px;
      align-items: flex-start;
    }

    .card li::before {
      content: "✓";
      color: var(--success);
      font-weight: 900;
    }

    .split {
      display: grid;
      grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
      gap: 34px;
      align-items: stretch;
    }

    .blue-panel {
      background:
        radial-gradient(circle at 15% 8%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
      color: #ffffff;
      border-radius: var(--radius-xl);
      padding: 34px;
      overflow: hidden;
      position: relative;
      min-height: 440px;
      box-shadow: var(--shadow);
    }

    .blue-panel h2,
    .blue-panel h3 {
      color: #ffffff;
    }

    .blue-panel p {
      color: rgba(255,255,255,.75);
    }

    .blue-panel .btn-secondary {
      background: rgba(255,255,255,.1);
      color: #ffffff;
      border-color: rgba(255,255,255,.2);
    }

    .road-lines {
      position: absolute;
      inset: auto -30px -70px -30px;
      height: 170px;
      transform: skewY(-8deg);
      background:
        linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.16) 12% 14%, transparent 14% 27%, rgba(255,255,255,.16) 27% 29%, transparent 29% 42%, rgba(255,255,255,.16) 42% 44%, transparent 44%),
        linear-gradient(180deg, rgba(255,255,255,.07), transparent);
    }

    .feature-list {
      display: grid;
      gap: 14px;
    }

    .feature {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 14px;
      background: rgba(255,255,255,.72);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 18px;
      align-items: start;
    }

    .feature b {
      display: block;
      color: var(--navy);
      font-size: 17px;
      margin-bottom: 3px;
    }

    .feature span {
      color: #617285;
      font-size: 14px;
      font-weight: 600;
    }

    .feature .icon {
      width: 46px;
      height: 46px;
      margin: 0;
      font-size: 18px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      counter-reset: step;
    }

    .step {
      counter-increment: step;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 24px;
      position: relative;
      overflow: hidden;
      min-height: 230px;
      box-shadow: 0 18px 50px rgba(7,29,58,.07);
    }

    .step::before {
      content: "0" counter(step);
      position: absolute;
      right: 18px;
      top: 12px;
      font-size: 56px;
      line-height: 1;
      letter-spacing: -.08em;
      font-weight: 900;
      color: rgba(207,26,40,.10);
    }

    .step b {
      display: block;
      color: var(--blue);
      font-weight: 900;
      margin-bottom: 46px;
    }

    .step h3 {
      color: var(--navy);
      font-size: 20px;
      letter-spacing: -.03em;
      margin-bottom: 8px;
    }

    .step p {
      color: #617285;
      font-size: 14px;
    }

    .driver-section {
      background:
        linear-gradient(180deg, #F8F5F5, #ffffff);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .driver-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .driver-card {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 18px 54px rgba(7,29,58,.08);
    }

    .driver-card-head {
      padding: 28px 28px 22px;
      background:
        radial-gradient(circle at top right, rgba(207,26,40,.14), transparent 42%),
        linear-gradient(135deg, #ffffff, #FFF0F1);
    }

    .tag {
      display: inline-flex;
      background: rgba(207,26,40,.10);
      color: var(--blue);
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 12px;
      font-weight: 900;
      margin-bottom: 14px;
    }

    .driver-card h3 {
      color: var(--navy);
      font-size: 28px;
      line-height: 1.05;
      letter-spacing: -.045em;
    }

    .driver-card-body {
      padding: 24px 28px 28px;
    }

    .driver-card-body p {
      color: #5b6d80;
      margin-bottom: 16px;
    }

    .check-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      list-style: none;
      margin-bottom: 20px;
    }

    .check-grid li {
      background: var(--soft);
      border: 1px solid var(--line);
      color: #43566a;
      border-radius: 14px;
      padding: 11px 12px;
      font-size: 13px;
      font-weight: 800;
    }

    .quote-band {
      margin: 0 auto;
      width: min(1160px, calc(100% - 40px));
      border-radius: 34px;
      background:
        radial-gradient(circle at 78% 12%, rgba(255,255,255,.26), transparent 24%),
        linear-gradient(135deg, var(--blue), var(--navy));
      color: #ffffff;
      padding: 46px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 28px;
      box-shadow: 0 28px 78px rgba(207,26,40,.24);
    }

    .quote-band h2 {
      color: #ffffff;
      max-width: 780px;
    }

    .quote-band p {
      color: rgba(255,255,255,.74);
      margin-top: 12px;
      font-size: 16px;
    }

    .quote-band .btn-secondary {
      background: #ffffff;
      color: var(--navy);
      border-color: transparent;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
      gap: 28px;
      align-items: start;
    }

    .contact-card {
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 30px;
      padding: 28px;
      box-shadow: 0 18px 54px rgba(7,29,58,.08);
    }

    .contact-item {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 13px;
      align-items: center;
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
    }

    .contact-item:last-child {
      border-bottom: 0;
    }

    .contact-item b {
      display: block;
      color: var(--navy);
    }

    .contact-item span,
    .contact-item a {
      color: #5b6d80;
      font-weight: 700;
      word-break: break-word;
    }

    form {
      display: grid;
      gap: 14px;
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .field label {
      display: block;
      color: var(--navy);
      font-size: 13px;
      font-weight: 900;
      margin-bottom: 7px;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 1px solid var(--line);
      background: #fbfdff;
      border-radius: 15px;
      padding: 14px 15px;
      outline: none;
      color: var(--dark);
      transition: .2s ease;
    }

    .field textarea {
      min-height: 128px;
      resize: vertical;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: rgba(207,26,40,.55);
      box-shadow: 0 0 0 4px rgba(207,26,40,.10);
      background: #ffffff;
    }

    .form-note {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      transform: translateX(-50%) translateY(20px);
      background: var(--navy);
      color: #fff;
      border-radius: 999px;
      padding: 12px 18px;
      font-size: 14px;
      font-weight: 800;
      opacity: 0;
      pointer-events: none;
      transition: .25s ease;
      z-index: 99;
      box-shadow: 0 18px 50px rgba(7,29,58,.22);
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    footer {
      background: var(--navy);
      color: rgba(255,255,255,.72);
      padding: 38px 0;
      margin-top: 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
    }

    footer .brand-mark {
      background: rgba(255,255,255,.96);
      padding: 5px;
    }

    footer .brand-title b {
      color: #ffffff;
    }

    footer .brand-title span {
      color: rgba(255,255,255,.58);
    }

    .footer-links {
      display: flex;
      gap: 18px;
      font-size: 14px;
      font-weight: 800;
    }

    .footer-links a:hover {
      color: #ffffff;
    }

    @media (max-width: 1020px) {
      .hero-grid,
      .split,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero-card {
        min-height: 520px;
      }

      .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .nav-links,
      .nav-actions .btn-secondary {
        display: none;
      }

      .mobile-menu-btn {
        display: inline-grid;
        place-items: center;
      }

      .quote-band {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      .container,
      .quote-band {
        width: min(100% - 28px, 1160px);
      }

      .top-strip .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }

      .nav-inner {
        height: 68px;
      }

      .brand {
        min-width: unset;
      }

      .brand-title span {
        display: none;
      }

      .hero {
        padding-top: 52px;
      }

      .hero p {
        font-size: 16px;
      }

      .metric-row,
      .cards,
      .driver-grid,
      .check-grid,
      .form-row,
      .steps {
        grid-template-columns: 1fr;
      }

      .hero-card {
        min-height: 610px;
        padding: 18px;
        border-radius: 28px;
      }

      .floating-note {
        left: 20px;
        right: 20px;
        top: 340px;
        width: auto;
      }

      .dispatch-line {
        grid-template-columns: 78px 1fr 52px;
        font-size: 12px;
      }

      .quote-band {
        padding: 30px 22px;
        border-radius: 24px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-links {
        flex-wrap: wrap;
      }
    }

/* WordPress compatibility */
body.admin-bar .navbar {
  top: 32px;
}

.wp-site-blocks {
  overflow-x: hidden;
}

.nav-links ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}

@media (max-width: 1020px) {
  .nav-links.active {
    display: grid;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.active ul,
  .nav-links.active {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}



/* Multi-page and News templates */
.page-hero {
  padding: 82px 0 54px;
  background:
    radial-gradient(circle at top left, rgba(207, 26, 40, 0.13), transparent 32%),
    radial-gradient(circle at top right, rgba(1, 19, 43, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #F8F5F5 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 930px;
}

.page-hero p {
  max-width: 760px;
  color: #556779;
  font-size: 18px;
  margin-top: 18px;
}

.home-pages {
  padding-top: 40px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -.01em;
}

.text-link:hover {
  color: var(--navy);
}

.content-section {
  padding-top: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(1,19,43,.08);
  transition: .22s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 66px rgba(1,19,43,.13);
  border-color: rgba(207,26,40,.24);
}

.post-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sky);
  overflow: hidden;
}

.post-thumb img,
.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 24px;
}

.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.post-meta span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.post-card h2 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.post-card h2 a:hover {
  color: var(--blue);
}

.post-card p {
  color: #617285;
  font-size: 15px;
}

.pagination-wrap {
  margin-top: 34px;
}

.pagination-wrap .nav-links {
  display: block;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.empty-news {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  max-width: 760px;
}

.empty-news h2 {
  margin-bottom: 12px;
}

.empty-news p {
  color: #617285;
  margin-bottom: 20px;
}

.featured-image-wrap {
  margin-top: 34px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 520px;
}

.article-content-section {
  padding: 62px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(1,19,43,.07);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 28px 0 12px;
}

.article-content h2 {
  font-size: 32px;
}

.article-content h3 {
  font-size: 24px;
}

.article-content p,
.article-content li {
  color: #4d5f73;
  font-size: 17px;
  line-height: 1.78;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.article-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-sidebar {
  position: sticky;
  top: 106px;
}

.article-sidebar h3 {
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -.035em;
  margin-bottom: 10px;
}

.article-sidebar p {
  color: #617285;
  margin-bottom: 18px;
}

body.blog .navbar .nav-links a[href*="news"],
body.single-post .navbar .nav-links a[href*="news"],
body.page-template-default .navbar .nav-links a:hover,
.current-menu-item > a {
  color: var(--blue);
}

@media (max-width: 1020px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 52px 0 38px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 24px;
    border-radius: 22px;
  }

  .article-content h2 {
    font-size: 26px;
  }
}


/* SEO copy section for Yoast-readable page content */
.seo-copy-section {
  padding: 20px 0 76px;
}

.seo-copy {
  max-width: 980px;
}

.seo-copy h2:first-child {
  margin-top: 0;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.seo-copy a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Apply page */
.notice.success,
.notice.error {
  font-size: 14px;
}

.page-template-page-apply .contact-card h3 {
  color: var(--navy);
}
