/* ===== Shared styles for content sub-pages + new footer (Melbet KG) ===== */

/* --- Content article layout --- */
.page-article {
    padding: 50px 0 60px;
}

.page-article .site-GsXmnT-container {
    max-width: 900px;
}

.page-article h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--brand-yellow);
    margin-bottom: 28px;
    border-left: 5px solid var(--brand-yellow);
    padding-left: 15px;
}

.page-article h2 {
    font-size: 1.6rem;
    margin: 40px 0 18px;
}

.page-article h3 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: var(--brand-white);
}

.page-article p {
    margin-bottom: 18px;
    color: #d8d8d8;
    font-size: 1.02rem;
}

.page-article ul,
.page-article ol {
    margin: 0 0 20px;
    padding-left: 1.4rem;
    color: #d8d8d8;
}

.page-article li {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.page-article strong {
    color: var(--brand-white);
    font-weight: 700;
}

.page-article a {
    color: var(--brand-yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-article a:hover {
    filter: brightness(1.15);
}

.page-article .edition-note {
    display: inline-block;
    color: #9a9a9a;
    font-size: 0.9rem;
    margin-bottom: 26px;
}

.page-article table {
    width: 100%;
    min-width: 0;
}

.page-article .site-GsXmnT-table-container {
    margin: 24px 0;
}

.page-article th,
.page-article td {
    font-size: 0.95rem;
    vertical-align: top;
}

/* --- New footer: help links section keeps native styling --- */

/* Contact block */
.footer-contacts {
    margin-top: 4px;
}

.footer-contacts .footer-phone {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-white);
    margin-bottom: 16px;
    letter-spacing: .5px;
}

.footer-contacts .footer-phone:hover {
    color: var(--brand-yellow);
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-white);
    color: #111;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--brand-yellow);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

/* --- Certification / badge strip at the very bottom --- */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 26px 0 4px;
    border-top: 1px solid var(--brand-gray);
    margin-top: 10px;
}

.footer-badges img {
    height: 40px;
    width: auto;
    opacity: .85;
    transition: opacity .2s ease;
}

.footer-badges img:hover {
    opacity: 1;
}

/* DMCA badge is a wide banner — halve it so it matches the other icons */
.footer-badges img[alt="DMCA Protected"] {
    height: 20px;
}

/* --- Simple internal header nav link for sub-pages --- */
.site-GsXmnT-nav-link.is-home {
    color: var(--brand-yellow);
}

@media (max-width: 768px) {
    .page-article h1 { font-size: 1.6rem; }
    .page-article h2 { font-size: 1.35rem; }
    .page-article h3 { font-size: 1.15rem; }
    .footer-badges { gap: 18px; }
    .footer-badges img { height: 32px; }
    .footer-badges img[alt="DMCA Protected"] { height: 16px; }
    .footer-socials a { width: 40px; height: 40px; }
}
