/* ========================================================================== 
   NEWS-SEITE – SEITENSPEZIFISCHE ERGÄNZUNGEN
   Diese Datei nach assets-v2/css/pattayafans.css einbinden.
   ========================================================================== */

.pf-news-shell.container {
  max-width: var(--pf-page-width, 1320px);
  padding-top: 26px;
  padding-bottom: 72px;
  background: transparent;
}

.pf-news-page {
  color: var(--pf-text, #334654);
  background: transparent !important;
}

.pf-news-hero,
.pf-news-tools,
.pf-news-section {
  margin-bottom: 28px;
  border: 1px solid var(--pf-border-soft, #e1d8cc);
  border-radius: 12px;
}

/* Seitenkopf */
.pf-news-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 54px 38px;
  background: #fff;
}

.pf-news-hero::before,
.pf-news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg, #2f465a 0 72%, #c28a28 72% 100%);
}

.pf-news-hero h1 {
  max-width: 900px;
  margin: 9px 0 18px;
  color: var(--pf-heading, #253543);
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: clamp(45px, 5vw, 66px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.028em;
}

.pf-news-hero > p {
  max-width: 900px;
  margin: 0;
  color: #536674;
  font-size: 18px;
  line-height: 1.75;
}

.pf-news-hero .pf-article-meta {
  margin-top: 28px;
  margin-bottom: 0;
}

.pf-news-yearnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pf-news-yearnav a {
  min-width: 68px;
  padding: 8px 15px;
  border: 1px solid #ded5c8;
  border-radius: 999px;
  background: #faf8f4;
  color: #344b5a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.pf-news-yearnav a:hover {
  border-color: #c28a28;
  color: #9a6818;
}

/* Reiseplanung */
.pf-news-tools {
  padding: 32px 36px 26px;
  background: #2f465a;
  color: rgba(255, 255, 255, 0.78);
}

.pf-news-tools .pf-eyebrow {
  color: #d9b872;
}

.pf-news-tools h2 {
  margin: 5px 0 0;
  color: #fff;
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: 32px;
  line-height: 1.08;
}

.pf-news-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.pf-news-tools-grid > a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pf-news-tools-grid > a:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 184, 114, 0.7);
  background: rgba(255, 255, 255, 0.11);
}

.pf-news-tool-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #d9b872;
  border-radius: 50%;
  color: #e4c983;
  font-size: 11px;
  font-weight: 800;
}

.pf-news-tools-grid strong,
.pf-news-tools-grid small {
  display: block;
}

.pf-news-tools-grid strong {
  color: #fff;
  font-size: 14px;
}

.pf-news-tools-grid small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.4;
}

.pf-news-affiliate-note {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.5;
}

/* Jahresbereiche */
.pf-news-section {
  position: relative;
  scroll-margin-top: 24px;
  padding: 42px;
  background: #fff;
}

.pf-news-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
  padding-bottom: 19px;
  border-bottom: 1px solid #ddd4c8;
}

.pf-news-section-head h2 {
  margin: 5px 0 0;
  color: var(--pf-heading, #253543);
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: 39px;
  line-height: 1.05;
}

.pf-news-section-head > p {
  max-width: 440px;
  margin: 0;
  color: #6c7c87;
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

/* Neuester Bericht */
.pf-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #ded5c8;
  border-radius: 10px;
  background: #f8f5ef;
}

.pf-news-feature-image {
  display: block;
  min-height: 390px;
  background: #eee9e1;
}

.pf-news-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.pf-news-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.pf-news-feature-copy .pf-news-date {
  margin-top: 13px;
}

.pf-news-feature-copy h2 {
  margin: 8px 0 14px;
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: 38px;
  line-height: 1.05;
}

.pf-news-feature-copy h2 a,
.pf-news-card h3 a,
.pf-news-archive-card h3 a {
  color: var(--pf-heading, #253543);
  text-decoration: none;
}

.pf-news-feature-copy h2 a:hover,
.pf-news-card h3 a:hover,
.pf-news-archive-card h3 a:hover {
  color: #9a6818;
}

.pf-news-feature-copy p {
  margin: 0 0 22px;
  color: #526673;
  font-size: 15px;
  line-height: 1.75;
}

.pf-news-feature-copy .cta-btn {
  align-self: flex-start;
}

/* Bildkarten */
.pf-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pf-news-grid--compact {
  margin-bottom: 25px;
}

.pf-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1d8cc;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(31, 47, 59, 0.055);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pf-news-card:hover {
  transform: translateY(-3px);
  border-color: #cfb578;
  box-shadow: 0 15px 34px rgba(31, 47, 59, 0.1);
}

.pf-news-card-image {
  display: block;
  overflow: hidden;
  background: #f3f0ea;
}

.pf-news-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.pf-news-card:hover .pf-news-card-image img {
  transform: scale(1.02);
}

.pf-news-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 23px;
}

.pf-news-date {
  color: #8a6b36;
  font-size: 11px;
  line-height: 1.4;
}

.pf-news-card h3 {
  margin: 8px 0 12px;
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: 25px;
  line-height: 1.08;
}

.pf-news-card p {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #5a6d79;
  font-size: 12.5px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.pf-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #9a6818;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.pf-news-read-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.pf-news-read-more:hover {
  color: #2f465a;
}

.pf-news-read-more:hover::after {
  transform: translateX(3px);
}

/* Kompaktes Archiv */
.pf-news-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pf-news-archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px 22px 20px 27px;
  border: 1px solid #e1d8cc;
  border-radius: 8px;
  background: #faf8f4;
}

.pf-news-archive-card::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12px;
  width: 5px;
  height: 5px;
  border: 1px solid #b8872d;
  border-radius: 50%;
}

.pf-news-archive-card h3 {
  margin: 6px 0 9px;
  font-family: var(--pf-font-heading, "Crimson Text", Georgia, serif);
  font-size: 21px;
  line-height: 1.12;
}

.pf-news-archive-card p {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: #62737f;
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Fokus und reduzierte Bewegung */
.pf-news-page a:focus-visible {
  outline: 3px solid rgba(184, 138, 56, 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pf-news-card,
  .pf-news-card-image img,
  .pf-news-tools-grid > a,
  .pf-news-read-more::after {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .pf-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .pf-news-tools-grid {
    grid-template-columns: 1fr;
  }

  .pf-news-feature {
    grid-template-columns: 1fr;
  }

  .pf-news-feature-image,
  .pf-news-feature-image img {
    min-height: 0;
  }

  .pf-news-feature-image img {
    height: auto;
  }
}

@media (max-width: 767px) {
  .pf-news-shell.container {
    padding-top: 14px;
    padding-bottom: 46px;
  }

  .pf-news-hero,
  .pf-news-section {
    padding: 28px 22px;
  }

  .pf-news-hero h1 {
    font-size: 40px;
  }

  .pf-news-hero > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .pf-news-tools {
    padding: 27px 22px 23px;
  }

  .pf-news-section-head {
    display: block;
  }

  .pf-news-section-head h2 {
    font-size: 32px;
  }

  .pf-news-section-head > p {
    margin-top: 10px;
    text-align: left;
  }

  .pf-news-feature-copy {
    padding: 28px 23px 30px;
  }

  .pf-news-feature-copy h2 {
    font-size: 31px;
  }

  .pf-news-grid,
  .pf-news-archive-grid {
    grid-template-columns: 1fr;
  }

  .pf-news-card p,
  .pf-news-archive-card p {
    display: block;
    overflow: visible;
  }
}

@media (max-width: 575px) {
  .pf-news-hero,
  .pf-news-section {
    padding: 25px 19px;
  }

  .pf-news-hero h1 {
    font-size: 36px;
  }

  .pf-news-yearnav a {
    flex: 1 1 0;
  }

  .pf-news-feature-copy {
    padding: 25px 20px 27px;
  }
}
