/* ==========================================================================
   Jarðarfarir - sérstakur stíll fyrir lendingarsíður fyrir beinar
   útsendingar frá útförum. Þessi skrá er hlaðin til viðbótar við
   ../css/style.css og notar sömu litabreytur (litir sóttir úr lógói).
   ========================================================================== */

.funeral-body {
  background: var(--color-bg-alt);
}

.funeral-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.funeral-header .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.funeral-header img {
  height: 34px;
  width: auto;
}

.funeral-header span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.funeral-hero {
  padding: 56px 0 36px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
}

.funeral-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}

.funeral-accent-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 22px;
}

.funeral-accent-bar span {
  display: block;
  width: 30px;
  height: 5px;
  border-radius: 3px;
}

.funeral-accent-bar span:nth-child(1) { background: var(--logo-pink); }
.funeral-accent-bar span:nth-child(2) { background: var(--logo-orange); }
.funeral-accent-bar span:nth-child(3) { background: var(--logo-blue); }
.funeral-accent-bar span:nth-child(4) { background: var(--logo-green); }

.funeral-name {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 12px;
}

.funeral-dates {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}

.funeral-video-section {
  padding: 0 0 48px;
}

.funeral-video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(11, 37, 64, 0.14);
  background: #000;
  aspect-ratio: 16 / 9;
}

.funeral-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.funeral-info {
  padding: 0 0 64px;
}

.funeral-info-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.funeral-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.funeral-contact-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.funeral-contact-title {
  font-weight: 700;
  color: #a2a6ab;
  font-size: 0.82rem;
  margin: 0 0 4px;
}

.funeral-contact p {
  margin: 0 0 2px;
  font-size: 0.82rem;
  color: #a2a6ab;
}

.funeral-contact a {
  color: #a2a6ab;
  text-decoration: none;
}

.funeral-contact-site {
  font-size: 0.75rem;
  margin-top: 4px;
}

.funeral-download a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.funeral-download a:hover,
.funeral-download a:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
}

.funeral-pdf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #d93025;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.funeral-footer {
  text-align: center;
  padding: 0 0 40px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .funeral-info-grid {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .funeral-download {
    width: 100%;
    order: -1;
  }
  .funeral-download a {
    justify-content: center;
  }
}
