﻿/* =========================================================
   EasyAdmin8 Blog 路 Template 5 鈥?"Rijksoverheid"
   Government-style theme: deep blue chrome, orange accents,
   generous whitespace, clear typographic hierarchy.
   ========================================================= */

:root {
  --ro-brand: #154273;
  --ro-brand-deep: #0f3157;
  --ro-link: #154273;
  --ro-link-hover: #007bc7;
  --ro-accent: #e17000;
  --ro-accent-dark: #b85700;
  --ro-ink: #1b1b1b;
  --ro-ink-soft: #343a40;
  --ro-muted: #5b6570;
  --ro-faint: #767f88;
  --ro-line: #d9dde1;
  --ro-line-soft: #e8ebee;
  --ro-bg: #ffffff;
  --ro-soft: #f4f6f8;
  --ro-soft-2: #eef2f6;
  --ro-white: #ffffff;
  --ro-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --ro-container: 1180px;
  --ro-shadow: 0 2px 14px rgba(21, 66, 115, 0.10);
  --ro-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="dark"] {
  --ro-brand: #123a61;
  --ro-brand-deep: #0d2b4a;
  --ro-link: #8ec5f0;
  --ro-link-hover: #badcff;
  --ro-accent: #f08a1d;
  --ro-accent-dark: #cf7414;
  --ro-ink: #e8edf2;
  --ro-ink-soft: #d3dbe3;
  --ro-muted: #a8b3bf;
  --ro-faint: #7d8894;
  --ro-line: #26323f;
  --ro-line-soft: #1e2a37;
  --ro-bg: #0e1621;
  --ro-soft: #141e2b;
  --ro-soft-2: #1a2635;
  --ro-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--ro-bg);
  color: var(--ro-ink);
  font-family: var(--ro-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
video, iframe, table { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(225, 112, 0, 0.22); color: var(--ro-ink); }

.ro-container { width: 100%; max-width: var(--ro-container); margin: 0 auto; padding: 0 24px; }

.ro-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ro-brand); color: #fff; padding: 10px 16px; z-index: 400; }
.skip-link:focus { left: 12px; top: 12px; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--ro-accent); z-index: 400; transition: width 0.1s linear; }

/* ---------- Header ---------- */
.ro-header { position: sticky; top: 0; z-index: 200; background: var(--ro-bg); border-bottom: 1px solid var(--ro-line); }
.ro-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.ro-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ro-logo__mark { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--ro-brand); color: #fff; }
.ro-logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.ro-logo__title { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--ro-link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-logo__sub { margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ro-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ro-headsearch { position: relative; flex: 1 1 auto; max-width: 420px; margin: 0 auto; }
.ro-headsearch input { width: 100%; height: 46px; padding: 0 50px 0 16px; border: 1px solid var(--ro-line); border-radius: 0; background: var(--ro-bg); color: var(--ro-ink); font-size: 15px; outline: 0; -webkit-appearance: none; appearance: none; }
.ro-headsearch input::placeholder { color: var(--ro-faint); }
.ro-headsearch input:focus { border-color: var(--ro-link-hover); box-shadow: inset 0 0 0 1px var(--ro-link-hover); }
.ro-headsearch button { position: absolute; right: 0; top: 0; width: 48px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--ro-brand); color: #fff; cursor: pointer; transition: background-color 0.15s ease; }
.ro-headsearch button:hover { background: var(--ro-brand-deep); }

.ro-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.ro-icon-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ro-line); border-radius: 0; background: transparent; color: var(--ro-link); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.ro-icon-btn:hover { border-color: var(--ro-link); background: var(--ro-soft); }
.ro-icon-btn .ico-moon { display: none; }
html[data-theme="dark"] .ro-icon-btn .ico-sun { display: none; }
html[data-theme="dark"] .ro-icon-btn .ico-moon { display: block; }
.ro-search-toggle { display: none; }

.ro-menu-toggle { display: none; flex-direction: column; gap: 4px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--ro-line); border-radius: 0; background: transparent; cursor: pointer; }
.ro-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ro-link); }

/* ---------- Primary navigation ---------- */
.ro-nav { background: var(--ro-brand); }
.ro-nav__inner { display: flex; align-items: center; gap: 2px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.ro-nav__inner::-webkit-scrollbar { display: none; }
.ro-nav a { position: relative; display: inline-block; padding: 14px 16px; color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.ro-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-bottom-color: var(--ro-accent); }
.ro-nav a.is-active { color: #fff; border-bottom-color: var(--ro-accent); }

/* ---------- Mobile search / menu ---------- */
.ro-searchbar { background: var(--ro-soft); border-top: 1px solid var(--ro-line); }
.ro-searchbar[hidden] { display: none; }
.ro-searchform { display: flex; gap: 10px; padding: 14px 0; }
.ro-searchform input[type="search"] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--ro-line); background: var(--ro-bg); color: var(--ro-ink); font-size: 15px; outline: 0; }
.ro-searchform input[type="search"]:focus { border-color: var(--ro-link-hover); }
.ro-searchform button { flex: none; height: 44px; padding: 0 22px; border: 0; background: var(--ro-brand); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }

.ro-mobile { display: none; background: var(--ro-bg); border-bottom: 1px solid var(--ro-line); padding: 12px 24px 18px; }
.ro-mobile.open { display: block; }
.ro-mobile a { display: block; padding: 13px 2px; color: var(--ro-link); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--ro-line-soft); }
.ro-mobile a:last-child { border-bottom: 0; }
.ro-mobile a:hover { color: var(--ro-link-hover); }
.ro-mobile__search { display: flex; gap: 8px; margin-bottom: 10px; }
.ro-mobile__search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--ro-line); background: var(--ro-bg); color: var(--ro-ink); font-size: 15px; outline: 0; }
.ro-mobile__search button { flex: none; height: 42px; padding: 0 16px; border: 0; background: var(--ro-brand); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ---------- Language switch ---------- */
.lang-switch { position: relative; display: inline-flex; align-items: center; z-index: 30; flex-shrink: 1; min-width: 0; }
.lang-switch__btn { min-width: 80px; max-width: 132px; height: 42px; padding: 0 12px; border: 1px solid var(--ro-line); border-radius: 0; background: transparent; color: var(--ro-link); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; transition: border-color 0.15s ease, background-color 0.15s ease; }
.lang-switch__btn:hover { border-color: var(--ro-link); background: var(--ro-soft); }
.lang-switch__menu { position: fixed; left: 0; right: 0; top: var(--lang-menu-top, 58px); bottom: 0; z-index: 1200; height: calc(100vh - var(--lang-menu-top, 58px)); height: calc(100dvh - var(--lang-menu-top, 58px)); margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 0; border-top: 3px solid var(--ro-accent); background: var(--ro-bg); box-shadow: 0 20px 60px rgba(8, 19, 55, 0.28); box-sizing: border-box; }
.lang-switch__menu[hidden] { display: none !important; }
.lang-switch__toolbar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--ro-line); background: inherit; }
.lang-switch__title { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ro-ink); }
.lang-switch__close { min-height: 36px; padding: 0 16px; border: 1px solid var(--ro-line); border-radius: 0; background: transparent; color: var(--ro-ink); cursor: pointer; font-weight: 600; }
.lang-switch__close:hover { border-color: var(--ro-ink); }
.lang-switch__grid { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-content: start; gap: 2px 8px; padding: 16px clamp(16px, 3vw, 40px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.lang-switch__grid button { display: block; width: 100%; min-height: 44px; text-align: left; border: 0; background: transparent; color: var(--ro-ink); padding: 10px 12px; border-radius: 0; cursor: pointer; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switch__grid button:hover, .lang-switch__grid button.is-current { background: rgba(225, 112, 0, 0.12); color: var(--ro-accent); font-weight: 700; }
body.lang-menu-open { overflow: hidden; touch-action: none; }

/* ---------- Shared bits ---------- */
.ro-tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ro-accent); }
.ro-tag--solid { background: var(--ro-accent); color: #fff; padding: 4px 9px; }
.ro-meta { display: inline-block; font-size: 11.5px; color: var(--ro-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.ro-side-title { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 3px solid var(--ro-brand); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ro-link); }

.ro-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: 0; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease; }
.ro-btn--primary { background: var(--ro-brand); color: #fff; }
.ro-btn--primary:hover { background: var(--ro-brand-deep); }
.ro-btn--light { background: #fff; color: var(--ro-brand); }
.ro-btn--light:hover { background: #eef4fb; }
.ro-btn--ghost { border-color: var(--ro-line); color: var(--ro-link); }
.ro-btn--ghost:hover { background: var(--ro-brand); color: #fff; border-color: var(--ro-brand); }

/* ---------- Hero ---------- */
.ro-hero { padding: 30px 0 0; }
.ro-hero__label { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ro-muted); }
.ro-hero__stage { position: relative; }

.ro-lead { position: relative; overflow: hidden; background: var(--ro-brand); }
.ro-lead__media { position: relative; display: block; min-height: 520px; }
.ro-lead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ro-lead__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 32, 58, 0) 34%, rgba(10, 32, 58, 0.92) 100%); }
.ro-lead__caption { position: absolute; right: 0; bottom: 0; left: auto; width: min(56%, 640px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px; color: #fff; }
.ro-lead__title { font-size: clamp(24px, 2.7vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ro-lead__meta { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }

/* floating "Most viewed" card over the hero image */
.ro-mostviewed { position: absolute; left: 32px; bottom: 32px; z-index: 5; width: min(380px, 42%); background: var(--ro-bg); border-radius: 3px; box-shadow: 0 18px 46px rgba(9, 30, 55, 0.30); padding: 28px 30px 30px; }
.ro-mostviewed__title { margin: 0 0 14px; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--ro-link); }
.ro-mostviewed__list { margin: 0; padding: 0; list-style: none; }
.ro-mostviewed__link { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ro-link-hover); overflow-wrap: anywhere; }
.ro-mostviewed__link:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--ro-accent); }
.ro-mostviewed__chev { flex: none; font-size: 21px; font-weight: 700; line-height: 0.95; color: var(--ro-link-hover); }
.ro-mostviewed__link:hover .ro-mostviewed__chev { color: var(--ro-accent); }

/* ---------- Practical info strip ---------- */
.ro-practical { padding: 28px 0 0; }
.ro-practical__inner { background: var(--ro-soft); border-top: 3px solid var(--ro-brand); padding: 20px 24px 24px; }
.ro-practical__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ro-practical__tag { display: inline-block; padding: 5px 10px; background: var(--ro-brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.ro-practical__more { font-size: 13px; font-weight: 700; color: var(--ro-link-hover); }
.ro-practical__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-practical__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.ro-practical__item { min-width: 0; padding-left: 16px; border-left: 3px solid var(--ro-accent); }
.ro-practical__link { display: block; }
.ro-practical__title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-practical__link:hover .ro-practical__title { text-decoration: underline; text-underline-offset: 3px; }
.ro-practical__source { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ro-faint); }

.ro-viewed { margin: 0; }
.ro-viewed__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--ro-line); }
.ro-viewed__item:last-child { border-bottom: 0; }
.ro-viewed__num { font-size: 21px; font-weight: 800; line-height: 1.05; color: var(--ro-accent); }
.ro-viewed__body { min-width: 0; }
.ro-viewed__title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.32; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-viewed__title:hover { color: var(--ro-link-hover); text-decoration: underline; text-underline-offset: 3px; }
.ro-viewed__body .ro-meta { margin-top: 6px; }

/* ---------- Section head ---------- */
.ro-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 26px; padding-bottom: 12px; border-bottom: 1px solid var(--ro-line); }
.ro-section-head--plain { margin-bottom: 20px; }
.ro-section-title { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.015em; color: var(--ro-link); }
.ro-section-head a { font-size: 14px; font-weight: 700; color: var(--ro-link-hover); white-space: nowrap; }
.ro-section-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-section-head__hint { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ro-faint); }

/* ---------- Cards ---------- */
.ro-grid { display: grid; gap: 30px 24px; }
.ro-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ro-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ro-card { display: flex; flex-direction: column; min-width: 0; background: var(--ro-bg); border: 1px solid var(--ro-line); border-top: 3px solid var(--ro-brand); transition: box-shadow 0.18s ease, transform 0.2s var(--ro-ease); }
.ro-card:hover { box-shadow: var(--ro-shadow); transform: translateY(-2px); }
.ro-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ro-soft-2); }
.ro-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ro-ease); }
.ro-card:hover .ro-card__media img { transform: scale(1.03); }
.ro-card__body { display: flex; flex-direction: column; padding: 18px 20px 22px; }
.ro-card__title { margin: 8px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-card__desc { margin: 0 0 12px; color: var(--ro-muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ro-card--sm .ro-card__media { aspect-ratio: 4 / 3; }
.ro-card--sm .ro-card__title { font-size: 15.5px; }
.ro-card--sm .ro-card__body { padding: 15px 16px 18px; }

/* ---------- Featured / Latest / World ---------- */
.ro-featured { padding: 56px 0 8px; }
.ro-latest { padding: 52px 0 8px; }
.ro-world { padding: 48px 0 8px; }

/* ---------- News ---------- */
.ro-news { padding: 48px 0; }
.ro-news__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.ro-news__list { min-width: 0; }
.ro-news__item { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--ro-line); }
.ro-news__item:first-child { border-top: 0; padding-top: 0; }
.ro-news__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ro-soft-2); }
.ro-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ro-ease); }
.ro-news__item:hover .ro-news__media img { transform: scale(1.04); }
.ro-news__body { min-width: 0; }
.ro-news__title { margin: 6px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-news__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-news__desc { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ro-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ro-follow { background: var(--ro-brand); color: #fff; padding: 22px; margin-bottom: 30px; }
.ro-follow h3 { margin: 0 0 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.82); }
.ro-follow__links { display: flex; gap: 8px; }
.ro-follow__btn { flex: 1; text-align: center; padding: 10px 6px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 12.5px; font-weight: 700; transition: background-color 0.15s ease, color 0.15s ease; }
.ro-follow__btn:hover { background: #fff; color: var(--ro-brand); }

/* ---------- Direct cards ---------- */
.ro-direct { padding: 52px 0 8px; }
.ro-direct__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ro-directcard { display: flex; flex-direction: column; min-width: 0; background: var(--ro-bg); border: 1px solid var(--ro-line); border-bottom: 4px solid var(--ro-accent); transition: box-shadow 0.18s ease, transform 0.2s var(--ro-ease); }
.ro-directcard:hover { box-shadow: var(--ro-shadow); transform: translateY(-2px); }
.ro-directcard__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ro-soft-2); }
.ro-directcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ro-ease); }
.ro-directcard:hover .ro-directcard__media img { transform: scale(1.03); }
.ro-directcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.ro-directcard__title { margin: 8px 0 8px; font-size: 20px; font-weight: 700; line-height: 1.28; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-directcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-directcard__desc { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--ro-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ro-arrowlink { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ro-link-hover); }
.ro-arrowlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Row feature ---------- */
.ro-rowfeature { padding: 54px 0; background: var(--ro-soft); margin-top: 52px; }
.ro-rowfeature__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.ro-rowfeature__main { min-width: 0; }
.ro-rowfeature__side { min-width: 0; }
.ro-rowcard { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--ro-line); }
.ro-rowcard:first-of-type { border-top: 0; padding-top: 0; }
.ro-rowcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ro-soft-2); }
.ro-rowcard__media img { width: 100%; height: 100%; object-fit: cover; }
.ro-rowcard__body { min-width: 0; }
.ro-rowcard__title { margin: 6px 0 6px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-rowcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ro-rowcard__desc { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ro-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA ---------- */
.ro-cta { background: var(--ro-brand); color: #fff; margin-top: 54px; }
.ro-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.ro-cta__text { min-width: 0; }
.ro-cta__text h2 { margin: 12px 0 10px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ro-cta__text h2 a { color: #fff; }
.ro-cta__text h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ro-cta__text p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 1.6; }
.ro-cta .ro-tag--solid { background: #fff; color: var(--ro-brand); }

/* ---------- More news (no image) ---------- */
.ro-more { padding: 48px 0 0; }
.ro-more--inline { padding-top: 40px; }
.ro-more__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.ro-more__item { display: block; padding: 16px 0; border-top: 1px solid var(--ro-line); }
.ro-more__item .ro-tag { margin-right: 8px; }
.ro-more__title { display: block; margin: 4px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ro-link); overflow-wrap: anywhere; }
.ro-more__item:hover .ro-more__title { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Empty / pager ---------- */
.ro-empty { padding: 80px 0; text-align: center; }
.ro-empty h3 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: var(--ro-link); }
.ro-empty p { margin: 0; color: var(--ro-muted); }

.ro-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 44px 24px 12px; }
.ro-pager__btn { padding: 11px 22px; border: 1px solid var(--ro-line); border-radius: 0; font-size: 13.5px; font-weight: 700; color: var(--ro-link); transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease; }
a.ro-pager__btn:hover { background: var(--ro-brand); border-color: var(--ro-brand); color: #fff; }
.ro-pager__btn.is-disabled { opacity: 0.4; cursor: not-allowed; }
.ro-pager__info { font-size: 12px; color: var(--ro-faint); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Newsletter ---------- */
.ro-newsletter { background: var(--ro-brand); color: #fff; padding: 52px 0; margin-top: 56px; }
.ro-newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.ro-newsletter__text { min-width: 0; max-width: 56ch; }
.ro-kicker { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; color: #ffd9a8; }
.ro-newsletter__text h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.18; }
.ro-newsletter__text p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.6; }
.ro-newsletter__form { flex: 0 1 440px; min-width: 0; }
.ro-subscribe { display: flex; gap: 10px; }
.ro-subscribe input[type="email"] { flex: 1 1 auto; min-width: 0; padding: 13px 14px; border: 1px solid transparent; border-radius: 0; background: #fff; color: #154273; font-size: 15px; outline: 0; }
.ro-subscribe input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(255, 217, 168, 0.6); }
.ro-subscribe button { flex: none; padding: 13px 24px; border: 0; border-radius: 0; background: var(--ro-accent); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color 0.15s ease; }
.ro-subscribe button:hover { background: var(--ro-accent-dark); }
.ro-subscribe-ok { margin: 12px 0 0; font-size: 13.5px; color: #b9f2c8; }
.ro-subscribe-err { margin: 12px 0 0; font-size: 13.5px; color: #ffd0c2; }

/* ---------- Footer ---------- */
.ro-footer { background: var(--ro-soft); border-top: 4px solid var(--ro-brand); color: var(--ro-ink); padding: 46px 0 26px; }
.ro-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; font-size: 18px; font-weight: 800; color: var(--ro-link); }
.ro-footer__mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--ro-brand); color: #fff; }
.ro-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding-top: 28px; border-top: 1px solid var(--ro-line); }
.ro-footer__col h3 { margin: 0 0 14px; font-size: 14px; font-weight: 800; color: var(--ro-link); }
.ro-footer__col li { margin-bottom: 10px; }
.ro-footer__col a { color: var(--ro-muted); font-size: 14px; }
.ro-footer__col a:hover { color: var(--ro-link-hover); text-decoration: underline; text-underline-offset: 3px; }
.ro-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ro-line); font-size: 12.5px; color: var(--ro-faint); }
.ro-contact-mail { overflow-wrap: anywhere; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 26px; bottom: 28px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: var(--ro-brand); color: #fff; cursor: pointer; box-shadow: var(--ro-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.15s ease; z-index: 300; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ro-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ro-lead__media { min-height: 480px; }
  .ro-lead__caption { width: 52%; padding: 26px; }
  .ro-mostviewed { width: 44%; left: 24px; bottom: 24px; padding: 24px 26px 26px; }
  .ro-mostviewed__title { font-size: 22px; }
  .ro-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .ro-nav { display: none; }
  .ro-menu-toggle { display: inline-flex; }
  .ro-header__row { min-height: 72px; }
  .ro-news__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ro-rowfeature__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ro-direct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ro-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ro-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ro-container { padding: 0 18px; }
  .ro-logo__title { font-size: 18px; }
  .ro-logo__sub { font-size: 9.5px; letter-spacing: 0.1em; }
  .ro-headsearch { display: none; }
  .ro-search-toggle { display: inline-flex; }
  .ro-header__actions { gap: 8px; }
  .ro-hero__label { margin-bottom: 12px; }
  .ro-lead__media { min-height: 320px; }
  .ro-lead__caption { left: 0; right: 0; width: auto; padding: 20px; gap: 9px; }
  .ro-mostviewed { position: static; width: auto; margin-top: 18px; padding: 22px; box-shadow: var(--ro-shadow); }
  .ro-mostviewed__title { font-size: 21px; }
  .ro-practical { padding-top: 20px; }
  .ro-practical__inner { padding: 18px; }
  .ro-practical__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ro-practical__item { padding-left: 14px; }
  .ro-featured, .ro-latest, .ro-world, .ro-direct { padding-top: 38px; }
  .ro-grid--3, .ro-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .ro-direct__grid { grid-template-columns: minmax(0, 1fr); }
  .ro-news__item { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
  .ro-rowcard { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
  .ro-rowfeature { padding: 38px 0; margin-top: 38px; }
  .ro-cta__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
  .ro-more__list { grid-template-columns: minmax(0, 1fr); }
  .ro-newsletter { padding: 40px 0; margin-top: 40px; }
  .ro-newsletter__inner { flex-direction: column; align-items: stretch; }
  .ro-newsletter__form { flex-basis: auto; }
  .ro-subscribe { flex-direction: column; }
  .ro-subscribe button { width: 100%; }
  .ro-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ro-footer__bottom { flex-direction: column; align-items: flex-start; }
  .back-to-top { right: 16px; bottom: 18px; }
  .ro-pager { gap: 10px; padding-left: 0; padding-right: 0; flex-wrap: wrap; }
  .ro-pager__btn { padding: 10px 16px; }
}

@media (max-width: 520px) {
  .ro-logo__sub { display: none; }
  .lang-switch__btn { min-width: 0; max-width: 92px; height: 38px; padding: 0 9px; font-size: 11px; }
  .ro-icon-btn, .ro-menu-toggle { width: 38px; height: 38px; }
  .lang-switch__menu { top: 0 !important; height: 100vh; height: 100dvh; }
  .lang-switch__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 6px; padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ro-section-head { flex-wrap: wrap; gap: 6px 12px; }
}
