/* Wasserfälle in Island: scoped editorial ranking layout for article content only. */
.page-wasserfaelle-island .page-primary,
.page-wasserfaelle-island .page-content-column,
.page-wasserfaelle-island .rich-text {
  min-width: 0;
}

.page-wasserfaelle-island .page-primary > .page-intro,
.page-wasserfaelle-island .text-card:has(> .rich-text > .ifg-wasserfaelle-island) > h2 {
  display: none;
}

.page-wasserfaelle-island .page-primary::before {
  display: none;
}

.page-wasserfaelle-island .rich-text:has(> .ifg-wasserfaelle-island) {
  max-width: none;
}

.ifg-article.ifg-wasserfaelle-island {
  --ifg-water-ink: #18242d;
  --ifg-water-heading: #10202a;
  --ifg-water-muted: #53616b;
  --ifg-water-soft: #f5f8f7;
  --ifg-water-snow: #fffdf8;
  --ifg-water-ice: #e9f1f2;
  --ifg-water-blue: #2f6674;
  --ifg-water-blue-dark: #1b4654;
  --ifg-water-slate: #72808b;
  --ifg-water-moss: #6c7d62;
  --ifg-water-sand: #d6c3a4;
  --ifg-water-line: rgba(25, 39, 49, 0.14);
  --ifg-water-line-strong: rgba(25, 39, 49, 0.24);
  --ifg-water-shadow: 0 18px 42px rgba(18, 33, 43, 0.1);
  --ifg-water-width: 100%;
  --ifg-water-text-width: 72ch;

  width: 100%;
  max-width: 100%;
  gap: clamp(34px, 5vw, 64px);
  color: var(--ifg-water-ink);
  font-size: clamp(1rem, 1.05vw, 1.075rem);
  line-height: 1.78;
}

.ifg-wasserfaelle-island,
.ifg-wasserfaelle-island * {
  box-sizing: border-box;
}

.ifg-wasserfaelle-island > header,
.ifg-wasserfaelle-island > aside,
.ifg-wasserfaelle-island > section,
.ifg-wasserfaelle-island > footer {
  width: var(--ifg-water-width);
  max-width: 100%;
}

.ifg-wasserfaelle-island .ifg-article-header {
  position: relative;
  min-height: clamp(320px, 32vw, 440px);
  align-content: end;
  gap: clamp(10px, 1.6vw, 15px);
  overflow: hidden;
  padding: clamp(24px, 4.2vw, 44px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(9, 22, 30, 0.88) 0%, rgba(9, 22, 30, 0.62) 39%, rgba(9, 22, 30, 0.16) 78%),
    linear-gradient(180deg, rgba(9, 22, 30, 0.06) 0%, rgba(9, 22, 30, 0.78) 100%),
    url("/assets/images/wasserfaelle-island/wasserfaelle-island-hero.jpg") center / cover no-repeat;
  box-shadow: 0 24px 56px rgba(18, 33, 43, 0.18);
}

.ifg-wasserfaelle-island .ifg-article-header::after {
  content: "";
  position: absolute;
  inset: auto clamp(28px, 5vw, 58px) clamp(24px, 4.5vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.1));
  pointer-events: none;
}

.ifg-wasserfaelle-island .ifg-kicker {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ifg-wasserfaelle-island h1,
.ifg-wasserfaelle-island h2,
.ifg-wasserfaelle-island h3 {
  letter-spacing: 0;
}

.ifg-wasserfaelle-island h1 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 3.85vw, 3.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.ifg-wasserfaelle-island .ifg-lead {
  position: relative;
  z-index: 1;
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.66;
}

.ifg-wasserfaelle-island .ifg-feature-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: calc(clamp(34px, 5vw, 64px) * -1.12);
  padding: 0 clamp(18px, 3vw, 30px);
  border: 0;
  background: transparent;
}

.ifg-wasserfaelle-island .ifg-feature-strip p {
  display: grid;
  gap: 3px;
  min-height: 82px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--ifg-water-line);
  border-left: 0;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 32px rgba(18, 33, 43, 0.08);
}

.ifg-wasserfaelle-island .ifg-feature-strip p:first-child {
  border-left: 1px solid var(--ifg-water-line);
  border-radius: 8px 0 0 8px;
}

.ifg-wasserfaelle-island .ifg-feature-strip p:last-child {
  border-radius: 0 8px 8px 0;
}

.ifg-wasserfaelle-island .ifg-feature-strip strong {
  color: var(--ifg-water-blue-dark);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
}

.ifg-wasserfaelle-island .ifg-feature-strip span {
  color: var(--ifg-water-muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.ifg-wasserfaelle-island > section {
  display: grid;
  gap: 18px;
  max-width: var(--ifg-water-text-width);
  padding-top: clamp(28px, 4.5vw, 52px);
  border-top: 1px solid var(--ifg-water-line);
}

.ifg-wasserfaelle-island > section:first-of-type {
  padding-top: clamp(30px, 4.6vw, 54px);
  border-top: 0;
}

.ifg-wasserfaelle-island h2 {
  max-width: 21ch;
  margin: 0;
  color: var(--ifg-water-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.72rem, 2.8vw, 2.45rem);
  font-weight: 500;
  line-height: 1.12;
}

.ifg-wasserfaelle-island h3 {
  margin: 0;
  color: var(--ifg-water-blue-dark);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 850;
  line-height: 1.32;
}

.ifg-wasserfaelle-island p,
.ifg-wasserfaelle-island li,
.ifg-wasserfaelle-island td {
  color: var(--ifg-water-muted);
}

.ifg-wasserfaelle-island p {
  max-width: var(--ifg-water-text-width);
}

.ifg-wasserfaelle-island p + p {
  margin-top: 2px;
}

.ifg-wasserfaelle-island .ifg-intro-section {
  position: relative;
  padding-left: clamp(20px, 3vw, 34px);
}

.ifg-wasserfaelle-island .ifg-intro-section::before {
  content: "";
  position: absolute;
  top: clamp(32px, 4.8vw, 56px);
  bottom: 2px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ifg-water-blue), var(--ifg-water-sand));
}

.ifg-wasserfaelle-island .ifg-intro-section p:first-of-type::first-letter {
  float: left;
  padding: 0.05em 0.12em 0 0;
  color: var(--ifg-water-blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 0.78;
}

.ifg-wasserfaelle-island .ifg-overview-section,
.ifg-wasserfaelle-island .ifg-route-section,
.ifg-wasserfaelle-island .ifg-tips-section,
.ifg-wasserfaelle-island .ifg-article-footer {
  max-width: 100%;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--ifg-water-line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 248, 247, 0.98), rgba(255, 253, 248, 0.98));
  box-shadow: 0 16px 34px rgba(18, 33, 43, 0.06);
}

.ifg-wasserfaelle-island .ifg-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ifg-water-line);
  border-radius: 8px;
  background: var(--ifg-water-snow);
  -webkit-overflow-scrolling: touch;
}

.ifg-wasserfaelle-island .ifg-overview-table {
  display: table;
  width: 100%;
  min-width: 700px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  border-spacing: 0;
  border-collapse: collapse;
  background: transparent;
  box-shadow: none;
}

.ifg-wasserfaelle-island .ifg-overview-table caption {
  display: table-caption;
  min-width: 0;
  padding: 17px 20px;
  border-bottom: 1px solid var(--ifg-water-line);
  color: var(--ifg-water-blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  background: #f7faf9;
}

.ifg-wasserfaelle-island .ifg-overview-table thead,
.ifg-wasserfaelle-island .ifg-overview-table tbody {
  display: table-row-group;
  min-width: 0;
}

.ifg-wasserfaelle-island .ifg-overview-table thead {
  display: table-header-group;
}

.ifg-wasserfaelle-island .ifg-overview-table tr {
  display: table-row;
}

.ifg-wasserfaelle-island .ifg-overview-table th,
.ifg-wasserfaelle-island .ifg-overview-table td {
  display: table-cell;
  padding: 14px 18px;
  border-top: 1px solid rgba(25, 39, 49, 0.1);
  vertical-align: top;
  text-align: left;
}

.ifg-wasserfaelle-island .ifg-overview-table thead th {
  border-top: 0;
  color: #17313c;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ifg-water-ice);
}

.ifg-wasserfaelle-island .ifg-overview-table tbody td:first-child {
  color: var(--ifg-water-heading);
  font-weight: 850;
}

.ifg-wasserfaelle-island .ifg-overview-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 247, 0.66);
}

.ifg-wasserfaelle-island .ifg-rank-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(74px, 0.18fr) minmax(210px, 0.68fr) minmax(0, 1.34fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  max-width: 100%;
  padding: clamp(30px, 5vw, 54px) 0;
  border-top: 1px solid var(--ifg-water-line);
}

.ifg-wasserfaelle-island .ifg-rank-section::before {
  content: attr(data-rank);
  color: rgba(47, 102, 116, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
}

.ifg-wasserfaelle-island .ifg-rank-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(47, 102, 116, 0.12), rgba(214, 195, 164, 0.2)),
    linear-gradient(180deg, #e8f0f0, #f7f4ec);
  box-shadow: 0 16px 30px rgba(18, 33, 43, 0.08);
}

.ifg-wasserfaelle-island .ifg-rank-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.ifg-wasserfaelle-island .ifg-rank-media--empty {
  min-height: clamp(150px, 18vw, 210px);
  box-shadow: inset 0 0 0 1px rgba(25, 39, 49, 0.08);
}

.ifg-wasserfaelle-island .ifg-rank-media--empty::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(140deg, rgba(23, 49, 60, 0.18), transparent 52%),
    radial-gradient(circle at 78% 22%, rgba(255, 253, 248, 0.74), transparent 18%),
    linear-gradient(180deg, rgba(47, 102, 116, 0.16), rgba(108, 125, 98, 0.13));
}

.ifg-wasserfaelle-island .ifg-rank-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ifg-wasserfaelle-island .ifg-rank-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.35vw, 2.08rem);
}

.ifg-wasserfaelle-island .ifg-rank-copy p {
  max-width: 64ch;
}

.ifg-wasserfaelle-island .ifg-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ifg-wasserfaelle-island .ifg-route-card {
  display: grid;
  gap: 9px;
  padding: 18px 18px 19px;
  border: 1px solid rgba(25, 39, 49, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
}

.ifg-wasserfaelle-island .ifg-route-card h3 {
  color: var(--ifg-water-heading);
}

.ifg-wasserfaelle-island .ifg-route-card p {
  font-size: 0.98rem;
  line-height: 1.66;
}

.ifg-wasserfaelle-island .ifg-tips-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 100%;
  margin: 2px 0 0;
  overflow: hidden;
  border: 1px solid var(--ifg-water-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
}

.ifg-wasserfaelle-island .ifg-tips-section li {
  min-height: 86px;
  padding: 17px 18px 17px 48px;
  border-top: 1px solid rgba(25, 39, 49, 0.09);
  line-height: 1.6;
}

.ifg-wasserfaelle-island .ifg-tips-section li:nth-child(-n + 2) {
  border-top: 0;
}

.ifg-wasserfaelle-island .ifg-tips-section li:nth-child(odd) {
  border-right: 1px solid rgba(25, 39, 49, 0.09);
}

.ifg-wasserfaelle-island .ifg-tips-section li::before {
  top: 1.45em;
  left: 19px;
  width: 14px;
  height: 8px;
  border: 2px solid var(--ifg-water-blue);
  border-top: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
}

.ifg-wasserfaelle-island .ifg-article-footer {
  display: grid;
  gap: 16px;
  border-left: 5px solid var(--ifg-water-slate);
  background:
    linear-gradient(135deg, rgba(233, 241, 242, 0.98), rgba(255, 253, 248, 0.98) 62%, rgba(247, 244, 238, 0.94));
}

.ifg-wasserfaelle-island .ifg-article-footer h2 {
  max-width: 26ch;
}

.ifg-wasserfaelle-island .ifg-article-footer p {
  color: #394a55;
}

@media (max-width: 980px) {
  .ifg-wasserfaelle-island .ifg-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p:nth-child(2) {
    border-radius: 0 8px 0 0;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p:nth-child(3) {
    border-left: 1px solid var(--ifg-water-line);
    border-radius: 0 0 0 8px;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p:last-child {
    border-radius: 0 0 8px 0;
  }

  .ifg-wasserfaelle-island .ifg-rank-section {
    grid-template-columns: minmax(64px, 0.2fr) minmax(0, 1fr);
  }

  .ifg-wasserfaelle-island .ifg-rank-media {
    grid-column: 2;
    max-width: 390px;
  }

  .ifg-wasserfaelle-island .ifg-rank-copy {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .ifg-article.ifg-wasserfaelle-island {
    gap: 30px;
    font-size: 1rem;
  }

  .ifg-wasserfaelle-island .ifg-article-header {
    min-height: clamp(300px, 58vw, 380px);
    padding: 20px 16px;
    background-position: 58% center;
  }

  .ifg-wasserfaelle-island h1 {
    max-width: 11ch;
    font-size: clamp(1.78rem, 7vw, 2.35rem);
    line-height: 1.02;
  }

  .ifg-wasserfaelle-island .ifg-lead {
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip {
    grid-template-columns: 1fr;
    margin-top: -38px;
    padding: 0 14px;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p,
  .ifg-wasserfaelle-island .ifg-feature-strip p:first-child,
  .ifg-wasserfaelle-island .ifg-feature-strip p:nth-child(2),
  .ifg-wasserfaelle-island .ifg-feature-strip p:nth-child(3),
  .ifg-wasserfaelle-island .ifg-feature-strip p:last-child {
    min-height: 0;
    border: 1px solid var(--ifg-water-line);
    border-top: 0;
    border-radius: 0;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p:first-child {
    border-top: 1px solid var(--ifg-water-line);
    border-radius: 8px 8px 0 0;
  }

  .ifg-wasserfaelle-island .ifg-feature-strip p:last-child {
    border-radius: 0 0 8px 8px;
  }

  .ifg-wasserfaelle-island .ifg-intro-section {
    padding-left: 18px;
  }

  .ifg-wasserfaelle-island .ifg-overview-section,
  .ifg-wasserfaelle-island .ifg-route-section,
  .ifg-wasserfaelle-island .ifg-tips-section,
  .ifg-wasserfaelle-island .ifg-article-footer {
    padding: 18px 14px;
  }

  .ifg-wasserfaelle-island .ifg-rank-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .ifg-wasserfaelle-island .ifg-rank-section::before {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .ifg-wasserfaelle-island .ifg-rank-media,
  .ifg-wasserfaelle-island .ifg-rank-copy {
    grid-column: auto;
  }

  .ifg-wasserfaelle-island .ifg-rank-media {
    max-width: none;
  }

  .ifg-wasserfaelle-island .ifg-route-grid,
  .ifg-wasserfaelle-island .ifg-tips-section ul {
    grid-template-columns: 1fr;
  }

  .ifg-wasserfaelle-island .ifg-tips-section li,
  .ifg-wasserfaelle-island .ifg-tips-section li:nth-child(-n + 2),
  .ifg-wasserfaelle-island .ifg-tips-section li:nth-child(odd) {
    min-height: 0;
    border-top: 1px solid rgba(25, 39, 49, 0.09);
    border-right: 0;
  }

  .ifg-wasserfaelle-island .ifg-tips-section li:first-child {
    border-top: 0;
  }
}

@media (max-width: 480px) {
  .ifg-wasserfaelle-island .ifg-article-header {
    min-height: 330px;
  }

  .ifg-wasserfaelle-island h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
  }

  .ifg-wasserfaelle-island h2 {
    font-size: clamp(1.45rem, 7vw, 1.88rem);
  }

  .ifg-wasserfaelle-island .ifg-overview-table {
    min-width: 620px;
  }
}
