:root {
      --bg: #91E8E8;
      --card: #121221;
      --muted: #212121;
      --muted2: rgba(255,255,255,0.58);
      --line: rgba(255,255,255,0.10);
      --accent: #7ee787;
      --radius: 18px;
      --shadow: 0 10px 30px rgba(0,0,0,0.35);
    }

    body {
      margin: 0;
      font-family: Barlow, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      background: radial-gradient(1200px 600px at 20% 0%, rgba(126,231,135,0.12), transparent 60%), var(--bg);
      color: #212121;
    }           
       
    .container {
      max-width: 1080px;
      margin: 0 auto;
      padding: 24px 16px 24px;
    }

    .mast {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid var(--line);
      padding-bottom: 14px;
      margin-bottom: 22px;
    }

    .brand {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .brand h1 {
      margin: 0;
      font-size: 22px;
      letter-spacing: 0.6px;
    }

    .brand p {
      margin: 0;
      color: var(--muted2);
      font-size: 13px;
    }

    .region-pill {
      font-size: 12px;
      color: var(--muted);
      border: 1px solid var(--line);
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.03);
      white-space: nowrap;
    }

    /* Featured area */
    .featured-wrap {
      display: grid;
      grid-template-columns: 1fr;
      gap: 5px;
      margin-bottom: 22px;
    }

    .important-row {  
    justify-items: center;
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    /* Desktop: featured + 2 important side-by-side under it */
    @media (min-width: 1200px) {
      .featured-wrap {
        grid-template-columns: 1fr;
      }
      .important-row {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* Segmented control */
    .seg {                
    width: 100%;
      display: inline-flex;
      justify-content: space-around;
      gap: 6px;
      border: 1px solid var(--line);
      padding: 6px;
      border-radius: 999px;
      background: rgba(255,255,255,0.03);
      box-shadow: var(--shadow);
    }

    .seg button {
      appearance: none;
      border: 0;
      background: transparent;
      color: var(--muted);
      padding: 10px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 650;
      font-size: 13px;
      letter-spacing: 0.2px;
      transition: background 160ms ease, color 160ms ease;
    }

    .seg button[aria-pressed="true"] {
      background: rgba(126,231,135,0.16);
      color: #fff;
    }

    .seg-wrap {
      margin: 18px 14px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* Cards grid */
    .grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 14px;
      margin-bottom: 25px;   
      margin-left: 10px;
      margin-right: 10px;
    }

    @media (min-width: 1200px) {   
    .card {
    max-width: 600px;
     }   
      .featured .card {
      max-width: 700px;
       }
        .featured {
      margin: auto;
    }
    .featured img { 
    height: 175px;
    width: 263px;
    margin: auto;
     }
      .grid {
        grid-template-columns: 1fr 1fr; /* 2 per row on desktop */
      }
    }

    /* Card styling */
    .card {                
    text-align: center;
      border: 1px solid var(--line);
      background-color: rgba(255, 255, 255, 0.72);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
    }

    .card .card-body {
      padding: 14px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .title-row {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .card div.title {     
          font-family: Orbitron, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      color: blue;
      text-decoration: none;
      font-weight: 800;
      letter-spacing: 0.2px;
      line-height: 1.2;
      font-size: 22px;
    }

    .card a.title:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .pill {
      font-size: 16px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--muted);
      background: var(--bg);
    }

    .pill.pdf {
      border-color: rgba(126,231,135,0.35);
      background: var(--bg);
      color: #212121;
    }

    .mainimage {  
         height: 140px;
    margin: auto;
      aspect-ratio: 16 / 9;
      display: block;
      background: rgba(255,255,255,0.04);
    }

    .summary {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.45;
    }

    .card[data-kind="featured"] a.title {
      font-size: 26px;
    }

    
    .section-label { 
              font-family: Orbitron, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      margin: 18px 0 10px;
      font-weight: 700;
      margin: auto;
      font-size: 26px;
      color: #212121;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }

    .hidden {
      display: none !important;
    }

    /* Make sure the important card #2 can be hidden on mobile */
    @media (max-width: 1199px) {  

      .hide-mobile {
        display: none !important;
      }     
    }