/*
Theme Name: Confident Dark
Theme URI: https://portosite.local
Author: Antigravity AI
Description: A manly, minimalistic, rich, and confident theme with a black-grey gradient and red accents.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: confident-dark
*/

:root {
    --bg-gradient: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    --primary-red: #cc0000;
    --text-white: #ffffff;
    --text-light-grey: #bdc3c7;
    --accent-grey: #2c2c2c;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 0 0 140px 0;
    border-bottom: 1px solid var(--accent-grey);
}

.site-identity {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the logo by default */
    gap: 30px;
}

.site-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    gap: 0;
}

.site-title .anfi {
    color: #ffffff;
}

.site-title .love {
    color: #ff0000;
}

.site-signature {
    font-family: 'Outfit', sans-serif;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
    position: absolute;
    top: 65px;
    left: 10px;
    width: 600px;
}

/* Layout */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1.4fr;
    gap: 50px;
    padding: 60px 0;
}

/* Navigation Sections (Left) */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-section {
    background: var(--accent-grey);
    padding: 30px;
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.nav-section:hover {
    transform: translateX(10px);
    background: #333;
}

.nav-section h2 {
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.nav-section p {
    color: var(--text-light-grey);
}

/* Bio Sidebar (Right) */
.bio-box {
    background: #111;
    border: 1px solid var(--accent-grey);
    padding: 30px;
    position: sticky;
    top: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bio-header {
    position: relative;
    margin-bottom: 30px;
    /* More space below header */
    padding-bottom: 25px;
    border-bottom: 1px solid var(--accent-grey);
}

.bio-photo {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 110px;
    height: 140px;
    border: 2px solid var(--primary-red);
    border-radius: 4px;
    object-fit: cover;
    object-position: 50% 15%;
    /* Higher focus */
    transform-origin: center;
    scale: 1.15;
    /* Zoom in effect */
    background: #111;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 5;
    transition: transform 0.3s ease, scale 0.3s ease;
}

.bio-photo:hover {
    scale: 1.25;
    /* Even more zoom on hover */
    transform: rotate(1deg);
}

.bio-box h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 8px;
    padding-right: 100px;
    /* Make room for the photo */
}

.bio-box .tagline {
    color: var(--primary-red);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    line-height: 1.4;
    padding-right: 100px;
    /* Make room for the photo */
}

.bio-text {
    color: var(--text-light-grey);
    font-size: 0.95rem;
}

/* Global Elements */
a {
    color: var(--primary-red);
    text-decoration: none;
}

h1,
h2,
h3 {
    font-weight: 700;
}

.nav-section-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
}

.nav-section-link:last-child {
    margin-bottom: 40px;
}

/* Subscription Block */
.subscribe-btn {
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-btn:hover {
    background: #FF4A4A;
}

/* Tooltip Styling */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-trigger {
    color: var(--text-light-grey);
    text-decoration: underline;
    text-decoration-style: dotted;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.tooltip-container:hover .tooltip-trigger {
    color: var(--text-white);
}

.tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    max-width: 80vw;
    background-color: #222;
    color: var(--text-light-grey);
    text-align: left;
    padding: 15px;
    border: 1px solid var(--primary-red);
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* helps prevent flickering if cursor moves exactly on the tooltip */
}

/* Tooltip Arrow */
.tooltip-content::after {
    content: " ";
    position: absolute;
    top: 100%;
    /* Arrow at the bottom */
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-red) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Subscribe Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    /* overridden by inline style=display:none */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 4px;
    border: 2px solid var(--primary-red);
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light-grey);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #111;
    border: 1px solid #333;
    color: var(--text-white);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.modal-submit-btn {
    width: 100%;
    background: var(--primary-red);
    color: white;
    padding: 15px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-submit-btn:hover {
    background: #FF4A4A;
}

/* Ledger Page Stuff */
.ledger-page {
    padding: 60px 0;
}

.ledger-header {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--accent-grey);
    padding-bottom: 30px;
    text-align: center;
}

.ledger-header h1 {
    color: var(--primary-red);
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.ledger-header p {
    color: var(--text-light-grey);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.ledger-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.ledger-article {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    border: 1px solid var(--accent-grey);
    transition: transform 0.3s ease;
}

.article-banner {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.article-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.1) brightness(1.1);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
}

.article-meta-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
}

.article-meta-overlay h2 {
    margin: 0 0 12px 0;
    font-size: 2.8rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.article-meta-overlay h2 a {
    color: inherit;
    text-decoration: none;
}

.article-date {
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.article-content {
    padding: 40px;
    border-top: 1px solid var(--accent-grey);
}

.article-excerpt {
    color: var(--text-light-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}

.no-articles {
    text-align: center;
    padding: 100px 0;
    color: var(--text-light-grey);
}

.no-articles p {
    font-size: 1.5rem;
}

/* Header Refinement */
.header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.site-title-container {
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.site-title {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

#header-subscriber-count {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light-grey);
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.header-logo {
    position: absolute;
    right: 50px;
    top: -47px;
    z-index: -1;
}

.header-logo img {
    height: 290px;
    width: auto;
    opacity: 1.0;
    filter: brightness(1.3) contrast(1.3);
}

/* Subscription Block Class */
.subscribe-section {
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--accent-grey);
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Single Article Page */
.single-article-page {
    padding: 120px 0;
}

.article-breadcrumb {
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light-grey);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.article-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.article-breadcrumb .current-crumb {
    color: var(--primary-red);
}

.article-header {
    text-align: center;
    margin-bottom: -500px;
    /* Counter-intutitive but works with absolute overlaps */
    position: relative;
    z-index: 10;
}

.article-meta-info {
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.article-header h1 {
    color: var(--text-white);
    font-size: 4.5rem;
    line-height: 1.05;
    font-family: 'Outfit', sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.article-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 10px auto;
}

.article-hero-banner {
    width: 100%;
    height: 620px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    background: #000;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
}

.article-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.05) brightness(1.05);
}

.banner-shadow-top,
.banner-shadow-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 2;
}

.banner-shadow-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 1) 0%, rgba(8, 8, 8, 0) 100%);
}

.banner-shadow-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(8, 8, 8, 1) 0%, rgba(8, 8, 8, 0) 100%);
}

.article-body-wrapper {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    position: relative;
    z-index: 5;
}

.article-body-content {
    color: var(--text-light-grey);
    font-size: 1.15rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.article-footer {
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid var(--accent-grey);
}

.footer-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.back-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-arrow {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Commentaries */
#commentaries {
    margin-top: 80px;
    background: #111;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--accent-grey);
    font-family: var(--font-main);
}

#commentaries h3 {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

#postCommentForm {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input,
.avatar-upload-label {
    flex: 1;
    padding: 15px;
    background: #222;
    border: 1px solid var(--accent-grey);
    color: white;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-row input,
.avatar-upload-label {
    flex: 1;
    padding: 15px;
    background: #222;
    border: 1px solid var(--accent-grey);
    color: white;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.avatar-upload-label {
    border-style: dashed;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.avatar-upload-label input {
    display: none;
}

#postCommentForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid var(--accent-grey);
    color: white;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-submit-btn {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s;
}

.comment-submit-btn:hover {
    background: var(--primary-red);
    color: white;
}

.no-comments {
    color: #777;
    font-style: italic;
}

.comment-item {
    background: #222;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-red);
    position: relative;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar,
.comment-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-avatar-placeholder {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    color: var(--text-white);
    display: block;
}

.comment-date {
    color: #777;
    font-size: 0.8rem;
}

.comment-actions {
    margin-left: auto;
    display: none;
    gap: 10px;
}

.comment-action-btn {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

.comment-action-btn:hover {
    color: white;
}

.comment-action-btn.delete:hover {
    color: var(--primary-red);
}

.comment-text {
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Adjust article header margin for better transition */
.article-header {
    margin-bottom: -50px;
}

/* Footer */
#contacts-footer {
    padding: 40px 0;
    border-top: 1px solid var(--accent-grey);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    color: var(--text-light-grey);
    font-size: 0.85rem;
    gap: 20px;
}

.footer-col-center {
    text-align: center;
}

.footer-col-right {
    text-align: right;
    line-height: 1.6;
}

.author-name {
    color: var(--text-white);
    font-size: 0.95rem;
}

.footer-email {
    color: var(--primary-red);
}

/* Modal Global Overrides */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: #111;
    border: 1px solid var(--primary-red);
    padding: 40px;
    border-radius: 4px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light-grey);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-box h2 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.modal-subtext {
    color: var(--text-light-grey);
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.modal-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid var(--accent-grey);
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.modal-input.textarea {
    height: 80px;
    resize: none;
}

.modal-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-red);
    color: white;
    border: none;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
}

.modal-submit-btn:hover {
    background: #FF4A4A;
}

.modal-btn-outline {
    width: 100%;
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}

.modal-btn-outline:hover {
    background: var(--primary-red);
    color: white;
}

.modal-request-link {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light-grey);
}

.modal-request-link a {
    color: var(--primary-red);
    text-decoration: underline;
}

.modal-footer-info {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.tooltip-content.tooltip-up {
    bottom: 120%;
}

.modal-submit-btn:disabled {



    background: #555;
    cursor: not-allowed;
}


/* --- Responsive Design & Media Queries --- */

/* Utility Classes */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }

    .site-signature {
        width: 100%;
        max-width: 650px;
        font-size: 0.85rem;
    }
}

/* Tablets (Portrait) */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bio-box {
        position: static;
        margin-top: 40px;
    }

    .site-signature {
        position: static;
        width: 900px;
        margin-top: 20px;
        padding-bottom: 20px;
    }

    header {
        padding-bottom: 40px;
    }

    .header-split {
        flex-direction: column;
        align-items: flex-start !important;
    }

    /* --- REGULATOR: Gateway Top Menu on Android --- */
    .gateway-top-nav {
        position: relative !important;
        top: 20px !important;
        right: auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px 25px !important; /* Spacing between menu items */
        margin: 0 auto 40px auto !important; /* REGULATE: Bottom margin for clearance */
        padding: 40px 10px 0 10px !important;
        width: 100% !important;
    }
    /* ---------------------------------------------- */

    .header-logo {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }

    .header-logo img {
        height: 180px !important;
        margin: 0 auto;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .site-title {
        font-size: 1.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .site-title div:last-child {
        font-size: 0.75rem;
    }

    .nav-section {
        padding: 20px;
    }

    .nav-section h2 {
        font-size: 1.1rem;
    }

    /* Ledger Page */
    .ledger-header h1 {
        font-size: 2.2rem !important;
    }

    .article-banner {
        height: 300px !important;
    }

    .article-meta-overlay {
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
    }

    .article-meta-overlay h2 {
        font-size: 1.8rem !important;
    }

    /* Single Article */
    .article-header h1 {
        font-size: 2.5rem !important;
    }

    .article-hero-banner {
        height: 350px !important;
    }

    .article-body-content {
        font-size: 1.05rem;
    }

    .article-body-content blockquote {
        font-size: 1.2rem;
        padding: 25px;
        margin: 40px 0;
    }

    /* Footer */
    #contacts-footer .container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    #contacts-footer div {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }

    .article-header h1 {
        font-size: 2rem !important;
    }

    .article-hero-banner {
        height: 250px !important;
    }

    .modal-box {
        padding: 25px;
    }

    .subscribe-section {
        flex-direction: column;
        align-items: flex-start !important;
    }
}