/*
Theme Name: Kadence Child - GOG Blog Redesign
Theme URI: https://gog.com
Description: Material 3 Expressive design system for GOG Blog
Author: GOG.COM
Author URI: https://gog.com
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
*/

/* ========================================
   IMPORT ALL MODULAR CSS FILES
   Order matters - load in sequence!
   ======================================== */

/* 1. Design Tokens */
@import url('assets/css/01-variables.css');

/* 2. Reset & Override Kadence Defaults */
@import url('assets/css/02-reset.css');

/* 3. Typography */
@import url('assets/css/03-typography.css');

/* 4. Layout Structure */
@import url('assets/css/04-layout.css');

/* 5. Hero Section */
@import url('assets/css/05-hero.css');

/* 6. Article Content */
@import url('assets/css/06-article.css');

/* 7. Reusable Components */
@import url('assets/css/07-components.css');

/* 8. Sidebar Elements */
@import url('assets/css/08-sidebar.css');

/* 9. Interactive Elements */
@import url('assets/css/09-interactive.css');

/* 10. Responsive Breakpoints */
@import url('assets/css/10-responsive.css');

/* ========================================
   CRITICAL: Material Symbols Icon Font
   ======================================== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.25em;
    line-height: 1;
    vertical-align: text-bottom;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

#colophon, .site-footer {
    background: #0E1216;
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    margin: 0;
}

.footer-inner-wrap {
    max-width: 100%;
    padding: 0;
}

/* ===================================
   FOOTER LOGO (Styled Paragraph)
   =================================== */

.site-footer .footer-logo-text {
    background: #FFFFFF;
    color: #0E1216;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: inline-block;
    margin: 0 auto 1rem;
}

/* ===================================
   FOOTER TITLE & TAGLINE
   =================================== */

.site-footer .footer-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.site-footer .footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-align: center;
}

/* ===================================
   MEET THE AUTHORS SECTION
   =================================== */

.site-footer .footer-authors-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    text-align: center;
}

.site-footer .footer-author-card {
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    display: block;
}

.site-footer .footer-author-card:hover {
    transform: translateY(-4px);
}

.site-footer .footer-author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s ease;
    object-fit: cover;
    margin: 0 auto 0.75rem;
}

.site-footer .footer-author-card:hover img {
    border-color: #FF418F;
}

.site-footer .footer-author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #FFFFFF;
}

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

.site-footer .wp-block-buttons {
    justify-content: center;
    margin: 2rem 0;
}

.site-footer .wp-block-button__link {
    background: transparent;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.site-footer .wp-block-button__link:hover {
    background: #FFFFFF;
    color: #0E1216;
}

/* Sitemap link (text only) */
.site-footer .footer-sitemap-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    display: inline-block;
    margin-top: 1rem;
}

.site-footer .footer-sitemap-link:hover {
    color: #FFFFFF;
}

/* ===================================
   SOCIAL ICONS (Uses our SVG system)
   =================================== */

.site-footer .footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

/* Override default footer social styling if needed */
.site-footer .social-icons-footer {
    justify-content: center;
}

/* ===================================
   COPYRIGHT
   =================================== */

.site-footer .footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1024px) {
    .site-footer .footer-title {
        font-size: 1.75rem;
    }
    
    .site-footer .footer-authors-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-logo-text {
        font-size: 1.25rem;
    }
    
    .site-footer .footer-title {
        font-size: 1.5rem;
    }
    
    .site-footer .footer-tagline {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    .site-footer .footer-authors-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .site-footer .footer-author-card img {
        width: 80px;
        height: 80px;
    }
    
    .site-footer .wp-block-button__link {
        padding: 0.875rem 1.5rem;
        font-size: 0.8125rem;
    }
}

/* ===================================
   HELPER CLASSES FOR BLOCKS
   =================================== */

/* Add these classes in Block → Advanced → Additional CSS Classes */

.footer-section {
    margin: 3rem 0;
}

.footer-section-centered {
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 3rem auto;
    max-width: 80%;
}

/* Container alignment - buttons centered horizontally */
.site-footer .wp-block-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Individual button styling */
.site-footer .wp-block-button {
    margin: 0; /* Remove default WordPress button margins */
}

.site-footer .wp-block-button__link {
    background: transparent;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer .wp-block-button__link:hover {
    background: #FFFFFF;
    color: #0E1216;
}

/* Sitemap link - if styled differently */
.site-footer .footer-sitemap-link .wp-block-button__link {
    border-color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-sitemap-link .wp-block-button__link:hover {
    border-color: #FFFFFF;
}

/* ===================================
   FOOTER SOCIAL ICONS
   =================================== */

.site-footer .footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.site-footer .social-icons-footer {
    justify-content: center;
}

/* ===================================
   COPYRIGHT - DYNAMIC YEAR
   =================================== */

.site-footer .footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 2rem;
}

/* Shortcode styling (if [year] is wrapped in span) */
.site-footer .footer-copyright .year-shortcode {
    font-weight: inherit;
}