:root{--news-navy:#092A4E;--news-gold:#B8913E;--news-gold-dark:#9C762E;--news-line:#E4E7EA;--news-light:#FAFAFA}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0 40px}
.news-card{overflow:hidden;background:#fff;border:1px solid var(--news-line);border-radius:7px;box-shadow:0 8px 22px rgba(9,42,78,.04);transition:transform .18s ease,box-shadow .18s ease}
.news-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(9,42,78,.08)}
.news-card__image{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#9ab1bf,#d5e0d1 45%,#7fa176);overflow:hidden;text-decoration:none}
.news-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.news-card:hover .news-card__image img{transform:scale(1.025)}
.news-card__placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.4rem;font-weight:700;letter-spacing:.12em}
.news-card__body{padding:18px}
.news-card__meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;color:#506176;font-size:.72rem}
.news-card__category{color:var(--news-gold-dark);font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.news-card h3{margin:8px 0 9px;font-size:1.08rem;line-height:1.3;color:var(--news-navy)}
.news-card h3 a{color:inherit;text-decoration:none}
.news-card p{margin:0 0 16px;font-size:.9rem;line-height:1.6;color:#42505d}
.news-card__more{color:var(--news-gold-dark);font-size:.78rem;font-weight:700;text-decoration:none}
.news-empty{padding:26px;background:#f6f7f8;border-radius:7px;color:#66717a}
.news-grid--compact{gap:16px}
.news-grid--compact .news-card__body{padding:16px}

/* Einzelbeitrag */
.news-article{width:calc(100% - 48px);max-width:1400px;margin-inline:auto}
.news-article__category{color:var(--news-gold-dark);font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.news-article__hero img{width:100%;max-height:560px;object-fit:cover;border-radius:7px}
.news-article__body{max-width:none;margin:26px 0;font-size:1.02rem;line-height:1.75;color:#263b50}
.news-gallery .field__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:30px}
.news-gallery .field__item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;display:block}

/* Redaktion: echter Mehrfach-Upload per Drag & Drop */
.golfclub-news-gallery-field .form-managed-file input[type="file"]{max-width:100%}
.golfclub-news-dropzone{border:2px dashed #c9b27e;border-radius:10px;padding:22px;background:#fffaf0;transition:.15s ease;cursor:pointer;text-align:center;margin:8px 0 14px}
.golfclub-news-dropzone:hover,.golfclub-news-dropzone.is-dragover{border-color:var(--news-gold-dark);background:#f8efd9;box-shadow:0 0 0 3px rgba(184,145,62,.08)}
.golfclub-news-dropzone__icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:var(--news-navy);color:#fff;font-size:1.55rem;line-height:1}
.golfclub-news-dropzone__hint{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--news-navy)}
.golfclub-news-dropzone__hint strong{font-size:1rem}
.golfclub-news-dropzone__hint span{font-size:.86rem;color:#596773}
.golfclub-news-dropzone__hint small{font-size:.72rem;color:#818990;margin-top:3px}
.golfclub-news-local-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;margin-top:14px}
.golfclub-news-local-preview:empty{display:none}
.golfclub-news-local-preview__item{min-width:0;background:#fff;border:1px solid #e4e7ea;border-radius:6px;overflow:hidden;text-align:left}
.golfclub-news-local-preview__item img{width:100%;height:72px;object-fit:cover;display:block}
.golfclub-news-local-preview__item span{display:block;padding:5px 6px;font-size:.65rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#596773}
.golfclub-news-first-image{display:inline-block;margin-left:10px;padding:3px 7px;border-radius:999px;background:#fff4d7;color:#72591f;font-size:.68rem;font-weight:700}
.golfclub-news-gallery-field table .tabledrag-handle{cursor:grab}
.golfclub-news-gallery-field table .tabledrag-handle:active{cursor:grabbing}

@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.news-grid{grid-template-columns:1fr}.news-gallery .field__items{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 0.3.2 – Startseite: Vereinsnachrichten wie im ÖGS-Mockup */
.news-home-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}
.news-home-head h2{margin:0;color:var(--news-navy);font-family:Montserrat,Arial,sans-serif;font-size:1.05rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.news-home-head>a{color:var(--news-gold-dark);font-size:.82rem;font-weight:700;text-decoration:none;white-space:nowrap}
.news-home-head>a:hover{text-decoration:underline}
.news-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:0}
.news-grid--compact .news-card{display:flex;flex-direction:column;min-width:0;height:100%;border-radius:7px;box-shadow:none}
.news-grid--compact .news-card__image{aspect-ratio:2.25/1;flex:0 0 auto}
.news-grid--compact .news-card__body{display:flex;flex:1;flex-direction:column;padding:18px 20px 17px}
.news-grid--compact .news-card__meta{font-size:0.9rem;text-transform:uppercase;letter-spacing:.015em;font-weight: 500;}
.news-grid--compact .news-card__category{letter-spacing:.045em}
.news-grid--compact .news-card h3{margin:9px 0 9px;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.32rem;line-height:1.18;font-weight:600}
.news-grid--compact .news-card__summary{display:-webkit-box;overflow:hidden;margin:0 0 15px;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;color:#506176;font-size:1rem;line-height:1.52;hyphens: auto;}
.news-card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;min-height:28px;color:#6f7d8d}
.news-card__gallery{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight: 450;}
.news-card__gallery svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:var(--news-navy);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.news-card__arrow{margin-left:auto;color:var(--news-navy);font-family:Arial,sans-serif;font-size:1.55rem;line-height:1;text-decoration:none}
.news-card__arrow:hover{color:var(--news-gold-dark)}
/* Falls der Drupal-Block selbst noch einen Titel ausgibt: der Titel steckt nun in der View-Kopfzeile. */
.block-views-blockgolfclub-news-block-latest > h2,
.block-views-blockgolfclub-news-block-latest > .block__title{display:none}
@media(max-width:900px){.news-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.news-home-head{align-items:flex-end}.news-grid--compact{grid-template-columns:1fr}.news-grid--compact .news-card__image{aspect-ratio:16/8}}

/* 0.4.0 – Vereinsnachricht Detailseite + responsive Galerie/Lightbox */
.news-detail{--detail-navy:#092A4E;--detail-gold:#B8913E;--detail-gold-dark:#9C762E;--detail-cream:#F5F1E9;--detail-line:#E4E7EA;margin:0;max-width:none;color:var(--detail-navy)}
.news-detail__hero{position:relative;width:100vw;margin-left:calc(50% - 50vw);min-height:390px;background:linear-gradient(100deg,#f8f5ef 0%,#f8f5ef 63%,#eef1eb 100%);overflow:hidden}
.news-detail__hero.has-image{background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 36%,rgba(255,255,255,.94) 54%,rgba(255,255,255,.68) 66%,rgba(255,255,255,.18) 82%,rgba(255,255,255,0) 100%),var(--news-hero);background-position:center,center;background-size:cover,cover;background-repeat:no-repeat}
.news-detail__hero-inner{max-width:1400px;min-height:390px;margin:0 auto;padding:58px 24px;display:flex;align-items:center;box-sizing:border-box}
.news-detail__hero-copy{width:min(760px,58%)}
.news-detail__eyebrow{margin-bottom:16px;color:var(--detail-gold-dark);font-family:Montserrat,Arial,sans-serif;font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.news-detail__hero h1{margin:0;color:var(--detail-navy);font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(2.4rem,4.3vw,4.5rem);font-weight:600;line-height:.98;letter-spacing:-.025em}
.news-detail__date{margin-top:22px;color:#697788;font-family:Montserrat,Arial,sans-serif;font-size:.88rem}
.news-detail__content{max-width:1400px;margin:0 auto;padding:58px 24px 80px;box-sizing:border-box}
.news-detail__body{max-width:none;margin:0;color:#243f5d;font-family:Montserrat,Arial,sans-serif;font-size:1.02rem;line-height:1.85}
.news-detail__body p{margin:0 0 1.45em}.news-detail__body h2,.news-detail__body h3{font-family:"Cormorant Garamond",Georgia,serif;color:var(--detail-navy);line-height:1.15}.news-detail__body a{color:var(--detail-gold-dark)}
.news-detail__quote{position:relative;max-width:900px;margin:50px auto;padding:30px 38px 30px 78px;border-left:3px solid var(--detail-gold);background:#faf8f3;color:var(--detail-navy);font-family:"Cormorant Garamond",Georgia,serif;font-size:1.5rem;line-height:1.42}
.news-detail__quote-mark{position:absolute;left:24px;top:12px;color:var(--detail-gold);font-family:Georgia,serif;font-size:4.8rem;line-height:1}
.news-detail__gallery{margin-top:68px;padding-top:38px;border-top:1px solid var(--detail-line)}
.news-detail__gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.news-detail__gallery-kicker{margin-bottom:4px;color:var(--detail-gold-dark);font-family:Montserrat,Arial,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.news-detail__gallery h2{margin:0;color:var(--detail-navy);font-family:"Cormorant Garamond",Georgia,serif;font-size:2.2rem;line-height:1.1}
.news-gallery-open{appearance:none;border:0;background:transparent;color:var(--detail-gold-dark);cursor:pointer;font:700 .82rem/1.3 Montserrat,Arial,sans-serif;padding:8px 0}
.news-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.news-gallery-thumb{position:relative;appearance:none;border:0;border-radius:7px;overflow:hidden;padding:0;background:#e9ece8;cursor:zoom-in;aspect-ratio:4/3}
.news-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease,filter .3s ease}
.news-gallery-thumb:hover img{transform:scale(1.035)}
.news-gallery-thumb.is-extra{display:none}
.news-gallery-thumb__more{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(9,42,78,.68);color:#fff;font:600 2rem/1 Montserrat,Arial,sans-serif;backdrop-filter:blur(1px)}
.news-gallery-thumb__more small{margin-top:7px;font-size:.7rem;font-weight:500;letter-spacing:.04em}
html.news-lightbox-open{overflow:hidden}
.news-lightbox[hidden]{display:none!important}.news-lightbox{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px}.news-lightbox__backdrop{position:absolute;inset:0;background:rgba(5,15,27,.94)}
.news-lightbox__panel{position:relative;z-index:1;width:min(1500px,100%);height:min(94vh,1050px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:#fff}
.news-lightbox__topbar{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 12px;font:500 .82rem/1 Montserrat,Arial,sans-serif;color:#d8dee5}
.news-lightbox__close{width:42px;height:42px;border:0;background:transparent;color:#fff;font:300 2.2rem/1 Arial,sans-serif;cursor:pointer}
.news-lightbox__stage{position:relative;min-height:0;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center}
.news-lightbox__stage figure{min-width:0;min-height:0;height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.news-lightbox__stage img{display:block;max-width:100%;max-height:calc(94vh - 170px);object-fit:contain;box-shadow:0 12px 45px rgba(0,0,0,.3)}
.news-lightbox__stage figcaption{min-height:24px;padding:10px 16px 0;color:#e3e7eb;text-align:center;font:400 .82rem/1.45 Montserrat,Arial,sans-serif}
.news-lightbox__nav{width:50px;height:50px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font:300 2.2rem/1 Arial,sans-serif}.news-lightbox__nav:hover{background:rgba(255,255,255,.16)}
.news-lightbox__strip{display:flex;gap:8px;overflow-x:auto;justify-content:flex-start;padding:14px 2px 2px;scrollbar-width:thin}.news-lightbox__strip button{flex:0 0 78px;width:78px;height:56px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;background:#172536;opacity:.58;cursor:pointer}.news-lightbox__strip button.is-active{border-color:var(--detail-gold);opacity:1}.news-lightbox__strip img{width:100%;height:100%;object-fit:cover;display:block}
/* Der Artikeltitel wird im neuen Hero ausgegeben; Drupal-Standardtitel/Standardfelder ausblenden. */
.news-detail-page .page-title,.news-detail-page h1.page-title{display:none}
.news-article>.news-article__category,.news-article>.news-article__hero,.news-article>.news-article__body,.news-article>.news-gallery{display:none!important}
@media(max-width:900px){.news-detail__hero,.news-detail__hero-inner{min-height:330px}.news-detail__hero.has-image{background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 48%,rgba(255,255,255,.78) 70%,rgba(255,255,255,.28) 100%),var(--news-hero)}.news-detail__hero-copy{width:72%}.news-detail__content{padding-top:44px}.news-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-gallery-thumb:nth-child(n+5){display:none}.news-gallery-thumb:nth-child(4) .news-gallery-thumb__more{display:flex}.news-lightbox__stage{grid-template-columns:48px minmax(0,1fr) 48px}.news-lightbox__nav{width:40px;height:40px}}
@media(max-width:620px){.news-detail__hero{min-height:430px;background:#f8f5ef}.news-detail__hero.has-image{background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.98) 44%,rgba(255,255,255,.86) 62%,rgba(255,255,255,.3) 100%),var(--news-hero);background-position:center,68% center}.news-detail__hero-inner{min-height:430px;padding:38px 20px;align-items:flex-start}.news-detail__hero-copy{width:100%;max-width:92%}.news-detail__hero h1{font-size:clamp(2.25rem,12vw,3.25rem)}.news-detail__content{padding:36px 18px 58px}.news-detail__body{font-size:.96rem;line-height:1.75}.news-detail__quote{margin:36px 0;padding:24px 22px 24px 58px;font-size:1.25rem}.news-detail__quote-mark{left:16px;font-size:3.8rem}.news-detail__gallery{margin-top:48px}.news-detail__gallery-head{align-items:flex-start;flex-direction:column;gap:8px}.news-gallery-grid{gap:8px}.news-lightbox{padding:8px}.news-lightbox__panel{height:98vh}.news-lightbox__stage{display:block}.news-lightbox__stage figure{height:calc(98vh - 145px)}.news-lightbox__stage img{max-height:calc(98vh - 190px)}.news-lightbox__nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);background:rgba(5,15,27,.55)}.news-lightbox__prev{left:6px}.news-lightbox__next{right:6px}.news-lightbox__strip button{flex-basis:62px;width:62px;height:46px}}


/* 0.4.1 – compact article detail, true 1400px content alignment */
@media (min-width: 901px) {
  .news-detail__hero { min-height: 270px; }
  .news-detail__hero.has-image { min-height: 350px; }
  .news-detail__hero-inner { min-height: 270px; padding-top: 42px; padding-bottom: 42px; }
  .news-detail__hero.has-image .news-detail__hero-inner { min-height: 350px; }
}
.news-detail__content { max-width: 1400px; padding-top: 44px; }
.news-detail__body { max-width: none; margin-left: 0; margin-right: 0; }
.news-detail__quote { max-width: none; margin: 0 0 42px 0; box-sizing: border-box; }
.news-detail__gallery { width: 100%; }
@media (max-width: 620px) {
  .news-detail__quote { margin: 0 0 30px 0; }
}


/* 0.4.2 – full-bleed news hero; all editorial content follows the 1400px site grid */
.news-detail__hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.news-detail__hero.has-image {
  min-height: 420px;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 34%,
      rgba(255,255,255,.98) 48%,
      rgba(255,255,255,.88) 58%,
      rgba(255,255,255,.58) 69%,
      rgba(255,255,255,.12) 86%,
      rgba(255,255,255,0) 100%),
    var(--news-hero);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.news-detail__hero-inner {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.news-detail__hero.has-image .news-detail__hero-inner { min-height: 420px; }
.news-detail__hero-copy { width: min(780px, 60%); }

.news-detail__content {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.news-detail__body,
.news-detail__quote { max-width: none; }

@media (max-width: 900px) {
  .news-detail__hero-inner,
  .news-detail__content { width: calc(100% - 40px); }
  .news-detail__hero.has-image,
  .news-detail__hero.has-image .news-detail__hero-inner { min-height: 360px; }
  .news-detail__hero-copy { width: 72%; }
}
@media (max-width: 620px) {
  .news-detail__hero-inner,
  .news-detail__content { width: calc(100% - 36px); }
  .news-detail__hero.has-image,
  .news-detail__hero.has-image .news-detail__hero-inner { min-height: 410px; }
  .news-detail__hero.has-image {
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.98) 42%,
        rgba(255,255,255,.86) 62%,
        rgba(255,255,255,.30) 100%),
      var(--news-hero);
    background-position: center, 68% center;
  }
  .news-detail__hero-copy { width: 100%; max-width: 100%; }
}
\n\n/* 0.4.3 – final detail geometry: full-bleed hero, 1400px editorial grid, explicit quotes only */\n.news-detail__hero {\n  min-height: 0;\n}\n.news-detail__hero:not(.has-image) {\n  min-height: 240px;\n  background: #f8f5ef;\n}\n.news-detail__hero:not(.has-image) .news-detail__hero-inner {\n  min-height: 240px;\n  padding-top: 38px;\n  padding-bottom: 38px;\n}\n.news-detail__hero.has-image,\n.news-detail__hero.has-image .news-detail__hero-inner {\n  min-height: 420px;\n}\n.news-detail__hero-inner,\n.news-detail__content {\n  width: calc(100% - 48px);\n  max-width: 1400px;\n  margin-left: auto;\n  margin-right: auto;\n  box-sizing: border-box;\n}\n.news-detail__hero-inner { padding-left: 0; padding-right: 0; }\n.news-detail__content { padding: 44px 0 80px; }\n.news-detail__body {\n  width: 100%;\n  max-width: none;\n  margin: 0;\n}\n.news-detail__quote {\n  width: 100%;\n  max-width: none;\n  margin: 0 0 42px;\n}\n.news-detail__gallery { width: 100%; }\n\n@media (max-width: 900px) {\n  .news-detail__hero-inner,\n  .news-detail__content { width: calc(100% - 40px); }\n  .news-detail__hero:not(.has-image),\n  .news-detail__hero:not(.has-image) .news-detail__hero-inner { min-height: 220px; }\n}\n@media (max-width: 620px) {\n  .news-detail__hero-inner,\n  .news-detail__content { width: calc(100% - 36px); }\n  .news-detail__hero:not(.has-image),\n  .news-detail__hero:not(.has-image) .news-detail__hero-inner { min-height: 210px; }\n  .news-detail__content { padding-top: 32px; padding-bottom: 58px; }\n}\n
/* 0.4.4 – neutral component names and consistent 1400px content grid. */
.news-article {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin-inline: auto;
}
.news-detail__hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.news-detail__hero-inner,
.news-detail__content {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin-inline: auto;
  box-sizing: border-box;
}
.news-detail__body,
.news-detail__quote,
.news-detail__gallery {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 900px) {
  .news-article,
  .news-detail__hero-inner,
  .news-detail__content { width: calc(100% - 40px); }
}
@media (max-width: 620px) {
  .news-article,
  .news-detail__hero-inner,
  .news-detail__content { width: calc(100% - 32px); }
}


/* 0.4.5 – viewport-centred detail grid.
 * Drupal/the theme may constrain the node wrapper. The editorial content is
 * therefore centred against the viewport, exactly like the full-bleed hero.
 */
.news-article {
  width: 100%;
  max-width: none;
  margin: 0;
}

.news-detail__hero-inner {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.news-detail__content {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 48px);
  max-width: 1400px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.news-detail__body,
.news-detail__quote,
.news-detail__gallery {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .news-detail__hero-inner { width: calc(100% - 40px); }
  .news-detail__content { width: calc(100vw - 40px); }
}

@media (max-width: 620px) {
  .news-detail__hero-inner { width: calc(100% - 32px); }
  .news-detail__content { width: calc(100vw - 32px); }
}

/* 0.4.6 – shared 1400px site grid: fixed 36px horizontal inset */
.news-detail__hero-inner,
.news-detail__content,
.news-gallery {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 36px;
  padding-right: 36px;
  box-sizing: border-box;
}

.news-detail__content {
  padding-top: 44px;
  padding-bottom: 80px;
}

.news-detail__body,
.news-detail__quote,
.news-detail__gallery {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* Gallery is already inside the shared content grid; avoid a second 36px inset there. */
.news-detail__content .news-gallery,
.news-detail__content .news-detail__gallery {
  padding-left: 0;
  padding-right: 0;
}

/* Keep the same 36px site inset on smaller screens as requested. */
@media (max-width: 900px) {
  .news-detail__hero-inner,
  .news-detail__content,
  .news-gallery {
    width: 100%;
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 620px) {
  .news-detail__hero-inner,
  .news-detail__content,
  .news-gallery {
    width: 100%;
    padding-left: 36px;
    padding-right: 36px;
  }

  .news-detail__content {
    padding-top: 32px;
    padding-bottom: 58px;
  }
}


/* 0.5.0 – detail page follows the approved editorial mockup. */
.news-detail__hero.has-image {
  min-height: 350px;
  background-image:
    linear-gradient(90deg,
      rgba(9,42,78,.98) 0%,
      rgba(9,42,78,.94) 27%,
      rgba(9,42,78,.78) 43%,
      rgba(9,42,78,.42) 56%,
      rgba(9,42,78,.08) 72%,
      rgba(9,42,78,0) 100%),
    var(--news-hero);
  background-position: center, center;
  background-size: cover, cover;
}
.news-detail__hero.has-image .news-detail__hero-inner { min-height:350px; }
.news-detail__hero.has-image .news-detail__hero-copy { width:min(690px,52%); }
.news-detail__hero.has-image .news-detail__eyebrow { color:#d4aa4d; }
.news-detail__hero.has-image h1 { color:#fff; font-size:clamp(2.35rem,3.35vw,3.75rem); line-height:1.02; }
.news-detail__hero.has-image .news-detail__date { color:rgba(255,255,255,.84); }

.news-detail__hero-inner,
.news-detail__content {
  width:100%; max-width:1400px; margin-inline:auto;
  padding-left:36px; padding-right:36px; box-sizing:border-box;
}
.news-detail__content { position:static; left:auto; transform:none; padding-top:42px; padding-bottom:78px; }
.news-detail__article { display:block; width:100%; }
.news-detail__article.has-quote { display:grid; grid-template-columns:minmax(0,2fr) minmax(300px,1fr); gap:58px; align-items:start; }
.news-detail__body { width:100%; max-width:none; margin:0; }
.news-detail__quote-wrap { min-width:0; }
.news-detail__quote { position:relative; width:100%; max-width:none; margin:0; padding:34px 38px 34px 58px; border-left:3px solid var(--detail-gold); background:#faf8f3; color:var(--detail-navy); font-family:"Cormorant Garamond",Georgia,serif; font-size:1.48rem; font-style:italic; line-height:1.42; box-sizing:border-box; }
.news-detail__quote-mark { position:static; display:block; height:44px; margin:0 0 8px; color:#c69b24; font-family:Georgia,serif; font-size:4.7rem; font-style:normal; line-height:.8; }
.news-detail__quote p:last-child { margin-bottom:0; }

.news-detail__gallery { width:100%; max-width:none; margin:52px 0 0; padding:0; border-top:0; box-sizing:border-box; }
.news-detail__gallery-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:18px; border-bottom:1px solid #e7e4dc; padding-bottom:12px; }
.news-detail__gallery h2 { position:relative; margin:0; padding-left:48px; font-size:2rem; }
.news-detail__gallery h2::before { content:""; position:absolute; left:0; top:50%; width:30px; height:3px; background:var(--detail-gold); transform:translateY(-50%); }
.news-gallery-open { color:var(--detail-navy); border-bottom:2px solid var(--detail-gold); padding:7px 0 5px; white-space:nowrap; }
.news-gallery-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.news-gallery-thumb { aspect-ratio:1.45/1; border-radius:6px; }
.news-gallery-thumb.is-extra { display:none; }

/* Editor upload: target the Drupal field wrapper as well as the generated id. */
#edit-field-news-gallery .golfclub-news-dropzone,
.field--name-field-news-gallery .golfclub-news-dropzone { display:block; }

@media (max-width:900px) {
  .news-detail__hero.has-image,
  .news-detail__hero.has-image .news-detail__hero-inner { min-height:330px; }
  .news-detail__hero.has-image { background-image:linear-gradient(90deg,rgba(9,42,78,.96) 0%,rgba(9,42,78,.88) 42%,rgba(9,42,78,.52) 68%,rgba(9,42,78,.08) 100%),var(--news-hero); }
  .news-detail__hero.has-image .news-detail__hero-copy { width:68%; }
  .news-detail__article.has-quote { grid-template-columns:1fr; gap:30px; }
  .news-detail__quote-wrap { max-width:680px; }
  .news-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .news-detail__hero.has-image { min-height:390px; background-image:linear-gradient(180deg,rgba(9,42,78,.92) 0%,rgba(9,42,78,.78) 52%,rgba(9,42,78,.30) 100%),var(--news-hero); background-position:center,65% center; }
  .news-detail__hero.has-image .news-detail__hero-inner { min-height:390px; align-items:flex-end; padding-top:34px; padding-bottom:34px; }
  .news-detail__hero.has-image .news-detail__hero-copy { width:100%; max-width:100%; }
  .news-detail__hero.has-image h1 { font-size:clamp(2rem,10vw,2.8rem); }
  .news-detail__hero-inner,.news-detail__content { padding-left:36px; padding-right:36px; }
  .news-detail__content { padding-top:32px; padding-bottom:58px; }
    .news-detail__quote { padding:28px 24px 28px 34px; font-size:1.28rem; }
  .news-detail__gallery-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .news-detail__gallery h2 { padding-left:38px; font-size:1.7rem; }
  .news-detail__gallery h2::before { width:24px; }
}


/* 0.5.1 – editorial actions and natural body typography */
.news-detail__actions { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:18px; padding-top:16px; border-top:1px solid #e7e4dc; }
.news-detail__action { display:inline-flex; align-items:center; gap:8px; color:var(--detail-navy); font:600 .82rem/1.35 Montserrat,Arial,sans-serif; text-decoration:none; border-bottom:2px solid var(--detail-gold); padding:5px 0 4px; }
.news-detail__action:hover { color:var(--detail-gold-dark); }
.news-detail__actions--wide { flex-direction:row; justify-content:flex-end; flex-wrap:wrap; gap:24px; margin:34px 0 0; padding-top:18px; }
.news-detail__actions--wide + .news-detail__gallery { margin-top:24px; }
#fotogalerie { scroll-margin-top:120px; }
@media (max-width:620px) { .news-detail__actions--wide { justify-content:flex-start; flex-direction:column; gap:10px; } }


/* 0.5.2 – editorial “Mehr zum Beitrag” block from approved mockup. */
.news-detail__more { margin-top:20px; padding-top:18px; border-top:1px solid #e7e1d5; font-family:Montserrat,Arial,sans-serif; }
.news-detail__more-title { margin:0 0 12px; color:#b8913e; font-size:.78rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.news-detail__more-link { display:grid; grid-template-columns:38px minmax(0,1fr) 22px; align-items:center; gap:10px; min-height:48px; margin:0 0 8px; padding:7px 10px; background:#f8f4eb; color:#092a4e; text-decoration:none; box-sizing:border-box; transition:background .18s ease,transform .18s ease; }
.news-detail__more-link:hover { background:#f1e7d2; transform:translateX(2px); }
.news-detail__more-icon { display:grid; place-items:center; width:30px; height:30px; color:#b8913e; border:1px solid #d7b767; border-radius:50%; font-size:.82rem; line-height:1; }
.news-detail__more-link--gallery .news-detail__more-icon { border-radius:4px; font-size:1.15rem; }
.news-detail__more-text { font-family:"Cormorant Garamond",Georgia,serif; font-size:1.04rem; font-weight:600; line-height:1.18; }
.news-detail__more-arrow { justify-self:end; color:#092a4e; font-size:1rem; }
.news-detail__more--wide { margin-top:34px; }
.news-detail__more--wide .news-detail__more-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.news-detail__more--wide + .news-detail__gallery { margin-top:26px; }
@media (max-width:900px) { .news-detail__more--wide .news-detail__more-row { grid-template-columns:1fr; } }

/* 0.5.4 – compact editor for very large galleries + member visibility. */
.golfclub-news-image-manager{margin:18px 0 16px;padding:18px;border:1px solid #dfe4e8;border-radius:10px;background:#fff}
.golfclub-news-image-manager__head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.golfclub-news-image-manager__head>div{display:flex;flex-direction:column;gap:2px}
.golfclub-news-image-manager__head strong{color:#092a4e;font:700 1rem/1.3 Montserrat,Arial,sans-serif}
.golfclub-news-image-manager__head span{color:#64717d;font:400 .78rem/1.4 Montserrat,Arial,sans-serif}
.golfclub-news-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}
.golfclub-news-image-card{position:relative;min-width:0;border:2px solid transparent;border-radius:8px;background:#f5f6f6;overflow:hidden}
.golfclub-news-image-card.is-active{border-color:#b8913e;box-shadow:0 0 0 2px rgba(184,145,62,.12)}
.golfclub-news-image-card.is-members-only{background:#f7f1e5}
.golfclub-news-image-card__open{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#e9eceb;cursor:pointer;overflow:hidden}
.golfclub-news-image-card__open img{display:block;width:100%;height:100%;object-fit:cover}
.golfclub-news-image-card__hero{position:absolute;left:6px;top:6px;padding:3px 6px;border-radius:4px;background:#092a4e;color:#fff;font:700 .62rem/1.2 Montserrat,Arial,sans-serif}
.golfclub-news-image-card__member{display:flex;align-items:flex-start;gap:6px;padding:7px 7px 8px;color:#24394e;font:600 .68rem/1.25 Montserrat,Arial,sans-serif;cursor:pointer}
.golfclub-news-image-card__member input{margin:1px 0 0;flex:0 0 auto}
.golfclub-news-gallery-source.is-compact tbody tr{display:none}
.golfclub-news-gallery-source.is-compact tbody tr.is-editor-open{display:table-row}
.golfclub-news-gallery-source.is-compact:not(.has-open-editor){display:none}
.golfclub-news-gallery-source.is-compact.has-open-editor{margin-top:14px;border:1px solid #d9dee2;background:#fbfbfa}
.golfclub-news-gallery-source.is-compact tr.is-editor-open td{padding:18px!important}
.golfclub-news-gallery-source.is-compact tr.is-editor-open img{max-width:180px;height:auto}
.golfclub-news-dropzone{display:flex!important;align-items:center;gap:16px;margin:12px 0 18px;padding:22px;border:2px dashed #b7c0c8;border-radius:10px;background:#f8fafb;cursor:pointer;transition:border-color .18s ease,background .18s ease}
.golfclub-news-dropzone:hover,.golfclub-news-dropzone.is-dragover{border-color:#b8913e;background:#fbf7ef}
.golfclub-news-dropzone__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#092a4e;color:#fff;font-size:1.5rem;flex:0 0 auto}
.golfclub-news-dropzone__hint{display:flex;flex-direction:column;gap:2px;color:#092a4e;font-family:Montserrat,Arial,sans-serif}
.golfclub-news-dropzone__hint span,.golfclub-news-dropzone__hint small{color:#65727d;font-size:.78rem}
@media(max-width:620px){.golfclub-news-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.golfclub-news-image-manager{padding:12px}.golfclub-news-image-manager__head{align-items:flex-start;flex-direction:column}.golfclub-news-dropzone{padding:16px}}

/* 0.5.5 – large gallery batch upload */
.golfclub-news-batch-progress {
  margin: 14px 0 20px;
  padding: 14px 16px;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #f8f6f1;
  box-sizing: border-box;
}
.golfclub-news-batch-progress[hidden] { display: none !important; }
.golfclub-news-batch-progress__line { display:flex; justify-content:space-between; gap:16px; color:#092a4e; }
.golfclub-news-batch-progress__track { height:8px; margin:10px 0 7px; overflow:hidden; border-radius:99px; background:#e4e7ea; }
.golfclub-news-batch-progress__track span { display:block; width:0; height:100%; border-radius:inherit; background:#b8913e; transition:width .2s ease; }
.golfclub-news-batch-progress small { color:#5d6a78; }
.golfclub-news-batch-progress.is-complete .golfclub-news-batch-progress__track span { width:100%; }
