/*
Theme Name: Telegraph Experimental
Description: Standalone local parity theme for Telegraph.com.
Version: 1.0.0
Text Domain: telegraph-experimental
*/

@font-face{font-family:"Telegraph Titillium";src:url("fonts/titillium-regular-webfont.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Telegraph Titillium";src:url("fonts/titillium-semibold-webfont.woff") format("woff");font-style:normal;font-weight:600 900;font-display:swap}
@font-face{font-family:"Telegraph Hueman Titillium";src:url("fonts/titillium-light-webfont.woff") format("woff");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"Telegraph Hueman Titillium";src:url("fonts/titillium-regular-webfont.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Telegraph Hueman Titillium";src:url("fonts/titillium-semibold-webfont.woff") format("woff");font-style:normal;font-weight:600;font-display:swap}
:root{--ink:#222;--muted:#68717a;--paper:#fafafa;--line:#d9dde0;--accent:#c00;--nav:#f7f7f7;--serif:Georgia,"Times New Roman",serif;--sans:"Helvetica Neue",Arial,sans-serif;--title:Georgia,"Times New Roman",serif}
*{box-sizing:border-box} html{font-size:16px} body{margin:0;background:#e9edef;color:var(--ink);font-family:var(--sans);line-height:1.55} a{color:inherit;text-decoration:none} a:hover,a:focus{text-decoration:underline;text-underline-offset:3px} img{max-width:100%;height:auto}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;height:auto;width:auto;z-index:99;background:#fff;padding:.6rem}
.site-shell{max-width:1380px;margin:auto;background:#fff;min-height:100vh}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.site-brand{padding:.7rem 2rem .5rem;text-align:center}.telegraph-wordmark{color:#444;font-family:"Telegraph Titillium",Arial,Helvetica,sans-serif;font-size:clamp(2rem,5vw,4rem);font-weight:600;letter-spacing:0;line-height:1.05;margin:0}.telegraph-wordmark a{text-decoration:none}.site-brand__title{margin:0}.site-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--nav)}.site-nav ul,.footer-nav ul{display:flex;justify-content:center;gap:0;margin:0;padding:0;list-style:none;flex-wrap:wrap}.site-nav a,.footer-nav a{display:block;padding:.55rem .72rem;font-size:.78rem;font-weight:600}.site-nav .current-menu-item>a,.site-nav .current-menu-ancestor>a{border-bottom:1px solid var(--ink)}.mobile-nav-toggle{display:none;width:100%;padding:.7rem;border:0;background:var(--nav);font:600 .8rem var(--sans);text-transform:uppercase;letter-spacing:.08em}
.page-wrap{max-width:1240px;margin:0 auto;padding:0 2rem}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:2rem;padding:2rem 0}.content-layout--wide{display:block}.site-main{min-width:0}.sidebar{border-left:1px solid var(--line);padding-left:1.3rem}.widget{margin:0 0 2rem}.widget-title{font:700 1rem var(--title);border-bottom:2px solid var(--ink);padding-bottom:.35rem;margin:0 0 .7rem}.widget ul{margin:0;padding-left:1.1rem}.widget li{margin:.35rem 0}.widget input{max-width:100%}
.telegraph-masthead{text-align:center;padding:1.4rem 0 .8rem;border-bottom:5px double var(--ink)}.telegraph-masthead__kicker{margin:0;font-size:.68rem;font-weight:700;letter-spacing:.17em}.telegraph-masthead__title{margin:.15rem 0}.telegraph-masthead__identity{max-width:860px;margin:.5rem auto 0;font-size:.7rem;line-height:1.45;color:#4b5258}.category-rail{overflow-x:auto;border-bottom:1px solid var(--line);white-space:nowrap}.category-rail__inner{display:flex;width:max-content;min-width:100%;justify-content:center}.category-rail a{padding:.55rem .6rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.category-rail a:hover{color:var(--accent)}
.section-label{color:var(--accent);font-weight:800;font-size:.69rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .25rem}.story-title{font-family:var(--title);line-height:1.07;margin:0}.story-title a{text-decoration:none}.story-excerpt{font:1rem/1.45 var(--serif);margin:.6rem 0;color:#394149}.story-date{font-size:.72rem;color:var(--muted)}.front-analysis{padding:1.4rem 0}.front-analysis__top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:1.25rem;border-bottom:5px double var(--ink);padding-bottom:1.15rem}.front-analysis__lead .story-title{font-size:clamp(2rem,4vw,4rem)}.front-analysis__side{border-left:1px solid var(--line);padding-left:1.1rem}.front-analysis__side article{padding:.1rem 0 1rem;margin-bottom:1rem;border-bottom:1px solid var(--line)}.front-analysis__side .story-title{font-size:1.35rem}.front-analysis__bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.15rem 0}.front-analysis__bottom article+article{border-left:1px solid var(--line);padding-left:1rem}.front-analysis__bottom .story-title{font-size:1.12rem}
.editorial-feed{border-top:5px double var(--ink);padding-top:1rem}.feed-heading{font:700 1.35rem var(--title);margin:1.1rem 0 .8rem}.feed-lead-rail{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.95fr);gap:1.2rem;border-bottom:1px solid var(--line);padding-bottom:1.1rem}.feed-lead-rail__lead .story-title{font-size:2rem}.feed-rail{border-left:1px solid var(--line);padding-left:1rem}.feed-rail article{padding:.15rem 0 .7rem;margin-bottom:.7rem;border-bottom:1px solid var(--line)}.feed-rail .story-title{font-size:1.14rem}.feed-strip{display:grid;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}.feed-strip--three{grid-template-columns:repeat(3,1fr)}.feed-strip--four{grid-template-columns:repeat(4,1fr)}.feed-strip--two{grid-template-columns:repeat(2,1fr)}.feed-strip article+article{border-left:1px solid var(--line);padding-left:1rem}.feed-strip .story-title{font-size:1.15rem}.feed-archive{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.85fr);gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}.feed-archive__lead .story-title{font-size:1.7rem}.feed-archive__stack{border-left:1px solid var(--line);padding-left:1rem}.feed-archive__stack article+article{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.8rem}.handoff{text-align:center;margin:1.5rem 0}.button{display:inline-block;padding:.65rem 1.1rem;border:1px solid var(--ink);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.archive-header{border-bottom:5px double var(--ink);padding:0 0 1rem;margin-bottom:1rem}.archive-header h1{font:700 clamp(2rem,4vw,3.5rem)/1 var(--title);margin:0}.archive-header p{font-family:var(--serif)}.post-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0}.post-card{padding:1rem;border-bottom:1px solid var(--line)}.post-card:nth-child(odd){border-right:1px solid var(--line)}.post-card .story-title{font-size:1.5rem}.pagination{display:flex;justify-content:space-between;gap:1rem;margin:2rem 0}.pagination .page-numbers{padding:.3rem .5rem}.pagination .current{font-weight:700;border-bottom:2px solid var(--accent)}
.entry-header{border-bottom:5px double var(--ink);padding-bottom:1rem;margin-bottom:1.2rem}.breadcrumbs{font-size:.85rem;color:var(--muted);margin:0 0 .8rem}.breadcrumbs a{color:var(--accent)}.entry-title{font:700 clamp(2rem,4.2vw,4rem)/1.04 var(--title);margin:0}.entry-meta{font-size:.8rem;color:var(--muted);margin-top:.75rem}.entry-content{font:1.1rem/1.7 var(--serif)}.entry-content p{margin:0 0 1.25rem}.entry-content h2,.entry-content h3{font-family:var(--title);line-height:1.15}.post-tags{font-size:.86rem;border-top:1px solid var(--line);padding-top:.8rem}.related-posts{border-top:5px double var(--ink);margin-top:2rem;padding-top:1rem}.related-posts h2{font:700 1.4rem var(--title);margin:0 0 .8rem}.related-posts ul{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;list-style:none;padding:0}.related-posts li+li{border-left:1px solid var(--line);padding-left:1rem}.related-posts .story-title{font-size:1.1rem}.comments-area{border-top:1px solid var(--line);padding-top:1.2rem;margin-top:2rem}.not-found{padding:2rem 0}.search-form{display:flex;gap:.5rem}.search-field{min-width:0;width:100%;padding:.55rem;border:1px solid var(--line)}.search-submit{padding:.55rem .8rem;border:1px solid var(--ink);background:#fff}
.mobile-edition{display:block}.site-footer{background:#fff;color:#777;margin-top:2rem;position:relative;width:100%}.site-footer a{color:#777}.site-footer a:hover{color:#ccc}.footer-widget-area{background:#fff;padding-top:20px}.footer-widget-inner{margin:0 auto;max-width:1380px;padding:0 30px 30px}.footer-widget-1{min-height:1px}.footer-widget-area .widget{margin:0;padding-bottom:30px}.footer-widget-area .widget-title,.footer-widget-area .wp-block-heading{border:0;color:#777;font:400 1rem/1.5 var(--sans);margin:0 0 .5rem;padding:0}.footer-widget-area ul{list-style:none;margin:0;padding:0}.footer-widget-area li{border-bottom:1px solid #f2f2f2;color:#bbb;list-style:none;margin:0;padding:10px 0}.footer-widget-area li::marker{content:""}.footer-widget-area a{color:#777;font-family:var(--sans);text-decoration:none}.footer-nav{background:#fff;border-top:1px solid #eee}.footer-nav .nav{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;margin:0;padding:0;text-align:center}.footer-nav .nav>li{list-style:none}.footer-nav .nav>li>a{color:#33363b;display:block;font:400 1rem/1.5 var(--sans);padding:12px 18px;text-decoration:none}.footer-nav .nav>li>a:hover,.footer-nav .nav>li.current-menu-item>a{background:#f0f0f0;color:#666}.footer-branding{background:#33363b;color:rgba(255,255,255,.5);position:relative}.footer-branding-inner{margin:0 auto;max-width:1380px;min-height:1px;padding:30px 30px}.footer-branding #back-to-top{background:#eaeaea;border-radius:0 0 3px 3px;box-shadow:inset 0 1px 0 rgba(0,0,0,.05);color:#777;display:block;height:30px;margin:0 auto -30px;overflow:hidden;text-align:center;width:60px}.footer-branding #back-to-top span{font:32px/30px Arial,sans-serif;position:relative;top:-2px}.footer-branding #back-to-top:hover{color:#444}.footer-branding #footer-logo{border-radius:0;display:block;float:left;margin:0 16px 20px 0;max-height:50px;max-width:100%}.footer-branding #copyright,.footer-branding #credit{color:rgba(255,255,255,.5);font:normal .9375em/1.5em var(--sans);max-width:800px;text-align:center}.footer-branding #copyright p{clear:both;margin:12px auto 0}.footer-branding #credit p{clear:both;font-size:.88em;margin:8px auto 0;padding-top:.5em}.footer-branding a{color:rgba(255,255,255,.7)}.footer-branding a:hover{color:#fff}
.breadcrumbs{font:500 16px/1.6 "Helvetica Neue",Arial,sans-serif}.breadcrumbs a{color:#c00!important}.site-header,.site-nav{background:#fafafa}.site-nav a{color:#222;font-weight:500}.site-nav a:hover{text-decoration:underline}.site-header{border-bottom:1px solid #e6e6e6}
@media (max-width:980px){.page-wrap{padding:0 1.25rem}.content-layout{grid-template-columns:minmax(0,1fr) 260px}.front-analysis__bottom,.feed-strip--four{grid-template-columns:repeat(2,1fr)}.front-analysis__bottom article:nth-child(odd),.feed-strip--four article:nth-child(odd){border-left:0;padding-left:0}.feed-strip--four article:nth-child(n+3){border-top:1px solid var(--line);padding-top:1rem}.site-brand{padding-left:1rem;padding-right:1rem}}
@media (max-width:820px){.content-layout{display:block}.sidebar{border-left:0;border-top:1px solid var(--line);padding:1.5rem 0 0;margin-top:1.5rem}.front-analysis__top,.feed-lead-rail,.feed-archive{grid-template-columns:1fr}.front-analysis__side,.feed-rail,.feed-archive__stack{border-left:0;border-top:1px solid var(--line);padding:1rem 0 0}.front-analysis__bottom,.feed-strip--three,.feed-strip--four,.feed-strip--two{grid-template-columns:repeat(2,1fr)}.front-analysis__bottom article:nth-child(odd),.feed-strip article:nth-child(odd){border-left:0;padding-left:0}.front-analysis__bottom article:nth-child(n+3),.feed-strip article:nth-child(n+3){border-top:1px solid var(--line);padding-top:1rem}.site-nav a{padding:.5rem}}
@media (max-width:600px){body{background:#fff}.site-shell{width:100%}.site-brand{padding:.55rem 1rem}.site-brand__title{font-size:1.8rem}.mobile-nav-toggle{display:block}.site-nav{display:none}.site-nav.is-open{display:block}.site-nav ul{display:block}.site-nav a{padding:.7rem 1rem;border-bottom:1px solid var(--line)}.page-wrap{padding:0 1rem}.telegraph-masthead{padding-top:1rem}.telegraph-masthead__title{font-size:2.65rem}.category-rail__inner{justify-content:flex-start}.mobile-edition__group{border-bottom:5px double var(--ink);padding:1.2rem 0}.mobile-edition__lead .story-title{font-size:2rem}.mobile-edition__briefing{margin-top:1rem;border-top:1px solid var(--line)}.mobile-edition__briefing article,.mobile-edition__latest article{padding:.75rem 0;border-bottom:1px solid var(--line)}.mobile-edition__briefing .story-title,.mobile-edition__latest .story-title{font-size:1.2rem}.mobile-edition__analysis{padding:1rem 0}.mobile-edition__analysis .story-title{font-size:1.5rem}.related-posts ul,.post-list{grid-template-columns:1fr}.related-posts li+li,.post-card:nth-child(odd){border-left:0;padding-left:0}.post-card:nth-child(odd){border-right:0}.entry-content{font-size:1.04rem}}
@media (max-width:768px){.footer-branding{padding-top:20px;text-align:center}.footer-branding-inner{padding-top:50px;padding-bottom:40px}.footer-branding #footer-logo{float:none;margin-left:auto;margin-right:auto}.footer-branding #copyright,.footer-branding #credit{margin-left:auto;margin-right:auto;max-width:92%}.footer-nav .nav{display:block;text-align:left}.footer-nav .nav>li>a{border-top:1px solid #f2f2f2;color:rgba(0,0,0,.8);padding:12px 18px}.footer-nav .nav>li>a:hover,.footer-nav .nav>li.current-menu-item>a{background:#f2f2f2;color:#444}}

/* Keep the larger touch-tablet single-post reading column comfortably inset.
   These are CSS viewport dimensions, not device or user-agent detection. */
@media (min-width:1024px) and (max-width:1024px) and (orientation:portrait),
       (min-width:1366px) and (max-width:1366px) and (orientation:landscape){
  .single .site-main>article{width:100%;max-width:1120px;margin-right:auto;margin-left:auto;padding-right:clamp(50px,5.5vw,60px);padding-left:clamp(50px,5.5vw,60px);box-sizing:border-box}
  .single .site-main>article,.single .site-main>article *{min-width:0;box-sizing:border-box}
  .single .entry-content img,.single .entry-content video,.single .entry-content iframe,.single .entry-content embed,.single .entry-content object,.single .entry-content table{max-width:100%}
  .single .entry-content table{width:100%;table-layout:auto}
  .single .entry-content td,.single .entry-content th{overflow-wrap:anywhere}
}

/* Category archives use the queried term as a compact editorial title. */
.archive-header--category{border-bottom:3px solid var(--ink);margin:0 1.25rem 1.2rem;padding:0 0 .8rem}
.archive-header--category .archive-title{color:#394149;font:700 clamp(1.375rem,calc(.893rem + 1.8vw),2rem)/1.1 var(--title);letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}

/* Space separate recent-article entries without separating headline lines. */
.sidebar .wp-block-latest-posts>li{margin:0}
.sidebar .wp-block-latest-posts>li+li{margin-top:12px}

/* Hueman's self-hosted Titillium headline system. Story titles alone use it. */
:root{--telegraph-story-headline-font:"Telegraph Hueman Titillium",Arial,sans-serif;--telegraph-story-headline-colour:#444}
.telegraph-story-headline,.story-title,.single .entry-title{color:var(--telegraph-story-headline-colour);font-family:var(--telegraph-story-headline-font);font-synthesis:none;font-weight:400}
.story-title{font-size:1.375em;letter-spacing:0;line-height:1.5}
.story-title a{color:inherit}
.single .entry-title{color:#383838;font-size:2.62em;letter-spacing:-1px;line-height:1.44;margin:0}
.post-card .story-title,.front-analysis__side .story-title,.front-analysis__bottom .story-title,.feed-lead-rail__lead .story-title,.feed-rail .story-title,.feed-strip .story-title,.feed-archive__lead .story-title,.mobile-edition__briefing .story-title,.mobile-edition__latest .story-title,.mobile-edition__analysis .story-title{font-size:1.375em;letter-spacing:0;line-height:1.5}
.front-analysis__lead .story-title,.front-page-reference .front-analysis__lead .story-title{font-size:2.125em;letter-spacing:-.7px;line-height:1.4}
.related-posts .story-title{font-size:1.0625em;font-weight:300;letter-spacing:0;line-height:1.5}
@media (max-width:719px){.single .entry-title,.front-analysis__lead .story-title{font-size:1.375em;letter-spacing:0;line-height:1.5}.related-posts .story-title{font-size:.9375em}}

/* Single articles use a centred editorial grid without changing archive or front-page cards. */
.single .content-layout{max-width:1240px;grid-template-columns:minmax(0,810px) 300px;column-gap:46px;justify-content:center;padding:2rem}
.single .sidebar{padding-left:1.5rem}
.single .entry-header{padding-bottom:.75rem;margin-bottom:1rem}
.single .breadcrumbs{margin-bottom:.45rem}
.single .entry-meta{margin:.45rem 0 0}
.single .entry-content{font-family:var(--telegraph-story-headline-font);font-size:1.125rem;font-weight:400;line-height:1.62}
.single .entry-content>p:first-child{font-weight:600}

/* Keep the rail on wide displays; smaller touch tablets and phones omit it rather than stacking it. */
@media (min-width:1024px) and (max-width:1199px){.single .content-layout{grid-template-columns:minmax(0,1fr) 280px;column-gap:2rem}}
@media (max-width:1023px), (max-width:1024px) and (orientation:portrait){.single .content-layout{display:block;max-width:1240px}.single .sidebar{border-left:0;border-top:1px solid var(--line);margin-top:1.5rem;padding:1.5rem 0 0}}
@media (max-width:980px){.single .content-layout{padding-right:1.25rem;padding-left:1.25rem}}
@media (max-width:600px){.single .entry-content{font-size:1.04rem}}
@media (max-width:600px){.single .content-layout{padding-right:1rem;padding-left:1rem}}

/* Exact-category related articles: deliberately text-only and newspaper-like. */
.related-articles{border-top:5px double var(--ink);clear:both;margin-top:2rem;padding-top:1rem}
.related-articles h2{color:#222;font:700 clamp(1.35rem,2.5vw,1.7rem)/1.18 var(--serif);margin:0 0 1rem}
.related-articles__list{display:grid;gap:0 1.5rem;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:0}
.related-articles__item{border-top:1px solid #c9cdd0;min-width:0;padding:1rem 0}
.related-articles__item:nth-child(odd){border-right:1px solid #c9cdd0;padding-right:1.5rem}
.related-articles__category{color:#b00000;font:700 .69rem/1.25 var(--sans);letter-spacing:.08em;margin:0 0 .35rem;text-transform:uppercase}
.related-articles__title{color:#222;font:400 1.15rem/1.28 var(--serif);margin:0;overflow-wrap:anywhere}
.related-articles__title a{display:block;padding:.12rem 0;text-decoration:none}
.related-articles__title a:hover{text-decoration:underline;text-underline-offset:.16em}
.related-articles__title a:focus-visible{outline:3px solid #222;outline-offset:3px;text-decoration:underline}
.related-articles__date{color:#4d555b;display:block;font:.78rem/1.3 var(--sans);margin-top:.45rem}
@media (max-width:1024px) and (orientation:portrait), (max-width:820px){.related-articles__list{grid-template-columns:1fr}.related-articles__item:nth-child(odd){border-right:0;padding-right:0}.related-articles__title{font-size:1.2rem}}

/* The observed 11.9-inch tablet viewport is 1024×1366 or 1366×1024. */
@media (min-width:1024px){.single .content-layout{display:grid}.single .sidebar{display:block;border-top:0;border-left:1px solid var(--line);margin-top:0;padding:0 0 0 1.5rem}}
/* A shorter coarse-pointer landscape viewport is a smaller iPad, not a desktop. */
@media (min-width:768px) and (max-width:1199px) and (max-height:1000px) and (orientation:landscape) and (pointer:coarse){.single .content-layout{display:block}.single .sidebar{display:none}}
@media (max-width:1023px){.single .sidebar{display:none}}

/* Refine single-post presentation without changing the home, archive, or navigation layouts. */
@media (min-width:601px){.single .telegraph-masthead{padding:1.1rem 0 .55rem}}
.single .sidebar .wp-block-search__label{font-size:.9rem}
.single .sidebar .wp-block-search__inside-wrapper{gap:.4rem}
.single .sidebar .wp-block-search__input{min-width:0;padding:.45rem .55rem}
.single .sidebar .wp-block-search__button{padding:.45rem .7rem;font-size:.875rem}
.single .sidebar .wp-block-latest-posts>li{border-bottom:1px solid #e8eaec;margin:0;padding:.5rem 0}
.single .sidebar .wp-block-latest-posts>li+li{margin-top:0}
.single .sidebar .wp-block-latest-posts>li>a{display:block}
.single .sidebar .widget:has(.wp-block-latest-comments){margin-top:2.75rem}
.single .sidebar .widget:has(.wp-block-latest-comments) h2{font-size:.95rem;font-weight:500}

/* Tablet category archives retain the shared grid gutter with a compact, fixed title. */
@media (min-width:700px) and (max-width:1180px){
  .archive-header--category .archive-title{font-size:24px;line-height:1.1}
}
