/*
Theme Name: Context Network - Fresh Food Novelties
Theme URI: https://thecontextnews.nl/
Author: The Heath Press
Author URI: https://theheathpress.net/
Description: Preconfigured for freshfoodnovelties.com. Editorial, responsive WordPress theme for the specialist platforms in The Context network. Designed for long-form readability, restrained F4I colour accents and strong mobile/tablet layouts.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: context-network
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root{
  --ctx-blue:#087baa;
  --ctx-green:#70bf44;
  --ctx-orange:#f6b94f;
  --ctx-ink:#171717;
  --ctx-graphite:#555b62;
  --ctx-rule:#d9d9d3;
  --ctx-paper:#fafaf7;
  --ctx-white:#ffffff;
  --ctx-accent:var(--ctx-blue);
  --ctx-accent-2:var(--ctx-green);
  --ctx-accent-3:var(--ctx-orange);
  --ctx-serif:Georgia,"Times New Roman",Times,serif;
  --ctx-sans:Arial,Helvetica,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ctx-max:1380px;
  --ctx-reading:748px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ctx-paper);color:var(--ctx-ink);font-family:var(--ctx-sans);font-size:16px;line-height:1.55;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
a:hover{text-decoration-color:var(--ctx-accent)}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.ctx-shell{width:min(calc(100% - 44px),var(--ctx-max));margin-inline:auto}
.ctx-site-header{background:rgba(250,250,247,.98)}
.ctx-utility{min-height:42px;border-bottom:1px solid var(--ctx-rule);display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px;color:var(--ctx-graphite)}
.ctx-network-note{letter-spacing:.01em}
.ctx-utility-links{display:flex;align-items:center;gap:18px;white-space:nowrap}
.ctx-language{font-weight:700}
.ctx-language b{color:var(--ctx-accent)}

.ctx-masthead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:126px;border-bottom:1px solid var(--ctx-rule);gap:28px}
.ctx-brand{text-align:center;min-width:0}
.ctx-brand-name{font-family:var(--ctx-serif);font-size:clamp(38px,4.7vw,70px);line-height:.92;letter-spacing:-.055em;font-weight:700;text-transform:none}
.ctx-brand-name a:hover{text-decoration:none}
.ctx-brand-lines{display:flex;gap:5px;justify-content:center;margin:12px 0 8px}
.ctx-brand-lines i{display:block;width:43px;height:3px;background:var(--ctx-blue)}
.ctx-brand-lines i:nth-child(2){background:var(--ctx-green)}
.ctx-brand-lines i:nth-child(3){background:var(--ctx-orange)}
.ctx-tagline{font-family:var(--ctx-serif);font-size:15px;color:#273548;letter-spacing:.01em}
.ctx-site-label{align-self:center;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--ctx-graphite)}
.ctx-site-label strong{display:block;margin-top:4px;font-family:var(--ctx-serif);font-size:21px;text-transform:none;letter-spacing:-.01em;color:var(--ctx-ink);font-weight:600}
.ctx-header-actions{justify-self:end;display:flex;align-items:center;gap:12px}
.ctx-icon-button{width:42px;height:42px;border:0;background:transparent;color:var(--ctx-ink);display:inline-grid;place-items:center;cursor:pointer;border-radius:50%}
.ctx-icon-button:hover,.ctx-icon-button:focus-visible{background:#efefe9;outline:2px solid transparent}
.ctx-icon-button svg{width:19px;height:19px}
.ctx-menu-toggle{display:none}

.ctx-nav-wrap{border-bottom:1px solid var(--ctx-ink)}
.ctx-nav{display:flex;align-items:center;justify-content:center;gap:0;min-height:48px;overflow:auto;scrollbar-width:none}
.ctx-nav::-webkit-scrollbar{display:none}
.ctx-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:0;white-space:nowrap}
.ctx-nav li a{display:block;padding:15px 18px 13px;font-size:13px;font-weight:600;letter-spacing:-.01em}
.ctx-nav li a:hover,.ctx-nav .current-menu-item>a,.ctx-nav .current_page_item>a{color:var(--ctx-accent);text-decoration:none}

.ctx-search-panel{display:none;border-bottom:1px solid var(--ctx-rule);padding:16px 0}
.ctx-search-panel.is-open{display:block}
.ctx-search-form{display:flex;gap:10px;max-width:760px;margin-inline:auto}
.ctx-search-form input[type=search]{flex:1;min-width:0;background:white;border:1px solid #bbbcb5;padding:13px 15px;border-radius:0}
.ctx-search-form button{border:0;background:var(--ctx-ink);color:white;padding:0 22px;cursor:pointer}

.ctx-main{padding:32px 0 64px}
.ctx-kicker{font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.075em;font-weight:800;color:var(--ctx-accent);display:flex;align-items:center;gap:10px;margin-bottom:10px}
.ctx-kicker:after{content:"";width:38px;height:1px;background:currentColor;opacity:.7}
.ctx-headline{font-family:var(--ctx-serif);font-weight:700;letter-spacing:-.035em;line-height:.98;margin:0}
.ctx-deck{font-family:var(--ctx-serif);color:#364151;line-height:1.32}
.ctx-meta{display:flex;flex-wrap:wrap;gap:7px 13px;color:var(--ctx-graphite);font-size:12px;margin-top:16px}
.ctx-meta span+span:before{content:"·";margin-right:13px;color:#9b9c96}
.ctx-link{font-size:13px;color:var(--ctx-accent);font-weight:800;display:inline-flex;align-items:center;gap:7px;margin-top:15px}
.ctx-link:after{content:"→";font-size:18px;font-weight:400;transition:transform .18s ease}
.ctx-link:hover{text-decoration:none}.ctx-link:hover:after{transform:translateX(3px)}

.ctx-hero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:42px;padding-bottom:24px;border-bottom:1px solid var(--ctx-rule)}
.ctx-hero-copy{align-self:center;padding:18px 0 24px}
.ctx-hero-copy .ctx-headline{font-size:clamp(42px,5vw,73px)}
.ctx-hero-copy .ctx-deck{font-size:clamp(18px,1.65vw,23px);margin:16px 0 0;max-width:600px}
.ctx-hero-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#e7e8e2}
.ctx-hero-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.ctx-hero-media:hover img{transform:scale(1.012)}
.ctx-hero-quote{position:absolute;right:20px;bottom:18px;max-width:330px;background:rgba(23,23,23,.76);color:white;padding:11px 14px;border-left:2px solid var(--ctx-accent);font-family:var(--ctx-serif);font-style:italic;font-size:17px}

.ctx-major-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--ctx-rule);padding:22px 0 28px}
.ctx-major-card{display:grid;grid-template-columns:116px minmax(0,1fr);gap:16px;padding:0 24px;border-right:1px solid var(--ctx-rule)}
.ctx-major-card:first-child{padding-left:0}.ctx-major-card:last-child{border-right:0;padding-right:0}
.ctx-thumb{aspect-ratio:4/3;overflow:hidden;background:#e6e6df}
.ctx-thumb img{width:100%;height:100%;object-fit:cover}
.ctx-card-title{font-family:var(--ctx-serif);font-size:22px;line-height:1.05;letter-spacing:-.025em;font-weight:700;margin:3px 0 0}
.ctx-card-excerpt{color:var(--ctx-graphite);font-family:var(--ctx-serif);font-size:15px;line-height:1.35;margin:7px 0 0}
.ctx-card-meta{font-size:11px;color:var(--ctx-graphite);margin-top:8px}

.ctx-section{padding:30px 0 10px}
.ctx-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ctx-rule);padding-bottom:10px;margin-bottom:18px}
.ctx-section-heading h2{font-family:var(--ctx-serif);font-size:31px;line-height:1;margin:0;letter-spacing:-.03em}
.ctx-section-heading h2:before{content:"";display:block;width:76px;height:3px;background:linear-gradient(90deg,var(--ctx-accent) 0 32%,var(--ctx-accent-2) 32% 64%,var(--ctx-accent-3) 64% 100%);margin-bottom:10px}
.ctx-section-heading a{font-size:12px;color:var(--ctx-accent);font-weight:700}
.ctx-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--ctx-rule)}
.ctx-topic-card{padding:0 18px 22px;border-right:1px solid var(--ctx-rule)}
.ctx-topic-card:first-child{padding-left:0}.ctx-topic-card:last-child{border-right:0;padding-right:0}
.ctx-topic-card .ctx-thumb{aspect-ratio:16/10;margin-bottom:12px}
.ctx-topic-card .ctx-card-title{font-size:21px}

.ctx-lower-grid{display:grid;grid-template-columns:1.1fr .9fr .95fr;gap:30px;padding:34px 0 4px}
.ctx-lower-grid>section{min-width:0;border-right:1px solid var(--ctx-rule);padding-right:30px}
.ctx-lower-grid>section:last-child{border-right:0;padding-right:0}
.ctx-mini-heading{font-family:var(--ctx-serif);font-size:25px;letter-spacing:-.02em;margin:0 0 13px;border-bottom:1px solid var(--ctx-rule);padding-bottom:10px}
.ctx-latest-list{list-style:none;margin:0;padding:0}
.ctx-latest-list li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #e5e5df;font-size:13px}
.ctx-latest-list time{font-size:11px;color:var(--ctx-graphite)}
.ctx-quote{font-family:var(--ctx-serif);font-style:italic;font-size:26px;line-height:1.18;margin:9px 0 14px;padding-left:23px;position:relative}
.ctx-quote:before{content:"“";position:absolute;left:0;top:-8px;color:var(--ctx-accent);font-size:42px;font-style:normal;font-weight:700}
.ctx-dossier{position:relative;aspect-ratio:16/9;overflow:hidden;background:#ddd}
.ctx-dossier img{width:100%;height:100%;object-fit:cover}
.ctx-dossier-text{position:absolute;inset:auto 0 0;padding:22px 18px 16px;color:white;background:linear-gradient(transparent,rgba(0,0,0,.82));font-family:var(--ctx-serif);font-size:25px;line-height:1.05}

/* single article */
.ctx-article-header{max-width:960px;margin:8px auto 26px;text-align:center}
.ctx-article-header .ctx-kicker{justify-content:center}.ctx-article-header .ctx-kicker:after{display:none}
.ctx-article-title{font-family:var(--ctx-serif);font-size:clamp(44px,6vw,78px);line-height:.98;letter-spacing:-.045em;margin:0;font-weight:700}
.ctx-article-deck{font-family:var(--ctx-serif);font-size:clamp(19px,2vw,25px);line-height:1.35;color:#3b4652;max-width:800px;margin:18px auto 0}
.ctx-article-header .ctx-meta{justify-content:center}
.ctx-featured-wide{max-width:1120px;margin:28px auto 38px;aspect-ratio:16/9;overflow:hidden;background:#e5e5df}
.ctx-featured-wide img{width:100%;height:100%;object-fit:cover}
.ctx-article-layout{display:grid;grid-template-columns:minmax(0,var(--ctx-reading)) minmax(230px,300px);justify-content:center;gap:62px;align-items:start}
.ctx-article-content{font-family:var(--ctx-serif);font-size:20px;line-height:1.72;color:#202326;min-width:0}
.ctx-article-content p{margin:0 0 1.35em}.ctx-article-content>p:first-of-type:first-letter{float:left;font-size:74px;line-height:.78;margin:10px 8px 0 0;color:var(--ctx-ink)}
.ctx-article-content h2,.ctx-article-content h3{font-family:var(--ctx-serif);color:var(--ctx-ink);line-height:1.08;letter-spacing:-.025em;margin:2.1em 0 .7em}
.ctx-article-content h2{font-size:34px}.ctx-article-content h3{font-size:26px}
.ctx-article-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--ctx-accent)}
.ctx-article-content blockquote{margin:2em 0;padding:3px 0 3px 24px;border-left:2px solid var(--ctx-accent);font-size:24px;line-height:1.38;font-style:italic;color:#35404b}
.ctx-article-content figure{margin:2.2em 0}.ctx-article-content figcaption{font-family:var(--ctx-sans);font-size:11px;color:var(--ctx-graphite);margin-top:8px}
.ctx-article-content table{width:100%;border-collapse:collapse;font-family:var(--ctx-sans);font-size:14px;margin:2em 0}.ctx-article-content th,.ctx-article-content td{padding:10px;border-bottom:1px solid var(--ctx-rule);text-align:left}.ctx-article-content th{border-top:1px solid var(--ctx-ink)}
.ctx-sidebar{position:sticky;top:24px;font-size:13px}
.ctx-side-block{border-top:2px solid var(--ctx-ink);padding-top:10px;margin-bottom:30px}
.ctx-side-title{font-family:var(--ctx-serif);font-size:19px;margin:0 0 10px}
.ctx-side-story{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid var(--ctx-rule)}
.ctx-side-story:first-of-type{border-top:0}.ctx-side-story .ctx-thumb{aspect-ratio:1/1}.ctx-side-story a{font-family:var(--ctx-serif);font-size:15px;font-weight:700;line-height:1.15}
.ctx-sourcebox{margin:2.4em 0 0;border-top:1px solid var(--ctx-ink);border-bottom:1px solid var(--ctx-rule);padding:17px 0;font-family:var(--ctx-sans);font-size:13px}
.ctx-sourcebox summary{cursor:pointer;font-weight:800}

/* archives */
.ctx-archive-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.6fr);gap:38px;align-items:end;padding:14px 0 24px;border-bottom:1px solid var(--ctx-ink)}
.ctx-archive-title{font-family:var(--ctx-serif);font-size:clamp(45px,6vw,76px);line-height:.95;margin:0;letter-spacing:-.04em}
.ctx-archive-description{font-family:var(--ctx-serif);font-size:19px;color:#3b4652}
.ctx-post-list{max-width:980px;margin:0 auto}
.ctx-list-item{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:34px;padding:30px 0;border-bottom:1px solid var(--ctx-rule)}
.ctx-list-item .ctx-card-title{font-size:31px}.ctx-list-item .ctx-thumb{aspect-ratio:16/10}
.ctx-pagination{margin:34px auto 0;display:flex;justify-content:center}.ctx-pagination .nav-links{display:flex;gap:8px;align-items:center}.ctx-pagination a,.ctx-pagination span{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--ctx-rule);font-size:13px}.ctx-pagination .current{background:var(--ctx-ink);color:white;border-color:var(--ctx-ink)}

/* footer */
.ctx-footer{border-top:1px solid var(--ctx-ink);padding:28px 0 36px;margin-top:28px}
.ctx-footer-top{display:grid;grid-template-columns:1.1fr 1.4fr .8fr;gap:42px;align-items:start}
.ctx-footer-brand{font-family:var(--ctx-serif);font-size:30px;letter-spacing:-.03em}
.ctx-footer-lines{display:flex;gap:4px;margin:8px 0}.ctx-footer-lines i{height:2px;width:28px;background:var(--ctx-blue)}.ctx-footer-lines i:nth-child(2){background:var(--ctx-green)}.ctx-footer-lines i:nth-child(3){background:var(--ctx-orange)}
.ctx-footer p{font-size:12px;color:var(--ctx-graphite);max-width:460px}
.ctx-footer-nav ul{display:flex;flex-wrap:wrap;gap:10px 22px;padding:0;margin:5px 0;list-style:none;font-size:12px}
.ctx-publisher{text-align:right;font-size:11px;color:var(--ctx-graphite)}

@media (max-width: 980px){
 .ctx-shell{width:min(calc(100% - 30px),var(--ctx-max))}
 .ctx-utility{display:none}.ctx-masthead{min-height:86px;grid-template-columns:auto 1fr auto;gap:12px}.ctx-site-label{display:none}.ctx-brand{text-align:left}.ctx-brand-name{font-size:39px}.ctx-brand-lines{justify-content:flex-start;margin:7px 0 4px}.ctx-brand-lines i{width:25px;height:2px}.ctx-tagline{font-size:11px}.ctx-menu-toggle{display:inline-grid}
 .ctx-nav-wrap{border-bottom:1px solid var(--ctx-rule)}.ctx-nav{display:none;justify-content:flex-start;padding:8px 0}.ctx-nav.is-open{display:block}.ctx-nav ul{display:block;white-space:normal;width:100%}.ctx-nav li a{padding:10px 0;border-bottom:1px solid var(--ctx-rule)}
 .ctx-main{padding-top:22px}.ctx-hero-grid{grid-template-columns:1fr;gap:20px}.ctx-hero-media{order:-1}.ctx-hero-copy{padding:0 0 14px}.ctx-hero-copy .ctx-headline{font-size:52px}.ctx-hero-quote{display:none}
 .ctx-major-grid{grid-template-columns:1fr}.ctx-major-card,.ctx-major-card:first-child,.ctx-major-card:last-child{grid-template-columns:128px minmax(0,1fr);padding:15px 0;border-right:0;border-bottom:1px solid var(--ctx-rule)}.ctx-major-card:last-child{border-bottom:0}
 .ctx-topic-grid{grid-template-columns:repeat(2,1fr)}.ctx-topic-card,.ctx-topic-card:first-child,.ctx-topic-card:last-child{padding:0 15px 22px;border-right:0}.ctx-topic-card:nth-child(odd){padding-left:0;border-right:1px solid var(--ctx-rule)}.ctx-topic-card:nth-child(even){padding-right:0}
 .ctx-lower-grid{grid-template-columns:1fr 1fr}.ctx-lower-grid>section{padding-right:0;border-right:0}.ctx-lower-grid>section:first-child{grid-column:1/-1}
 .ctx-article-layout{grid-template-columns:minmax(0,var(--ctx-reading));gap:0}.ctx-sidebar{display:none}
 .ctx-article-header{text-align:left}.ctx-article-header .ctx-kicker{justify-content:flex-start}.ctx-article-header .ctx-meta{justify-content:flex-start}.ctx-featured-wide{margin-top:22px}
 .ctx-footer-top{grid-template-columns:1fr 1fr}.ctx-publisher{text-align:left;grid-column:1/-1}
}

@media (max-width: 620px){
 .ctx-shell{width:calc(100% - 36px)}
 .ctx-masthead{min-height:74px}.ctx-brand-name{font-size:30px}.ctx-tagline{font-size:10px}.ctx-brand-lines i{width:20px}
 .ctx-header-actions{gap:0}.ctx-icon-button{width:40px;height:40px}
 .ctx-main{padding:15px 0 45px}.ctx-hero-grid{gap:14px}.ctx-hero-media{aspect-ratio:16/9}.ctx-hero-copy .ctx-headline{font-size:42px;line-height:.98}.ctx-hero-copy .ctx-deck{font-size:18px}.ctx-meta{font-size:11px;margin-top:12px}
 .ctx-major-card,.ctx-major-card:first-child,.ctx-major-card:last-child{grid-template-columns:92px 1fr;gap:13px}.ctx-card-title{font-size:19px}.ctx-card-excerpt{display:none}
 .ctx-section{padding-top:25px}.ctx-section-heading h2{font-size:27px}.ctx-topic-grid{grid-template-columns:1fr}.ctx-topic-card,.ctx-topic-card:first-child,.ctx-topic-card:last-child,.ctx-topic-card:nth-child(odd),.ctx-topic-card:nth-child(even){display:grid;grid-template-columns:110px 1fr;gap:14px;padding:14px 0;border-right:0;border-bottom:1px solid var(--ctx-rule)}.ctx-topic-card .ctx-thumb{margin:0;aspect-ratio:4/3}.ctx-topic-card .ctx-kicker{margin-bottom:5px}.ctx-topic-card .ctx-card-title{font-size:19px}
 .ctx-lower-grid{grid-template-columns:1fr;gap:28px}.ctx-lower-grid>section:first-child{grid-column:auto}.ctx-quote{font-size:23px}
 .ctx-article-title{font-size:43px;text-align:left}.ctx-article-deck{font-size:19px}.ctx-featured-wide{width:calc(100% + 36px);margin-left:-18px;aspect-ratio:4/3}.ctx-article-content{font-size:18.5px;line-height:1.68}.ctx-article-content>p:first-of-type:first-letter{font-size:65px}.ctx-article-content h2{font-size:30px}.ctx-article-content blockquote{font-size:22px;margin-left:0}
 .ctx-archive-head{grid-template-columns:1fr;gap:15px}.ctx-archive-title{font-size:48px}.ctx-list-item{grid-template-columns:1fr 108px;gap:16px}.ctx-list-item .ctx-card-title{font-size:23px}.ctx-list-item .ctx-card-excerpt{display:none}.ctx-list-item .ctx-thumb{aspect-ratio:1/1}
 .ctx-footer-top{grid-template-columns:1fr}.ctx-publisher{grid-column:auto}
}

/* v1.0.1 — layout hardening for archive/home cards
   Prevent legacy/plugin image floats or inherited positioning from collapsing
   editorial grid rows, and keep homepage summaries deliberately concise. */
.ctx-hero-grid,
.ctx-major-grid,
.ctx-section,
.ctx-topic-grid,
.ctx-lower-grid{
  position:relative;
  isolation:isolate;
}
.ctx-major-grid,
.ctx-topic-grid{
  align-items:stretch;
}
.ctx-major-card,
.ctx-topic-card{
  position:relative;
  min-width:0;
  min-height:0;
  height:auto;
  overflow:visible;
}
.ctx-major-card .ctx-thumb,
.ctx-topic-card .ctx-thumb{
  display:block;
  float:none !important;
  position:relative !important;
  inset:auto !important;
}
.ctx-major-card img,
.ctx-topic-card img{
  float:none !important;
  position:static !important;
}
.ctx-major-card .ctx-card-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.ctx-topic-card .ctx-card-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.ctx-lower-grid{
  clear:both;
  margin-top:30px;
  padding-top:30px;
  border-top:1px solid var(--ctx-rule);
  background:var(--ctx-paper);
}
@media (max-width: 760px){
  .ctx-lower-grid{margin-top:12px;padding-top:24px}
}


/* v1.1.0 — editorial homepage refinement
   Tighter story summaries, stronger hierarchy between Latest / Analysis /
   Featured, and slightly more breathing room between newspaper sections. */
@media (min-width: 981px){
  .ctx-hero-copy .ctx-headline{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .ctx-hero-copy .ctx-deck{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .ctx-major-card .ctx-card-title,
  .ctx-topic-card .ctx-card-title{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .ctx-major-card .ctx-card-excerpt,
  .ctx-topic-card .ctx-card-excerpt{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
}

.ctx-major-grid{padding-top:26px;padding-bottom:34px}
.ctx-section{padding-top:42px;padding-bottom:18px}
.ctx-section-heading{margin-bottom:22px}
.ctx-topic-grid{padding-bottom:4px}
.ctx-lower-grid{margin-top:42px;padding-top:36px;gap:36px}
.ctx-lower-grid>section{padding-right:36px}

.ctx-editorial-label{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 8px;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ctx-graphite);
}
.ctx-editorial-label:before{
  content:"";
  display:block;
  width:26px;
  height:2px;
  background:var(--ctx-accent);
}
.ctx-lower-analysis .ctx-editorial-label:before{background:var(--ctx-accent-2)}
.ctx-lower-featured .ctx-editorial-label:before{background:var(--ctx-accent-3)}
.ctx-lower-grid .ctx-mini-heading{margin-bottom:16px}
.ctx-lower-analysis .ctx-quote{margin-top:14px}
.ctx-lower-featured .ctx-dossier{margin-top:2px}
.ctx-publisher a{font-weight:800;color:var(--ctx-ink);text-decoration:none}
.ctx-publisher a:hover{text-decoration:underline;text-underline-offset:3px}

@media (max-width:980px){
  .ctx-section{padding-top:34px}
  .ctx-lower-grid{margin-top:30px;padding-top:30px;gap:30px}
  .ctx-lower-grid>section{padding-right:0}
}
@media (max-width:620px){
  .ctx-section{padding-top:28px}
  .ctx-lower-grid{margin-top:22px;padding-top:26px;gap:34px}
  .ctx-editorial-label{margin-bottom:6px}
}

/* v1.3.0 typography alignment: classic Georgia editorial serif and Arial/Helvetica interface sans to mirror the live TheContextNews.nl rendering more closely. */


/* v1.4.0 — THE CONTEXT visual alignment release.
   Matches the live network publication more closely: restrained newspaper
   masthead, generous whitespace, lighter interface typography, untruncated
   lead headlines, and a calmer 43/57 editorial hero composition. */
:root{
  --ctx-max:1360px;
}

/* Header / masthead */
.ctx-site-header{background:var(--ctx-paper)}
.ctx-utility{
  min-height:50px;
  border-bottom:0;
  font-size:12px;
  color:#30343a;
  padding-top:3px;
}
.ctx-network-note{max-width:240px;line-height:1.25}
.ctx-masthead{
  min-height:142px;
  grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);
  border-bottom:1px solid var(--ctx-rule);
  gap:32px;
  padding-bottom:18px;
}
.ctx-brand-name{
  font-size:clamp(54px,5.15vw,78px);
  line-height:.91;
  letter-spacing:-.052em;
  font-weight:700;
}
.ctx-brand-lines{margin:14px 0 9px;gap:4px}
.ctx-brand-lines i{width:44px;height:2px}
.ctx-tagline{font-size:16px;line-height:1.1;color:#24282d}
.ctx-site-label{
  align-self:end;
  padding-bottom:13px;
  font-size:10px;
  letter-spacing:.14em;
  color:#62676d;
}
.ctx-site-label strong{font-size:19px;margin-top:3px;font-weight:700}
.ctx-header-actions{align-self:end;padding-bottom:10px}
.ctx-icon-button{width:36px;height:36px}
.ctx-icon-button svg{width:18px;height:18px}

/* Navigation */
.ctx-nav-wrap{border-bottom:1px solid #252525}
.ctx-nav{min-height:46px}
.ctx-nav li a{
  padding:14px 16px 13px;
  font-size:12.5px;
  line-height:1;
  font-weight:600;
  letter-spacing:-.005em;
}

/* Homepage lead: editorial rather than app/card-like */
.ctx-main{padding-top:30px}
.ctx-hero-grid{
  grid-template-columns:minmax(0,43fr) minmax(0,57fr);
  gap:52px;
  align-items:start;
  padding-bottom:28px;
}
.ctx-hero-copy{align-self:start;padding:2px 0 20px}
.ctx-kicker{font-size:10.5px;letter-spacing:.07em;margin-bottom:11px}
.ctx-kicker:after{width:36px}
.ctx-hero-copy .ctx-headline{
  font-size:clamp(48px,4.65vw,70px);
  line-height:.955;
  letter-spacing:-.041em;
  font-weight:700;
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
}
.ctx-hero-copy .ctx-deck{
  font-size:clamp(18px,1.48vw,22px);
  line-height:1.34;
  margin-top:19px;
  max-width:570px;
}
.ctx-hero-media{aspect-ratio:1.53/1}
.ctx-meta{margin-top:18px;font-size:11.5px}
.ctx-link{margin-top:16px;font-size:12.5px}

/* Secondary newspaper hierarchy */
.ctx-major-grid{padding-top:28px;padding-bottom:34px}
.ctx-card-title{line-height:1.08;letter-spacing:-.027em}
.ctx-major-card .ctx-card-title{font-size:21px}
.ctx-card-excerpt{line-height:1.38;color:#4e5359}
.ctx-section{padding-top:46px}
.ctx-section-heading h2{font-size:30px}

/* Long reads: same quieter typographic rhythm */
.ctx-article-title{line-height:.955;letter-spacing:-.041em}
.ctx-article-deck{line-height:1.38}
.ctx-article-content{font-size:20px;line-height:1.7}

@media (max-width:1100px) and (min-width:981px){
  .ctx-masthead{grid-template-columns:180px auto 180px;gap:18px}
  .ctx-brand-name{font-size:60px}
  .ctx-hero-grid{grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:36px}
  .ctx-hero-copy .ctx-headline{font-size:54px}
}

@media (max-width:980px){
  .ctx-masthead{min-height:92px;padding-bottom:0;grid-template-columns:auto 1fr auto}
  .ctx-brand-name{font-size:42px}
  .ctx-brand-lines{margin:8px 0 5px}
  .ctx-tagline{font-size:12px}
  .ctx-hero-grid{grid-template-columns:1fr;gap:22px}
  .ctx-hero-media{order:-1;aspect-ratio:16/9}
  .ctx-hero-copy{padding:0 0 14px}
  .ctx-hero-copy .ctx-headline{font-size:clamp(43px,8vw,58px);line-height:.97}
}

@media (max-width:620px){
  .ctx-shell{width:min(calc(100% - 30px),var(--ctx-max))}
  .ctx-masthead{min-height:78px}
  .ctx-brand-name{font-size:32px;letter-spacing:-.045em}
  .ctx-tagline{font-size:10px}
  .ctx-brand-lines i{width:21px;height:2px}
  .ctx-main{padding-top:18px}
  .ctx-hero-copy .ctx-headline{font-size:42px;line-height:.98}
  .ctx-hero-copy .ctx-deck{font-size:18px;margin-top:14px}
}
