/* Full-width green news panel; the blue panel is an independent view only. */
.opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  min-height: 0;
  padding-bottom: 40px;
}
.hero {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  min-height: 8cm;
}
.hero-copy { padding: 16px 22px; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.hero-topline .eyebrow { margin: 0; line-height: 1.6; }
.language-switch { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 8px 14px; border: 1px solid #b8cbd1; border-radius: 3px; color: #fff; font-size: 15px; line-height: 1.5; }
.language-switch:hover { background: #25475b; text-decoration: none; }
.hero h1 { font-size: clamp(24px, 2.5vw, 28px); line-height: 1.2; }
html[lang=ar] .hero h1 { line-height: 1.35; }
.hero-description { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.primary-link { margin-top: 12px; min-height: 44px; padding: 10px 16px; font-size: 14px; }
.hero-image { height: auto; min-height: 100%; }
.hero-image img { position: absolute; inset: 0; }
.hero-image span { inset-inline: 20px; bottom: 20px; font-size: 14px; line-height: 1.6; }
.news-card {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  min-height: 10cm;
  background: #eaf5e8;
  border-color: #c4d9bd;
  border-top-color: #86a976;
  overflow: hidden;
}
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; border-bottom: 1px solid #c4d9bd; background: #e2f0de; }
.card-header h2 { font-size: 23px; line-height: 1.4; }
.news-card .category { display: none; }
.card-kicker { display: block; font-size: 12px; margin-top: 3px; }
.story-position { display: inline-block; font-size: 13px; direction: ltr; color: var(--green); }
.news-card .summary { display: block; font-size: 17px; line-height: 1.8; margin-top: 12px; max-width: 110ch; color: #294535; }
.news-card .read-link { display: inline-block; font-size: 14px; margin-top: 8px; padding-block: 4px; }
.news-header-actions { display: flex; align-items: center; gap: 16px; }
.news-language-switch { display: inline-flex; color: var(--green); background: #fff; font-size: 13px; padding: 5px 12px; }
.news-language-switch:hover { background: #e6efeb; }
.story { padding: 20px 28px; }
.story h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; }
.meta { border: 0; margin-top: 12px; padding-top: 0; font-size: 13px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; border-top: 1px solid #c4d9bd; margin: 0; background: #e2f0de; max-width: none; }
.rotation-label { font-size: 13px; margin: 0; text-align: start; line-height: 1.4; }
.note { font-size: 11px; margin-top: 3px; text-align: start; line-height: 1.4; }
.news-controls { flex-wrap: nowrap; flex-shrink: 0; max-width: none; gap: 6px; }
.news-controls button { min-width: 44px; min-height: 44px; }
.news-controls #pause { order: 0; flex: 1; min-width: 116px; font-size: 13px; white-space: normal; }
.story.enter { animation: news-slide .7s ease-out; }
@keyframes news-slide { from { opacity: .25; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
html[dir=rtl] .story.enter { animation-name: news-slide-rtl; }
@keyframes news-slide-rtl { from { opacity: .25; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
html[data-embed=true] .opening { gap: 24px; padding: 0; }
html[data-embed=true] main, html[data-view=news] main, html[data-view=intro] main { max-width: none; width: 100%; }
html[data-view=news] .hero, html[data-view=news] .page-only,
html[data-view=intro] .news-card, html[data-view=intro] .page-only { display: none; }
html[data-view=news] .opening, html[data-view=intro] .opening { grid-template-rows: auto; padding: 0; gap: 0; }
html[data-view=intro] .hero { grid-row: 1; }
@media (max-width: 800px) {
  .opening { display: grid; gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 24px; }
  .hero-image { min-height: 0; height: 145px; }
  .hero h1 { font-size: 34px; }
  .news-card { grid-template-columns: minmax(0, 1fr); }
  .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-inline-end: 0; border-bottom: 1px solid #c4d9bd; }
  .story { padding: 12px 16px; }
  .story h3 { font-size: 22px; }
  .news-card .summary { font-size: 16px; }
  .card-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 16px; max-width: none; border-inline-start: 0; border-top: 1px solid #c4d9bd; }
  .card-bottom > div { flex: 1 1 180px; }
  .news-controls { margin-inline-start: auto; }
}
@media (max-width: 400px) {
  .hero-copy { padding: 22px 18px; }
  .hero-topline { gap: 10px; align-items: flex-start; }
  .hero-topline .eyebrow { font-size: 13px; }
  .language-switch { padding-inline: 12px; font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .hero-image span { font-size: 13px; }
  .news-controls { width: 100%; }
  .news-controls #pause { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .story.enter, html[dir=rtl] .story.enter { animation: none; } }

/* Match the approved introduction, section and subheading scale. */
.hero h1{font-size:36px}
.card-header h2,.section-title h2,.about h2,.contact h2{font-size:32px}
.story h3,.service-grid h3{font-size:28px}
.card-header>div:first-child{min-width:0}
@media(max-width:767px){
  .hero h1{font-size:30px}
  .card-header h2,.section-title h2,.about h2,.contact h2{font-size:30px}
  .card-header{flex-wrap:wrap}
}
