/*
Theme Name:   SV Neptun 1966 – Poseidon Child
Description:  Child-Theme für Poseidon mit Zurück-Button auf Einzelbeiträgen
Author:       SV Neptun 1966 Rotenburg e.V.
Template:     poseidon
Version:      1.0.0
Text Domain:  svn-poseidon-child
*/

/* ================================================================
   ZURÜCK-BUTTON auf Einzelbeiträgen
   ================================================================ */

.svn-back-wrap {
    margin: 0 0 24px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.svn-back-wrap--bottom {
    margin: 32px 0 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.svn-back-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #042C53;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.15s;
    line-height: 1.4;
}

.svn-back-btn:hover {
    background: #0C447C !important;
    color: #ffffff !important;
}

.svn-back-btn--secondary {
    background: transparent;
    color: #042C53 !important;
    border: 1px solid #042C53;
}

.svn-back-btn--secondary:hover {
    background: #042C53 !important;
    color: #ffffff !important;
}

/* ================================================================
   BEITRAGSKOPF
   ================================================================ */

.entry-meta {
    font-size: 13px;
    color: #8a92a0;
    margin-top: 6px;
    margin-bottom: 20px;
}

.entry-thumbnail {
    margin-bottom: 24px;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ================================================================
   BEITRAGS-NAVIGATION (voriger / nächster)
   ================================================================ */

.svn-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.svn-post-nav__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #f7f9fc;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.15s;
}

.svn-post-nav__item:hover {
    background: #E6F1FB;
}

.svn-post-nav__item--next {
    text-align: right;
}

.svn-post-nav__label {
    font-size: 11px;
    color: #8a92a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.svn-post-nav__title {
    font-size: 13px;
    font-weight: 500;
    color: #042C53;
    line-height: 1.4;
}

/* ================================================================
   FOOTER
   ================================================================ */

#footer {
    background: #042C53 !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 0 !important;
    margin-top: 40px;
    border-top: none !important;
}

.svn-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.svn-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 52px 32px 36px;
}

.svn-footer-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.svn-footer-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.svn-footer-address {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.9;
}

.svn-footer-address a {
    color: #85B7EB !important;
    text-decoration: none !important;
}

.svn-footer-address a:hover {
    color: #ffffff !important;
}

.svn-footer-title {
    font-size: 11px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
    font-weight: 500;
}

.svn-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.svn-footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: color 0.15s;
    display: block;
}

.svn-footer-links a:hover {
    color: #ffffff !important;
}

.svn-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.svn-footer-contact-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.svn-footer-contact-role {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

.svn-footer-contact-detail a {
    font-size: 12px;
    color: #85B7EB !important;
    text-decoration: none !important;
    margin-top: 3px;
    display: block;
}

.svn-footer-contact-detail a:hover {
    color: #ffffff !important;
}

.svn-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.svn-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

.svn-footer-legal {
    display: flex;
    gap: 22px;
}

.svn-footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.3) !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.svn-footer-legal a:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* Poseidons eigenen Footer-Inhalt verstecken */
#footer .copyright,
#footer p,
#footer .footer-navigation {
    display: none !important;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 860px) {
    .svn-footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 40px 24px 28px;
        gap: 28px;
    }
}

@media (max-width: 520px) {
    .svn-footer-grid {
        grid-template-columns: 1fr;
        padding: 32px 20px 24px;
    }
    .svn-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;
    }
    .svn-footer-legal {
        gap: 16px;
    }
}
