:root {
  --romni-green: #477A2E;
  --romni-deep-green: #246720;
  --romni-yellow: #F3C24C;
  --romni-blue: #123657;
  --romni-ink: #102218;
  --romni-paper: #fff8e3;
  --romni-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--romni-green);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--romni-green);
  color: var(--romni-paper);
  line-height: 1.6;
  isolation: isolate;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(243, 194, 76, .12), transparent 38%),
    linear-gradient(315deg, rgba(18, 54, 87, .22), transparent 45%);
  pointer-events: none;
}

body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(243, 194, 76, .18) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .12) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(243, 194, 76, .08), transparent);
  background-size: 42px 42px, 54px 54px, 100% 100%;
  opacity: .45;
  pointer-events: none;
}

a {
  color: inherit;
}

main {
  position: relative;
  z-index: 1;
  min-height: 62vh;
}

.container {
  width: min(1300px, calc(100% - 32px));
}

.romni-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(36, 103, 32, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 24px rgba(16, 34, 24, .18);
}

.romni-nav {
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.romni-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--romni-white);
  text-decoration: none;
  min-width: max-content;
}

.romni-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.romni-brand-text {
  color: var(--romni-white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}

.romni-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.romni-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(16, 34, 24, .16);
  transition: transform .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.romni-menu a:hover,
.romni-menu a:focus {
  transform: translateY(-2px);
  color: var(--romni-white);
  background: var(--romni-blue);
  box-shadow: 0 14px 24px rgba(16, 34, 24, .24);
  outline: none;
}

.rdk-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 80px;
}

.rdk-home {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.rdk-page-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 54px auto 0;
  text-align: center;
}

.rdk-page-heading h1,
.rdk-hero h1,
.rdk-album-page h1,
.rdk-video-page h1 {
  margin: 0 0 18px;
  color: var(--romni-white);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.rdk-hero {
  text-align: center;
  padding: 10px 0 0;
}

.rdk-quote {
  width: min(860px, 100%);
  margin: 0 auto 24px;
  color: var(--romni-yellow);
  font-size: 20px;
  font-weight: 700;
}

.rdk-intro-flow {
  display: grid;
  gap: 24px;
}

.rdk-intro-flow img[alt*="Fut"],
.rdk-intro-flow img[alt*="fut"],
.rdk-intro-flow img[alt*="rózsa"],
.rdk-intro-flow img[alt*="romni logo"],
.rdk-intro-flow img[alt*="Romni logo"] {
  display: none;
}

.rdk-intro-flow > *,
.rdk-section-intro {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--romni-ink);
}

.rdk-intro-flow .rich-text,
.rdk-intro-flow .richtext,
.rdk-intro-flow .richtext-block,
.rdk-section-intro,
.rdk-intro {
  background: var(--romni-paper);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 42px rgba(16, 34, 24, .18);
}

.richtext-block h2 {
  margin: 0 0 14px;
  color: var(--romni-blue);
  font-size: 28px;
  font-weight: 800;
}

.richtext-block p:last-child {
  margin-bottom: 0;
}

.rdk-ornament-separator {
  width: min(760px, 100%);
  height: 54px;
  margin: -8px auto 0;
  display: grid;
  place-items: center;
  position: relative;
}

.rdk-ornament-separator:before,
.rdk-ornament-separator:after {
  content: "";
  height: 2px;
  width: min(42%, 280px);
  position: absolute;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(243, 194, 76, .95), transparent);
}

.rdk-ornament-separator:before {
  right: 50%;
  margin-right: 36px;
}

.rdk-ornament-separator:after {
  left: 50%;
  margin-left: 36px;
}

.rdk-ornament-separator span {
  width: 54px;
  height: 28px;
  display: block;
  border-top: 4px solid var(--romni-yellow);
  border-bottom: 4px solid var(--romni-yellow);
  border-radius: 999px;
  position: relative;
}

.rdk-ornament-separator span:before,
.rdk-ornament-separator span:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--romni-yellow);
}

.rdk-ornament-separator span:before {
  left: 9px;
}

.rdk-ornament-separator span:after {
  right: 9px;
}

.rdk-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rdk-story-card {
  min-height: 220px;
  padding: 26px;
  color: var(--romni-ink);
  background: rgba(255, 248, 227, .92);
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(16, 34, 24, .18);
}

.rdk-story-card:nth-child(2),
.rdk-story-card:nth-child(3) {
  background: rgba(243, 194, 76, .92);
}

.rdk-story-card h2 {
  margin: 0 0 14px;
  color: var(--romni-blue);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.rdk-story-card p:last-child {
  margin-bottom: 0;
}

.rdk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
}

.rdk-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(16, 34, 24, .18);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.rdk-card:hover,
.rdk-card:focus {
  transform: translateY(-3px);
  color: var(--romni-white);
  background: var(--romni-blue);
  box-shadow: 0 24px 44px rgba(16, 34, 24, .25);
  outline: none;
}

.rdk-card-title {
  text-align: center;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.faq-section {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 28px;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(16, 34, 24, .24);
}

.faq-section h2,
.testimonial-section h2 {
  margin: 0 0 18px;
  color: var(--romni-blue);
  font-size: 28px;
  font-weight: 800;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  color: var(--romni-white);
  background: var(--romni-blue);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 800;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.faq-question:hover,
.faq-question:focus {
  color: var(--romni-blue);
  background: var(--romni-white);
  outline: 3px solid rgba(18, 54, 87, .2);
}

.faq-question[aria-expanded="true"] {
  color: var(--romni-white);
  background: var(--romni-deep-green);
}

.faq-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border-radius: 50%;
  font-weight: 800;
  transition: transform .2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 8px;
  padding: 18px 20px;
  color: var(--romni-ink);
  background: var(--romni-paper);
  border-radius: 8px;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.rdk-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rdk-media-card {
  display: block;
  color: var(--romni-white);
  text-decoration: none;
}

.rdk-media-thumb {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  background: var(--romni-blue);
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(16, 34, 24, .22);
}

.rdk-media-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.rdk-media-card:hover img,
.rdk-media-card:focus img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.rdk-media-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(18, 54, 87, .96));
}

.rdk-media-title h3 {
  margin: 0;
  color: var(--romni-white);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.rdk-video-placeholder {
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--romni-yellow);
  background:
    linear-gradient(135deg, rgba(243, 194, 76, .16), transparent),
    var(--romni-blue);
  font-size: 62px;
}

.rdk-empty {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.rdk-section-title {
  margin: 44px 0 18px;
  color: var(--romni-white);
  text-align: center;
  font-size: 34px;
  font-weight: 800;
}

.rdk-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.rdk-list-card {
  min-height: 220px;
  padding: 24px;
  color: var(--romni-ink);
  background: var(--romni-paper);
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(16, 34, 24, .2);
}

.rdk-list-card-muted {
  opacity: .88;
}

.rdk-list-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--romni-blue);
  background: var(--romni-yellow);
  border-radius: 8px;
  font-size: 24px;
}

.rdk-list-card h2,
.rdk-list-card h3 {
  margin: 0 0 10px;
  color: var(--romni-blue);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.rdk-list-card a {
  color: inherit;
  text-decoration: none;
}

.rdk-list-card a:hover,
.rdk-list-card a:focus {
  color: var(--romni-deep-green);
}

.rdk-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--romni-deep-green);
  font-size: 14px;
  font-weight: 800;
}

.rdk-meta span:before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin: 0 8px 2px 0;
  background: var(--romni-yellow);
  border-radius: 50%;
}

.rdk-list-intro p {
  margin-bottom: 0;
}

.rdk-detail-page {
  width: min(920px, calc(100% - 32px));
  color: var(--romni-ink);
}

.rdk-detail-page h1 {
  margin: 0 0 18px;
  color: var(--romni-white);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
}

.rdk-detail-body {
  margin-top: 22px;
  padding: 24px;
  color: var(--romni-ink);
  background: var(--romni-paper);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(16, 34, 24, .18);
}

.rdk-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.watermark-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--romni-blue);
  box-shadow: 0 16px 34px rgba(16, 34, 24, .2);
}

.album-thumb {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition: transform .2s ease;
}

.watermark-container:hover .album-thumb {
  transform: scale(1.04);
}

.watermark-overlay {
  position: absolute;
  inset: 18%;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .28;
  pointer-events: none;
}

.rdk-backlink,
.rdk-backlink a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--romni-yellow);
  font-weight: 800;
  text-decoration: none;
}

.rdk-backlink:hover,
.rdk-backlink a:hover {
  color: var(--romni-white);
}

.rdk-video-page {
  width: min(960px, calc(100% - 32px));
}

.rdk-video-copy,
.rdk-transcript {
  color: var(--romni-ink);
  background: var(--romni-paper);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 42px rgba(16, 34, 24, .18);
}

.rdk-video-copy h1 {
  color: var(--romni-blue);
}

.rdk-date {
  color: var(--romni-deep-green);
  font-weight: 800;
  margin-bottom: 12px;
}

.rdk-video-frame-wrap {
  margin-top: 22px;
}

.rdk-video-frame {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .5);
  background: var(--romni-blue);
  box-shadow: 0 20px 42px rgba(16, 34, 24, .24);
}

.rdk-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rdk-transcript {
  margin-top: 22px;
}

.rdk-transcript h2 {
  margin-top: 0;
  color: var(--romni-blue);
}

.rdk-testimonials-compact {
  width: min(860px, 100%);
  margin: 0 auto;
}

.testimonial-section {
  color: var(--romni-ink);
  background: rgba(255, 248, 227, .84);
  border-radius: 8px;
  padding: 18px;
}

.testimonial-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.testimonial-grid {
  display: grid;
  gap: 10px;
}

.testimonial-item {
  position: relative;
  min-height: 74px;
  padding: 14px 86px 14px 16px;
  background: var(--romni-white);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 34, 24, .1);
}

.testimonial-content h3 {
  margin: 0 0 4px;
  color: var(--romni-blue);
  font-size: 16px;
}

.testimonial-content p {
  margin: 0;
  font-size: 14px;
}

.testimonial-image {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 3px solid var(--romni-yellow);
  border-radius: 50%;
  background: var(--romni-yellow);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rdk-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 48px 20px 22px;
  color: var(--romni-deep-green);
  background: transparent;
}

.rdk-footer-inner {
  width: min(1300px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 30px;
  background: var(--romni-yellow);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(16, 34, 24, .2);
}

.rdk-footer h3,
.rdk-footer h4 {
  margin: 0 0 12px;
  color: var(--romni-deep-green);
  font-weight: 800;
}

.rdk-footer p {
  margin: 0 0 8px;
  color: var(--romni-blue);
  font-size: 14px;
}

.rdk-footer-ai {
  width: fit-content;
  min-height: 44px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--romni-white);
  background: var(--romni-blue);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease;
}

.rdk-footer-ai:hover,
.rdk-footer-ai:focus {
  transform: translateY(-2px);
  color: var(--romni-blue);
  background: var(--romni-white);
  outline: none;
}

.rdk-footer-ai img {
  width: 28px;
  height: 28px;
  display: block;
}

.rdk-footer-bottom {
  margin-top: 18px;
  color: var(--romni-paper);
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {
  .romni-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

  .romni-menu ul {
    justify-content: flex-start;
    gap: 4px 14px;
  }

  .rdk-footer-inner {
    grid-template-columns: 1fr;
  }

  .rdk-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .romni-nav {
    align-items: center;
  }

  .romni-brand-text {
    display: none;
  }

  .romni-brand img {
    width: 64px;
    height: 64px;
  }

  .romni-menu {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .romni-menu ul {
    width: max-content;
    flex-wrap: nowrap;
    margin: 0 auto;
  }

  .romni-menu a {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 11px;
  }

  body:after {
    background-size: 34px 34px, 44px 44px, 100% 100%;
    opacity: .38;
  }

  .rdk-wrap,
  .rdk-page-heading {
    width: min(100% - 24px, 1180px);
  }

  .rdk-grid,
  .rdk-media-grid {
    grid-template-columns: 1fr;
  }

  .faq-section,
  .rdk-video-copy,
  .rdk-transcript,
  .rdk-intro-flow .rich-text,
  .rdk-intro-flow .richtext,
  .rdk-intro-flow .richtext-block,
  .rdk-section-intro,
  .rdk-intro {
    padding: 18px;
  }

  .faq-question {
    padding: 12px 14px;
  }

  .rdk-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rdk-footer-inner {
    padding: 22px;
  }
}
