/*
Theme Name: Giornale d'Europa
Theme URI: https://example.com/giornale-europa
Author: Codex
Author URI: https://example.com
Description: Tema editoriale WordPress ispirato a una homepage giornalistica europea, con griglie di notizie, focus, opinioni e newsletter.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giornale-europa
Tags: news, blog, custom-logo, featured-images, responsive-layout, editor-style
*/

:root {
  --ge-blue: #0048bd;
  --ge-blue-dark: #001b4f;
  --ge-cyan: #16c8e5;
  --ge-ink: #06142f;
  --ge-muted: #667085;
  --ge-line: #d9e0eb;
  --ge-soft: #f4f7fb;
  --ge-card: #ffffff;
  --ge-radius: 6px;
  --ge-shadow: 0 14px 34px rgba(10, 31, 68, 0.12);
  --ge-serif: Georgia, "Times New Roman", serif;
  --ge-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ge-ink);
  background: #fff;
  font-family: var(--ge-sans);
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.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;
}

.site-header {
  border-bottom: 1px solid var(--ge-line);
  background: #fff;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 250px;
}

.custom-logo-link img {
  width: auto;
  max-width: 300px;
  max-height: 70px;
  object-fit: contain;
}

.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #003da7;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.65rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-logo span {
  color: #002f8f;
}

.text-logo::after {
  content: "";
  width: clamp(46px, 7vw, 78px);
  height: clamp(46px, 7vw, 78px);
  margin-inline: -8px -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #4ce1ff, #0073ce 60%, #00439e);
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.65vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  justify-content: center;
}

.primary-menu a {
  color: #0d1730;
  font-size: 0.82rem;
  font-weight: 750;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  display: flex;
  align-items: center;
  width: clamp(180px, 18vw, 260px);
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--ge-line);
  border-radius: 999px;
  background: #f8fafc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-search:focus-within {
  border-color: var(--ge-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 72, 189, 0.08);
}

.header-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 8px 0 16px;
  border: 0;
  color: var(--ge-ink);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  outline: 0;
  appearance: none;
}

.header-search input::-webkit-search-decoration,
.header-search input::-webkit-search-cancel-button {
  appearance: none;
}

.header-search-submit {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--ge-ink);
  background: transparent;
  cursor: pointer;
}

.header-search-submit svg {
  width: 18px;
  height: 18px;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  min-width: 42px;
  height: 42px;
  color: #07142c;
  font-size: 0.68rem;
  font-weight: 700;
}

.icon-action svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.latest-strip {
  border-bottom: 1px solid var(--ge-line);
  background: #fff;
}

.latest-inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 6px 16px;
  border-radius: 4px;
  color: #fff;
  background: var(--ge-blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.latest-time {
  color: var(--ge-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.latest-title {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ge-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-link svg {
  width: 18px;
  height: 18px;
}

.home-main {
  padding: 30px 0 0;
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: 28px;
}

.hero-card,
.story-card.is-dark {
  position: relative;
  overflow: hidden;
  border-radius: var(--ge-radius);
  color: #fff;
  background: var(--ge-blue-dark);
  box-shadow: var(--ge-shadow);
}

.hero-card > a,
.story-card.is-dark > a,
.focus-card > a {
  display: block;
  min-height: inherit;
  height: 100%;
}

.hero-card {
  min-height: 560px;
}

.hero-card::after,
.story-card.is-dark::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 13, 34, 0.03) 20%, rgba(3, 13, 34, 0.72) 70%, rgba(3, 13, 34, 0.94));
}

.story-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.fallback-image {
  width: 100%;
  min-height: inherit;
  background:
    radial-gradient(circle at 25% 20%, rgba(22, 200, 229, 0.7), transparent 30%),
    linear-gradient(135deg, #164b9e, #0b2b61 45%, #071832);
}

.fallback-image.is-energy {
  background:
    radial-gradient(circle at 20% 20%, rgba(116, 206, 90, 0.8), transparent 28%),
    linear-gradient(135deg, #5d9f3b, #0b5c7b 50%, #053758);
}

.fallback-image.is-economy {
  background:
    radial-gradient(circle at 76% 22%, rgba(22, 200, 229, 0.6), transparent 26%),
    linear-gradient(135deg, #d7dce6, #55708e 52%, #162d4d);
}

.fallback-image.is-culture {
  background:
    radial-gradient(circle at 50% 38%, rgba(243, 170, 105, 0.6), transparent 28%),
    linear-gradient(135deg, #8f4a36, #332645 52%, #101728);
}

.fallback-image.is-war {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 219, 97, 0.35), transparent 22%),
    linear-gradient(135deg, #37495b, #18212d 52%, #090e16);
}

.card-content {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 28px;
  left: 26px;
}

.category-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
  background: var(--ge-blue);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.headline {
  margin: 0;
  font-family: var(--ge-serif);
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.headline a {
  display: block;
}

.hero-card .headline {
  max-width: 790px;
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  line-height: 1.03;
}

.dek {
  max-width: 740px;
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: currentColor;
  font-size: 0.82rem;
  opacity: 0.9;
}

.post-card .meta,
.plain-story .meta,
.opinion-card .meta {
  margin-top: 8px;
  font-size: 0.76rem;
}

.meta .dot::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.side-list {
  display: grid;
  gap: 10px;
}

.side-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--ge-radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ge-line);
}

.side-story-content {
  min-width: 0;
  padding: 22px 18px 18px 22px;
}

.side-story .headline {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.side-story .category-chip {
  margin-bottom: 9px;
}

.side-story .meta,
.post-card .meta,
.opinion-card .meta,
.plain-story .meta {
  color: var(--ge-muted);
  opacity: 1;
}

.side-story-media {
  min-height: 180px;
}

.side-story-media img,
.side-story-media .fallback-image,
.post-thumb img,
.post-thumb .fallback-image,
.plain-thumb img,
.plain-thumb .fallback-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.section {
  margin-top: 44px;
}

.section-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-family: var(--ge-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.section-rule {
  height: 1px;
  background: var(--ge-line);
}

.accent-rule {
  position: relative;
}

.accent-rule::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 64px;
  height: 4px;
  content: "";
  background: var(--ge-blue);
}

.post-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  min-width: 0;
  overflow: hidden;
}

.post-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ge-radius);
  background: var(--ge-soft);
}

.post-card .category-chip,
.plain-story .category-chip {
  margin: 12px 0 7px;
  color: var(--ge-blue);
  background: transparent;
  padding: 0;
}

.post-card .headline {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card .category-chip {
  font-size: 0.66rem;
}

.europe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.story-card.is-dark {
  min-height: 300px;
}

.story-card.is-dark .headline {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.25rem, 1.85vw, 1.62rem);
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.focus-band {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  border-radius: var(--ge-radius);
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(22, 200, 229, 0.42), transparent 22%),
    linear-gradient(135deg, #002876, #004fbd 62%, #052d70);
}

.focus-intro {
  align-self: center;
}

.focus-intro .category-chip {
  background: rgba(255, 255, 255, 0.14);
}

.focus-intro h2 {
  margin: 0;
  font-family: var(--ge-serif);
  font-size: 1.9rem;
  line-height: 1;
}

.focus-intro p {
  max-width: 320px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  color: var(--ge-blue);
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.button svg {
  flex: 0 0 auto;
}

.focus-card {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border-radius: var(--ge-radius);
  background: rgba(255, 255, 255, 0.08);
}

.focus-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(2, 13, 34, 0.82));
}

.focus-card .headline {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.opinions-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.opinion-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  min-height: 156px;
  padding: 16px;
  border: 1px solid #edf1f6;
  border-radius: var(--ge-radius);
  background: #fff;
}

.avatar {
  width: 86px;
  height: 110px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(135deg, #e7ecf4, #8ba0bc);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author {
  color: var(--ge-blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.role {
  color: var(--ge-muted);
  font-size: 0.77rem;
}

.opinion-card .headline {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.opinion-card .author,
.opinion-card .role {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newsletter {
  display: grid;
  grid-template-columns: auto 1fr minmax(320px, 620px);
  align-items: center;
  gap: 32px;
  padding: 32px 56px;
  border-radius: var(--ge-radius);
  color: #fff;
  background: linear-gradient(100deg, #0038ad, #006fda 55%, #16c8e5);
}

.newsletter-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.newsletter-icon svg {
  width: 45px;
  height: 45px;
}

.newsletter h2 {
  margin: 0;
  font-family: var(--ge-serif);
  font-size: 1.9rem;
}

.newsletter p {
  margin: 4px 0 0;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.newsletter input {
  min-width: 0;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  color: var(--ge-ink);
  font: inherit;
  outline: 0;
}

.newsletter button {
  min-width: 138px;
  border: 0;
  color: #fff;
  background: #061344;
  font-weight: 850;
  cursor: pointer;
}

.plain-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.plain-story {
  border-right: 1px solid var(--ge-line);
  padding-right: 22px;
}

.plain-story:last-child {
  border-right: 0;
}

.plain-thumb {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--ge-radius);
  background: var(--ge-soft);
}

.plain-story .headline {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.04rem;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.site-footer {
  margin-top: 52px;
  padding: 40px 0 46px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 50%, rgba(22, 200, 229, 0.16), transparent 18%),
    linear-gradient(110deg, #001238, #001e56);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 46px;
}

.footer-logo {
  color: #fff;
  font-size: 1.65rem;
}

.footer-logo::after {
  width: 44px;
  height: 44px;
}

.footer-logo.has-footer-image::after {
  display: none;
}

.footer-logo-image {
  width: auto;
  max-width: 260px;
  max-height: 86px;
  object-fit: contain;
}

.copyright {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: 0.82rem;
}

.footer-column a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.content-area {
  width: min(100% - 40px, 980px);
  margin: 48px auto;
}

.article-page .headline {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
}

.article-content {
  margin-top: 32px;
  font-family: var(--ge-serif);
  font-size: 1.25rem;
  line-height: 1.72;
}

.article-content a {
  color: var(--ge-blue);
  text-decoration: underline;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-categories a {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 3px;
  color: #fff;
  background: var(--ge-blue);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.article-page .meta a,
.post-card .meta a {
  color: var(--ge-blue);
  font-weight: 800;
}

.author-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--ge-line);
  border-radius: var(--ge-radius);
  background: var(--ge-soft);
}

.author-box-avatar {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  background: #d9e0eb;
}

.author-box-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box span {
  color: var(--ge-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.author-box h2 {
  margin: 4px 0 8px;
  font-family: var(--ge-serif);
  font-size: 1.8rem;
  line-height: 1.05;
}

.author-box p {
  margin: 0 0 14px;
  color: var(--ge-muted);
}

.single-scroll-article + .single-scroll-article {
  margin-top: 70px;
  padding-top: 58px;
  border-top: 1px solid var(--ge-line);
}

.single-scroll-status {
  display: grid;
  place-items: center;
  min-height: 68px;
  margin-top: 34px;
  color: var(--ge-muted);
  font-weight: 800;
}

.ad-slot {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 92px;
  margin: 34px 0;
  padding: 12px;
  border: 1px dashed #bdc8d8;
  border-radius: var(--ge-radius);
  background: #f8fafc;
  color: var(--ge-muted);
  text-align: center;
}

.ad-slot > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot-content {
  display: grid;
  place-items: center;
  width: min(100%, 970px);
  min-height: 90px;
}

.ad-slot-home-mid,
.ad-slot-post-after-content {
  min-height: 250px;
}

.ad-slot-post-middle {
  width: min(100%, 360px);
  min-height: 250px;
  margin-inline: auto;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
}

.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ge-line);
  border-radius: 4px;
  color: var(--ge-blue);
  font-weight: 800;
}

.page-numbers.current {
  color: #fff;
  background: var(--ge-blue);
  border-color: var(--ge-blue);
}

.search-form {
  margin-top: 28px;
}

.search-form > div:last-child {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.search-form input {
  min-width: 0;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  color: var(--ge-ink);
  font: inherit;
}

.search-form button {
  min-width: 126px;
  border: 0;
  color: #fff;
  background: #061344;
  font-weight: 850;
  cursor: pointer;
}

.infinite-status {
  display: grid;
  place-items: center;
  min-height: 56px;
  margin-top: 28px;
  color: var(--ge-muted);
  font-weight: 800;
}

@media (max-width: 1160px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-branding {
    min-width: 0;
  }

  .main-navigation {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 16px;
  }

  .primary-menu {
    justify-content: flex-start;
    min-width: max-content;
  }

  .top-grid,
  .focus-band {
    grid-template-columns: 1fr;
  }

  .post-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .europe-grid,
  .opinions-row,
  .plain-row,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-band {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 1220px);
  }

  .header-inner {
    min-height: 86px;
    gap: 16px;
  }

  .text-logo {
    font-size: 1.35rem;
  }

  .text-logo::after {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-search {
    width: min(46vw, 210px);
  }

  .header-search input {
    height: 36px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .icon-action {
    min-width: 34px;
    font-size: 0;
  }

  .icon-action svg {
    width: 22px;
    height: 22px;
  }

  .latest-inner {
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    min-height: 62px;
  }

  .latest-inner .section-link {
    display: none;
  }

  .top-grid,
  .side-story,
  .post-row,
  .europe-grid,
  .opinions-row,
  .plain-row,
  .newsletter,
  .archive-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

  .hero-card .headline {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .card-content {
    right: 18px;
    bottom: 22px;
    left: 18px;
  }

  .side-story-media {
    order: -1;
    min-height: 170px;
  }

  .section-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .section-rule {
    display: none;
  }

  .story-card.is-dark {
    min-height: 270px;
  }

  .newsletter {
    gap: 18px;
    padding: 26px 22px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
    background: transparent;
    gap: 10px;
  }

  .newsletter input,
  .newsletter button,
  .search-form input,
  .search-form button {
    border-radius: 6px;
  }

  .search-form > div:last-child {
    grid-template-columns: 1fr;
    gap: 10px;
    background: transparent;
  }

  .plain-story {
    border-right: 0;
    padding-right: 0;
  }

  .author-box {
    grid-template-columns: 1fr;
  }
}
