/*
Theme Name: CityRiga.lv Premium 2026
Theme URI: https://www.cityriga.lv/
Author: CityRiga.lv / Dim Volkov
Author URI: https://www.cityriga.lv/
Description: CityRiga.lv premium light media theme for the homepage, categories, single news, collaboration and standard pages. Images are always displayed without cropping.
Version: 3.0.65
Requires PHP: 7.4
Text Domain: cityriga-premium-2026
License: Proprietary
*/

/* Main styles are loaded from assets/css/site.css. */

/* v3.0.49 — dynamic Google landing hubs */
.cityriga-hub-head{padding:34px 0 22px}.cityriga-hub-head h1{font-size:clamp(34px,5vw,64px);line-height:1;margin:8px 0 14px}.cityriga-hub-head__intro{max-width:780px;font-size:18px;line-height:1.65}.cityriga-hub-nav{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.cityriga-hub-nav a{padding:10px 15px;border:1px solid #ddd;border-radius:999px;text-decoration:none;font-weight:700}.cityriga-hub-nav a:hover{border-color:#111}.cityriga-hub-section{padding:20px 0 42px}.cityriga-hub-section__top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.cityriga-hub-section h2{font-size:clamp(25px,3vw,38px);margin:0}.cityriga-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cityriga-hub-card{display:block;text-decoration:none;color:inherit}.cityriga-hub-card img{width:100%;height:auto;object-fit:contain;border-radius:16px;background:#f4f4f4}.cityriga-hub-card small{display:block;margin-top:11px;font-weight:800;text-transform:uppercase}.cityriga-hub-card strong{display:block;font-size:20px;line-height:1.2;margin-top:5px}.cityriga-hub-empty{padding:22px;border:1px solid #e5e5e5;border-radius:16px}.cityriga-hub-note{margin-top:12px;font-size:14px;opacity:.7}@media(max-width:760px){.cityriga-hub-grid{grid-template-columns:1fr 1fr}.cityriga-hub-head{padding-top:22px}}@media(max-width:520px){.cityriga-hub-grid{grid-template-columns:1fr}}

/* v3.0.50 — contextual internal linking */
.cityriga-topic-nav{margin:34px 0;padding:26px;border:1px solid #e5e7eb;border-radius:22px;background:#fff}.cityriga-topic-nav__head .eyebrow{margin:0 0 5px;font-size:12px;font-weight:800;letter-spacing:.12em}.cityriga-topic-nav__head h2{margin:0 0 18px}.cityriga-topic-nav__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cityriga-topic-nav__links a{display:flex;flex-direction:column;gap:5px;padding:17px 18px;border:1px solid #eceff1;border-radius:16px;text-decoration:none;color:inherit;background:#fafafa;transition:transform .18s ease,border-color .18s ease}.cityriga-topic-nav__links a:hover{transform:translateY(-2px);border-color:#cfd4d8}.cityriga-topic-nav__links strong{font-size:16px}.cityriga-topic-nav__links span{font-size:13px;color:#687078}@media(max-width:720px){.cityriga-topic-nav{padding:20px 16px}.cityriga-topic-nav__links{grid-template-columns:1fr}}

/* v3.0.51 — richer structured data, breadcrumbs and discovery hub schema */


/* v3.0.56 — single header cleanup. Never show legacy/plugin excerpt/deck between H1 and metadata. */
.single-post .article-head > .article-deck,
.single-post .article-head > .entry-summary,
.single-post .article-head > h1 + p { display:none !important; }

/* v3.0.57 — final single-header guard.
   Some legacy content/plugin records inject an unknown summary node after H1.
   The single template contract is strict: H1 -> article-meta -> featured image.
   Hide any unexpected direct sibling between H1 and the canonical meta block,
   regardless of the injected element's class or tag. */
.single-post .article-head > h1 ~ *:not(.article-meta) { display:none !important; }
.single-post .article-head > .article-meta { display:flex !important; }

/* v3.0.60 — hub images always preserve the full source image; no cropping. */
.cityriga-hub-card img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* v3.0.62 — the daily history card is useful content first, link second. */
.editorial-card--today{text-decoration:none;color:inherit}.editorial-card--today:hover strong{text-decoration:underline;text-underline-offset:3px}


/* v3.0.63 — quiet, single-provider CityRiga.lv support page. */
.support-hero{padding:72px 0 88px;background:#f7f5f1}.support-shell{max-width:820px}.support-hero h1{max-width:720px;margin:8px 0 20px;font-family:Georgia,serif;font-size:clamp(38px,6vw,66px);font-weight:500;line-height:1.02;letter-spacing:-.035em}.support-lead{max-width:760px;margin:0 0 18px;font-size:clamp(18px,2.3vw,22px);line-height:1.65;color:#343432}.support-copy{max-width:720px;margin:0;color:#696965;font-size:15px;line-height:1.75}.support-action{margin-top:34px;padding-top:30px;border-top:1px solid #dedbd5}.support-paypal{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;background:#20201e;color:#fff!important;font-size:14px;font-weight:850;text-decoration:none;transition:transform .18s ease,background .18s ease}.support-paypal:hover{transform:translateY(-1px);background:#000}.support-action small{display:block;max-width:620px;margin-top:13px;color:#85817b;font-size:11px;line-height:1.55}.support-note{margin-top:38px;padding:22px 0 0;border-top:1px solid #dedbd5}.support-note strong{font-family:Georgia,serif;font-size:20px;font-weight:500}.support-note p{margin:7px 0 0;color:#696965;font-size:14px;line-height:1.6}@media(max-width:720px){.support-hero{padding:44px 0 58px}.support-action{margin-top:28px}.support-paypal{width:100%}}

/* v3.0.64 — quiet but unmistakable support CTA */
.cityriga-support-cta{margin:32px 0 10px;padding:26px 0 4px;border-top:1px solid #e2dfd9;text-align:left}.cityriga-support-paypal{display:inline-flex!important;align-items:center;justify-content:center;min-height:50px;padding:0 26px!important;border:0!important;border-radius:8px!important;background:#20201e!important;color:#fff!important;font-size:15px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important}.cityriga-support-paypal:hover{background:#000!important;color:#fff!important;transform:translateY(-1px)}.cityriga-support-cta p{margin:12px 0 0!important;color:#77736d!important;font-size:12px!important;line-height:1.55!important}@media(max-width:640px){.cityriga-support-paypal{width:100%;box-sizing:border-box}}


/* v3.0.65 — restrained support prompt on single articles. */
.article-support-quiet{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0 34px;padding:20px 0;border-top:1px solid #e5e2dc;border-bottom:1px solid #e5e2dc}.article-support-quiet__copy{display:flex;flex-direction:column;gap:5px;max-width:720px}.article-support-quiet__copy strong{font-family:Georgia,serif;font-size:20px;font-weight:500;line-height:1.25}.article-support-quiet__copy span{color:#77736d;font-size:13px;line-height:1.55}.article-support-quiet>a{flex:0 0 auto;color:#20201e;font-size:13px;font-weight:800;text-decoration:none;border-bottom:1px solid #aaa49b;padding-bottom:2px}.article-support-quiet>a:hover{border-color:#20201e}@media(max-width:720px){.article-support-quiet{align-items:flex-start;flex-direction:column;gap:14px;padding:18px 0}.article-support-quiet__copy strong{font-size:19px}}


/* v3.0.66 — quiet support cards */
.cityriga-support-card{margin:34px 0 12px;padding:30px 32px;border:1px solid #e1ded8;border-radius:16px;background:#faf9f6;box-shadow:0 10px 30px rgba(20,20,18,.045)}
.cityriga-support-card__top{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.cityriga-support-card__top span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#8a857e}.cityriga-support-card__top strong{font-family:Georgia,serif;font-size:28px;font-weight:500;line-height:1.15;color:#20201e}.cityriga-support-card>p{max-width:660px;margin:0 0 20px!important;color:#66625c!important;font-size:14px!important;line-height:1.65!important}.cityriga-support-card .cityriga-support-paypal{display:inline-flex!important;align-items:center;gap:10px;min-height:48px;padding:0 22px!important;border:0!important;border-radius:9px!important;background:#20201e!important;color:#fff!important;font-size:14px!important;font-weight:850!important;text-decoration:none!important}.cityriga-support-card .cityriga-support-paypal:hover{background:#000!important;color:#fff!important;transform:translateY(-1px)}.cityriga-support-card>small{display:block;margin-top:12px;color:#8a857e;font-size:11px;line-height:1.5}
.article-support-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:22px;margin:30px 0 38px;padding:24px 26px;border:1px solid #e2dfd9;border-radius:14px;background:#faf9f6;box-shadow:0 8px 26px rgba(20,20,18,.035)}.article-support-card__mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#20201e;color:#fff;font-family:Georgia,serif;font-size:17px}.article-support-card__copy{min-width:0}.article-support-card__eyebrow{display:block;margin-bottom:4px;color:#8a857e;font-size:9px;font-weight:900;letter-spacing:.14em}.article-support-card__copy h2{margin:0 0 5px;font-family:Georgia,serif;font-size:22px;font-weight:500;line-height:1.2}.article-support-card__copy p{margin:0;color:#706c66;font-size:13px;line-height:1.55}.article-support-card__button{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 17px;border:1px solid #d3cfc8;border-radius:8px;background:#fff;color:#20201e!important;font-size:12px;font-weight:850;text-decoration:none!important;white-space:nowrap}.article-support-card__button:hover{border-color:#20201e}.article-support-card__button span{font-size:15px}
@media(max-width:760px){.cityriga-support-card{padding:24px 20px}.cityriga-support-card__top strong{font-size:24px}.cityriga-support-card .cityriga-support-paypal{width:100%;justify-content:center;box-sizing:border-box}.article-support-card{grid-template-columns:46px minmax(0,1fr);gap:15px;padding:20px}.article-support-card__mark{width:44px;height:44px;font-size:15px}.article-support-card__button{grid-column:1/-1;width:100%;justify-content:center;box-sizing:border-box}.article-support-card__copy h2{font-size:20px}}
