/*
Theme Name: Runner's Goal
Theme URI: https://www.runnersgoal.com/
Author: Runner's Goal
Description: Custom theme for Runner's Goal. Recipes and training guides.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: runnersgoal
*/

:root{
	--rg-navy:#13214A;
	--rg-navy-line:#2C3D6B;
	--rg-vis:#F2E230;
	--rg-vis-dark:#C9BB12;
	--rg-mist:#EAF0F7;
	--rg-ink-soft:#46557E;
	--rg-on-navy:#DDE4F1;
	--rg-on-navy-soft:#C9D3E6;
	--rg-display:'Big Shoulders Display',Impact,'Arial Narrow',sans-serif;
	--rg-body:Newsreader,Georgia,serif;
	--rg-wrap:1200px;
	--rg-read:700px;
}

/* Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--rg-navy);font-family:var(--rg-body);font-size:19px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--rg-navy);text-decoration-color:var(--rg-vis-dark);text-decoration-thickness:3px;text-underline-offset:4px}
a:hover{color:#000}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--rg-navy);outline-offset:3px}
.rg-header :focus-visible,.rg-training :focus-visible,.rg-footer :focus-visible,.rg-rail :focus-visible,.rg-stats :focus-visible{outline-color:var(--rg-vis)}
h1,h2,h3,h4{font-family:var(--rg-display);font-weight:900;line-height:.95;letter-spacing:-.005em;margin:0;overflow-wrap:break-word;hyphens:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;left:12px;top:12px;width:auto;height:auto;clip:auto;background:var(--rg-vis);color:var(--rg-navy);padding:10px 16px;z-index:1000;font-weight:600}
.rg-wrap{max-width:var(--rg-wrap);margin:0 auto;padding:0 28px}
.rg-read{max-width:var(--rg-read);margin:0 auto;padding:0 28px}
.rg-d{font-family:var(--rg-display)}
@media (max-width:640px){.rg-wrap,.rg-read{padding:0 18px}body{font-size:18px}}

/* Buttons */
.rg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:24px;font-family:var(--rg-display);font-weight:800;font-size:20px;letter-spacing:.02em;text-decoration:none;border:2px solid transparent;cursor:pointer;line-height:1}
.rg-btn--vis{background:var(--rg-vis);color:var(--rg-navy)}
.rg-btn--vis:hover{background:#fff;color:var(--rg-navy)}
.rg-btn--navy{background:var(--rg-navy);color:#fff}
.rg-btn--navy:hover{background:#000;color:#fff}
.rg-btn--ghost{border-color:#fff;color:#fff;background:transparent}
.rg-btn--ghost:hover{background:#fff;color:var(--rg-navy)}

/* Photo fallback tones (used only when a post has no featured image) */
.rg-ph{background:#D9A066}
.rg-ph--1{background:#B5523B}.rg-ph--2{background:#D9A066}.rg-ph--3{background:#7E9A5C}.rg-ph--4{background:#E8D3B0}.rg-ph--5{background:#8C4A3A}.rg-ph--6{background:#C4B48A}
.rg-img{border-radius:12px;overflow:hidden;background:var(--rg-mist)}
.rg-img img{width:100%;height:100%;object-fit:cover}

/* Bib caption */
.rg-bib{background:#fff;color:var(--rg-navy);border-radius:6px;padding:16px 22px;position:relative;box-shadow:0 2px 0 var(--rg-navy)}
.rg-bib::before,.rg-bib::after{content:"";position:absolute;top:8px;width:7px;height:7px;border-radius:50%;background:#C8CED9}
.rg-bib::before{left:8px}.rg-bib::after{right:8px}

/* Header */
.rg-header{background:var(--rg-navy);color:#fff}
.rg-header__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;padding-bottom:10px}
.rg-logo{font-family:var(--rg-display);font-weight:900;font-size:34px;color:#fff;text-decoration:none;line-height:1}
.rg-logo:hover{color:#fff}
.rg-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:30px;align-items:center;flex-wrap:wrap}
.rg-nav a{font-family:var(--rg-display);font-weight:800;font-size:21px;color:#fff;text-decoration:none}
.rg-nav a:hover,.rg-nav .current-menu-item>a,.rg-nav .current-menu-ancestor>a{color:var(--rg-vis)}
.rg-header__tools{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.rg-search-toggle{width:44px;height:44px;border-radius:22px;border:2px solid #3A4C7D;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.rg-search-panel{padding-bottom:16px}
.rg-search-panel[hidden]{display:none}
.rg-sub ul{list-style:none;margin:0;padding:0 0 18px;display:flex;gap:24px;flex-wrap:wrap;font-style:italic}
.rg-sub a{color:var(--rg-on-navy-soft);text-decoration:none;font-size:16px}
.rg-sub a:hover,.rg-sub .current-menu-item>a,.rg-sub .current-cat>a{color:var(--rg-vis)}

/* Search form */
.rg-searchform{display:flex;gap:10px;flex-wrap:wrap}
.rg-searchform input[type=search]{flex:1 1 220px;min-height:48px;border:2px solid var(--rg-navy);border-radius:24px;padding:0 20px;font:inherit;font-size:17px;color:var(--rg-navy)}
.rg-header .rg-searchform input[type=search]{border-color:#fff}

/* Breadcrumb */
.rg-crumbs{font-style:italic;font-size:16px}
.rg-crumbs--light,.rg-crumbs--light a{color:var(--rg-on-navy-soft)}

/* Section headings */
.rg-h2{font-size:56px}
@media (max-width:640px){.rg-h2{font-size:42px}}
.rg-sectionhead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:32px}
.rg-sectionhead a{font-style:italic;font-size:19px}

/* Cards */
.rg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:40px 28px}
.rg-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--rg-navy)}
.rg-card__img{aspect-ratio:4/5}
.rg-card__title{font-family:var(--rg-display);font-size:27px;font-weight:800;line-height:1}
.rg-card__ex{font-size:16px;color:var(--rg-ink-soft);line-height:1.5}
.rg-card:hover .rg-card__title{text-decoration:underline;text-decoration-color:var(--rg-vis-dark);text-decoration-thickness:3px}

/* Home */
.rg-hero{position:relative;overflow:hidden}
.rg-hero__route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.rg-hero__inner{position:relative;display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding-top:56px;padding-bottom:88px}
.rg-hero__text{flex:1 1 520px;min-width:0}
.rg-hero__title{font-size:104px;line-height:.9;color:#fff}
.rg-hero__sub{margin:22px 0 0;font-size:23px;line-height:1.45;color:var(--rg-on-navy);max-width:540px}
.rg-hero__ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.rg-hero__media{flex:1 1 400px;position:relative;min-width:0}
.rg-hero__img{aspect-ratio:4/5;border-radius:14px}
.rg-hero__bib{position:absolute;left:-28px;bottom:36px;max-width:300px;text-decoration:none;display:block}
.rg-hero__bib span{display:block}
@media (max-width:640px){.rg-hero__title{font-size:64px}.rg-hero__bib{left:12px}}

.rg-favs{display:flex;flex-wrap:wrap;gap:40px}
.rg-favs__lead{flex:1 1 440px;min-width:0;position:relative;text-decoration:none;color:var(--rg-navy)}
.rg-favs__lead .rg-img{aspect-ratio:1/1;border-radius:14px}
.rg-favs__lead .rg-bib{position:absolute;left:20px;right:20px;bottom:20px}
.rg-favs__list{flex:1 1 440px;min-width:0;display:flex;flex-direction:column}
.rg-row{display:flex;gap:18px;align-items:center;text-decoration:none;color:var(--rg-navy);padding:16px 0;border-bottom:2px solid var(--rg-mist)}
.rg-row:last-child{border-bottom:0}
.rg-row .rg-img{width:112px;height:112px;flex:0 0 auto;border-radius:10px}
.rg-row__cat{font-style:italic;font-size:15px}
.rg-row__title{display:block;font-family:var(--rg-display);font-size:28px;font-weight:800;line-height:1}
.rg-row__ex{display:block;font-size:16px;margin-top:4px;color:var(--rg-ink-soft)}

.rg-band{background:var(--rg-vis);margin-top:96px}
.rg-band__inner{padding-top:56px;padding-bottom:56px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}

.rg-training{background:var(--rg-navy);color:#fff;margin-top:104px}
.rg-training__inner{padding-top:72px;padding-bottom:72px;display:flex;flex-wrap:wrap;gap:56px}
.rg-training p{color:var(--rg-on-navy)}
.rg-splits{flex:1.4 1 520px;min-width:0;border-top:1px solid var(--rg-navy-line)}
.rg-split{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--rg-navy-line);text-decoration:none;color:#fff}
.rg-split__dist{font-family:var(--rg-display);font-size:44px;font-weight:900;color:var(--rg-vis);line-height:1}
.rg-split__title{font-size:21px}
.rg-split:hover .rg-split__title{text-decoration:underline;text-decoration-color:var(--rg-vis)}
@media (max-width:640px){.rg-split{grid-template-columns:80px minmax(0,1fr)}}

.rg-about{background:var(--rg-mist)}
.rg-about__inner{padding-top:72px;padding-bottom:72px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.rg-about__photos{display:flex;align-items:flex-end}
.rg-about__photos img{width:180px;height:220px;object-fit:cover;border-radius:12px}
.rg-about__photos img:first-child{transform:rotate(-3deg)}
.rg-about__photos img:last-child{transform:rotate(3deg);margin-left:-24px;border:5px solid var(--rg-mist)}
@media (max-width:640px){.rg-about__photos img{width:140px;height:170px}}

/* Single: shared */
.rg-byline{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.rg-byline img{width:52px;height:52px;border-radius:26px;object-fit:cover}
.rg-byline__meta{font-size:17px;line-height:1.35}
.rg-byline__meta span{font-style:italic;color:var(--rg-ink-soft)}
.rg-header .rg-byline,.rg-header .rg-byline__meta{color:#fff}
.rg-header .rg-byline__meta span{color:var(--rg-on-navy-soft)}

.entry-content{font-size:21px;line-height:1.7}
.entry-content>*{margin-top:0;margin-bottom:24px}
.entry-content h2{font-size:44px;margin:52px 0 18px}
.entry-content h3{font-size:30px;margin:40px 0 14px}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content li{margin-bottom:6px}
.entry-content figure{margin:32px 0}
.entry-content figure img{border-radius:12px}
.entry-content figcaption{font-size:15px;font-style:italic;color:var(--rg-ink-soft);margin-top:8px}
.entry-content blockquote{margin:36px 0;padding:0 0 0 0;font-style:italic;font-size:24px}
.entry-content table{width:100%;border-collapse:collapse;font-size:17px}
.entry-content th,.entry-content td{padding:10px 12px;text-align:left;border-bottom:1px solid #C8CED9}
.entry-content th{font-family:var(--rg-display);font-weight:800;font-size:20px;border-bottom:3px solid var(--rg-navy)}
.entry-content .wp-block-table{overflow-x:auto}
.entry-content .alignwide{margin-left:calc(50% - min(50vw,560px) + 28px);margin-right:calc(50% - min(50vw,560px) + 28px)}
@media (max-width:640px){.entry-content{font-size:19px}.entry-content h2{font-size:34px}}

.rg-authorbox{display:flex;gap:20px;align-items:center;background:var(--rg-mist);border-radius:16px;padding:24px;margin-top:48px}
.rg-authorbox>div{min-width:0}
.rg-authorbox img{width:84px;height:84px;border-radius:42px;object-fit:cover;flex:0 0 auto}
.rg-authorbox__name{font-family:var(--rg-display);font-weight:900;font-size:30px;text-decoration:none;overflow-wrap:anywhere}
@media (max-width:400px){.rg-authorbox{flex-wrap:wrap}.rg-authorbox__name{font-size:26px}}
.rg-authorbox p{margin:4px 0 0;font-size:17px;line-height:1.55}
.rg-authorbox__cred{font-style:italic;font-size:16px;color:var(--rg-ink-soft)}
.rg-page-links{font-family:var(--rg-display);font-weight:800;font-size:20px;margin:32px 0}

.rg-related{padding-top:88px}
.rg-related__label{font-family:var(--rg-display);font-size:48px;font-weight:900;line-height:.95;margin:0 0 24px}

/* Single: recipe */
.rg-recipe-top{padding-top:48px;display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end}
.rg-recipe-top__text{flex:1 1 480px;min-width:0}
.rg-recipe-top__title{font-size:84px;line-height:.9;margin-top:16px}
.rg-recipe-top__dek{margin:20px 0 0;font-size:22px;line-height:1.5;color:var(--rg-ink-soft)}
.rg-recipe-top__meta{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:28px}
.rg-recipe-top__media{flex:1 1 440px;min-width:0}
.rg-recipe-top__media .rg-img{aspect-ratio:5/4;border-radius:14px}
@media (max-width:640px){.rg-recipe-top__title{font-size:54px}}
.rg-stats{background:var(--rg-navy);border-radius:14px;padding:26px 32px;margin:40px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px}
.rg-stats dt{font-style:italic;font-size:16px;color:var(--rg-on-navy-soft)}
.rg-stats dd{margin:2px 0 0;font-family:var(--rg-display);font-weight:900;font-size:48px;line-height:1;color:var(--rg-vis)}
.rg-recipe-body{padding-top:56px}

/* Recipe card plugins: give WP Recipe Maker / Create cards the site look */
.wprm-recipe-container,.mv-create-card{border:3px solid var(--rg-navy)!important;border-radius:18px!important;overflow:hidden;margin:40px 0!important}
.wprm-recipe-name,.mv-create-title{font-family:var(--rg-display)!important;font-weight:900!important}

/* Single: roundup */
.rg-roundup-head{padding-top:40px;padding-bottom:64px;display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end}
.rg-roundup-head__text{flex:1 1 560px;min-width:0}
.rg-roundup-head__title{font-size:92px;line-height:.88;color:#fff;margin-top:16px}
.rg-roundup-head__dek{margin:20px 0 0;font-size:22px;line-height:1.5;color:var(--rg-on-navy);max-width:640px}
.rg-toc{flex:0 1 340px;padding:24px 26px}
.rg-toc__label{font-family:var(--rg-display);font-size:26px;font-weight:900;margin:0 0 10px}
.rg-toc ol{margin:0;padding-left:22px;line-height:2;font-size:18px}
@media (max-width:640px){.rg-roundup-head__title{font-size:58px}}
.rg-roundup .entry-content{max-width:none}
.rg-roundup .entry-content>p,.rg-roundup .entry-content>ul,.rg-roundup .entry-content>ol{max-width:720px}
.rg-roundup .entry-content h2{font-size:52px;line-height:.92;margin-top:64px;padding-top:56px;border-top:3px solid var(--rg-mist)}
.rg-roundup .entry-content .wp-block-media-text{gap:44px;margin:0 0 24px}
.rg-roundup .entry-content .wp-block-media-text img{border-radius:16px}

/* Single: guide */
.rg-guide-head{padding-top:72px;text-align:center}
.rg-guide-head__title{font-size:88px;line-height:.9;margin-top:14px}
.rg-guide-head__dek{margin:22px auto 0;font-size:23px;line-height:1.5;font-style:italic;color:var(--rg-ink-soft);max-width:560px}
.rg-guide-head .rg-byline{margin-top:28px;text-align:left}
.rg-guide-hero{margin-top:52px}
.rg-guide-hero .rg-img{aspect-ratio:21/9;border-radius:16px}
@media (max-width:640px){.rg-guide-head__title{font-size:54px}}
.rg-guide .entry-content{font-size:22px;line-height:1.75}
.rg-guide .entry-content blockquote.is-style-rg-pull,.rg-guide .entry-content .wp-block-pullquote{background:var(--rg-navy);color:#fff;border-radius:16px;padding:44px 40px;margin:48px 0;text-align:left;border:0}
.rg-guide .entry-content .wp-block-pullquote p,.rg-guide .entry-content blockquote.is-style-rg-pull p{font-family:var(--rg-display);font-style:normal;font-weight:800;font-size:46px;line-height:1}
.rg-panel{background:var(--rg-mist);border-radius:16px;padding:28px 30px}

/* Single: training */
.rg-trainwrap{padding-top:48px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.rg-trainwrap__main{flex:999 1 560px;min-width:0;max-width:760px}
.rg-distance{font-family:var(--rg-display);font-size:40px;font-weight:900;background:var(--rg-vis);padding:2px 12px;border-radius:6px;display:inline-block;line-height:1.1}
.rg-train-title{font-size:80px;line-height:.9;margin-top:14px}
@media (max-width:640px){.rg-train-title{font-size:52px}}
.rg-rail{flex:1 1 280px;max-width:340px;background:var(--rg-navy);border-radius:16px;padding:24px 26px}
.rg-rail__label{font-family:var(--rg-display);font-size:30px;font-weight:900;color:#fff;margin:0 0 8px}
.rg-rail ul{list-style:none;margin:0;padding:0}
.rg-rail li a{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--rg-navy-line);color:#fff;text-decoration:none;font-size:17px;line-height:1.3}
.rg-rail li:last-child a{border-bottom:0}
.rg-rail li a .d{font-family:var(--rg-display);font-weight:900;font-size:26px;color:var(--rg-vis)}
.rg-rail li a[aria-current] span:last-child{text-decoration:underline;text-decoration-color:var(--rg-vis)}
.rg-rail .rg-btn{width:100%;margin-top:14px}
.rg-kitchen{background:var(--rg-mist);margin-top:80px}
.rg-kitchen__inner{padding-top:56px;padding-bottom:56px}

/* Archive */
.rg-archive-head>*{min-width:0}
.rg-archive-head{padding-top:36px;padding-bottom:56px;display:flex;flex-wrap:wrap;gap:28px;align-items:flex-end;justify-content:space-between}
.rg-archive-head__title{font-size:132px;line-height:.85;color:#fff;margin-top:8px}
.rg-archive-head__desc{margin:0;font-size:21px;line-height:1.5;color:var(--rg-on-navy);max-width:520px}
.rg-archive-head__desc p{margin:0}
@media (max-width:640px){.rg-archive-head__title{font-size:72px}}
.rg-lead{display:flex;flex-wrap:wrap;gap:36px;align-items:center;margin-bottom:56px;text-decoration:none;color:var(--rg-navy)}
.rg-lead .rg-img{flex:1.3 1 460px;aspect-ratio:16/10;border-radius:16px}
.rg-lead__text{flex:1 1 340px;min-width:0}
.rg-lead__title{display:block;font-family:var(--rg-display);font-size:56px;font-weight:900;line-height:.92;margin-top:6px}
.rg-pagination{margin-top:64px}
.rg-pagination .nav-links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.rg-pagination .page-numbers{min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--rg-navy);border-radius:24px;text-decoration:none;font-family:var(--rg-display);font-weight:800;font-size:20px;padding:0 14px}
.rg-pagination .page-numbers.current{background:var(--rg-navy);color:#fff}
.rg-pagination .dots{border:0}

/* Author */
.rg-author-head{padding-top:40px;padding-bottom:64px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-end}
.rg-author-head__photo{flex:0 0 300px;position:relative}
.rg-author-head__photo img{width:300px;height:360px;object-fit:cover;border-radius:16px}
.rg-author-head__photo .rg-bib{position:absolute;left:-16px;bottom:-24px}
.rg-author-head__text{flex:1 1 460px;min-width:0}
.rg-author-head__name{font-size:96px;line-height:.88;color:#fff}
.rg-author-head__bio{margin:18px 0 0;font-size:22px;line-height:1.6;color:var(--rg-on-navy);max-width:620px}
@media (max-width:640px){.rg-author-head__name{font-size:52px}.rg-author-head__photo{flex-basis:100%}.rg-author-head__photo img{width:100%}.rg-author-head__photo .rg-bib{left:12px}}
.rg-author-body{padding-top:64px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.rg-author-body__list{flex:999 1 560px;min-width:0;max-width:800px}
.rg-author-body__list .rg-row{border-bottom:3px solid var(--rg-mist)}
.rg-author-body__list .rg-row .rg-img{width:120px;height:96px}
.rg-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:2px solid var(--rg-navy);border-radius:22px;text-decoration:none;font-family:var(--rg-display);font-weight:800;font-size:18px}

/* Pages */
.rg-page-head{padding-top:48px;padding-bottom:56px}
.rg-page-head__title{font-size:88px;line-height:.9;color:#fff}
@media (max-width:640px){.rg-page-head__title{font-size:56px}}

/* Comments */
.rg-comments{margin-top:64px}
.rg-comments ol{list-style:none;padding:0}
.rg-comments .comment-body{padding:18px 0;border-bottom:2px solid var(--rg-mist);font-size:17px}
.rg-comments textarea,.rg-comments input[type=text],.rg-comments input[type=email],.rg-comments input[type=url]{width:100%;border:2px solid var(--rg-navy);border-radius:10px;padding:10px 12px;font:inherit;font-size:17px}
.rg-comments .submit{background:var(--rg-navy);color:#fff;border:0;border-radius:24px;min-height:48px;padding:0 24px;font-family:var(--rg-display);font-weight:800;font-size:20px;cursor:pointer}

/* Footer */
.rg-footer{background:var(--rg-navy);color:var(--rg-on-navy);margin-top:96px}
.rg-footer__inner{padding-top:56px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between}
.rg-footer__brand{max-width:340px}
.rg-footer__brand p{font-size:16px;line-height:1.6;margin:10px 0 0;font-style:italic}
.rg-footer__cols{display:flex;gap:56px;flex-wrap:wrap;font-size:16px}
.rg-footer__col h2{font-size:22px;font-weight:800;color:var(--rg-vis);margin-bottom:10px}
.rg-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.rg-footer a{color:var(--rg-on-navy);text-decoration:none}
.rg-footer a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--rg-vis)}
.rg-footer__legal{border-top:1px solid var(--rg-navy-line);padding-top:20px;padding-bottom:28px;font-size:14px;font-style:italic}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Phone: two-up cards so lists don't become one tall column of photos */
@media (max-width:640px){.rg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.rg-card__title{font-size:21px}.rg-card__ex{font-size:14px}}
