/* =========================================================
   aktuelles.css – Seite "Aktuelle Meldungen"
   ========================================================= */

/* ---------------------------------------------------------
   SEITENKOPF
   --------------------------------------------------------- */
.ak-header {
    padding: 16px 0 10px;
    border-bottom: 2px solid #7BC24A;
    margin-bottom: 20px;
}

.ak-header h1 {
    font-size: 16pt;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px;
}

.ak-subtitle {
    font-size: 9pt;
    color: #666;
    margin: 0;
}

/* ---------------------------------------------------------
   MELDUNGSLISTE
   --------------------------------------------------------- */
.ak-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ak-item {
    padding: 16px 0 16px;
    border-bottom: 1px solid #e0e0e0;
}

.ak-item:last-child {
    border-bottom: none;
}

/* Datum */
.ak-date {
    display: block;
    font-size: 8pt;
    color: #888;
    margin-bottom: 4px;
    font-style: normal;
}

/* Überschrift */
.ak-titel {
    font-size: 12pt;
    font-weight: bold;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* Teasertext */
.ak-teaser {
    font-size: 9pt;
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Weiterlesen-Button */
.ak-weiterlesen {
    text-align: right;
    margin-top: -4px;
    margin-bottom: 8px;
}
.ak-weiterlesen a {
    font-size: 8.5pt;
    color: #5a9933;
    font-weight: 600;
    text-decoration: none;
}
.ak-weiterlesen a:hover {
    text-decoration: underline;
}

/* Klickbarer Artikeltitel in der Liste */
.ak-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 4px;
}

.ak-item-link:hover .ak-titel {
    color: #5a9933;
    text-decoration: underline;
}

/* ---------------------------------------------------------
   DETAILSEITE
   --------------------------------------------------------- */
.ak-breadcrumb {
    padding: 6px 0 14px;
    font-size: 9pt;
}

.ak-breadcrumb a {
    color: #7BC24A;
    text-decoration: none;
}

.ak-breadcrumb a:hover {
    text-decoration: underline;
}

.ak-detail {
    padding: 0 0 24px;
    border-bottom: 1px solid #e0e0e0;
}

.ak-detail__teaser {
    font-size: 10pt;
    color: #444;
    line-height: 1.7;
    margin: 0 0 20px;
}

.ak-detail__pdf {
    margin-top: 16px;
}

/* Langer Artikelinhalt (HTML) */
.ak-detail__inhalt {
    font-size: 10pt;
    line-height: 1.75;
    color: #222;
    margin: 0 0 24px;
}
.ak-detail__inhalt h2 {
    font-size: 13pt;
    font-weight: bold;
    color: #2a6020;
    margin: 28px 0 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 4px;
}
.ak-detail__inhalt h3 {
    font-size: 11pt;
    font-weight: bold;
    color: #333;
    margin: 20px 0 6px;
}
.ak-detail__inhalt p {
    margin: 0 0 12px;
}
.ak-detail__inhalt ul, .ak-detail__inhalt ol {
    margin: 0 0 14px 20px;
}
.ak-detail__inhalt li {
    margin-bottom: 5px;
}
.ak-detail__inhalt blockquote {
    border-left: 4px solid #7BC24A;
    margin: 16px 0;
    padding: 10px 16px;
    background: #f7faf4;
    font-style: italic;
    color: #444;
}
.ak-detail__inhalt strong {
    color: #1a1a1a;
}

.ak-pdf-btn {
    display: inline-block;
    margin-bottom: 8px;
    padding: 8px 18px;
    background: #7BC24A;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 10pt;
    border-radius: 4px;
}

.ak-pdf-btn + .ak-pdf-btn {
    margin-left: 8px;
}

.ak-pdf-btn__name {
    font-weight: normal;
    font-size: 8pt;
    opacity: .85;
}

.ak-pdf-btn:hover {
    background: #5a9933;
}

.ak-detail__footer {
    padding: 20px 0 0;
    font-size: 9pt;
}

.ak-detail__footer a {
    color: #7BC24A;
    text-decoration: none;
}

.ak-detail__footer a:hover {
    text-decoration: underline;
}

.ak-pdf-link {
    display: inline-block;
    font-size: 9pt;
    color: #7BC24A;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #7BC24A;
    padding-bottom: 1px;
}

.ak-pdf-link:hover {
    color: #5a9933;
    border-bottom-color: #5a9933;
}

/* ---- PDF-Modal ---- */
.pdf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.pdf-modal--open {
    display: flex;
}
.pdf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    cursor: pointer;
}
.pdf-modal__container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 92vw;
    max-width: 1100px;
    height: 90vh;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.45);
    overflow: hidden;
}
.pdf-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #2e2e2e;
    color: #fff;
    flex-shrink: 0;
}
.pdf-modal__title {
    font-size: 9pt;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 40px);
}
.pdf-modal__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}
.pdf-modal__close:hover { background: rgba(255,255,255,.15); }
.pdf-modal__frame {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
}
.pdf-modal-body-lock { overflow: hidden; }
