/*
Theme Name: Terrystone
Theme URI: https://example.com/terrystone
Author: GitHub Copilot
Author URI: https://example.com
Description: A minimalist base WordPress theme.
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: terrystone
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Bets Template Specifics */
.font-heading {
    font-family: 'Space Grotesk', sans-serif !important;
}

.bg-brand-dark {
    background-color: #221010;
}

.text-brand-yellow {
    color: #FFDE00;
}

/* Mobile Menu Styles */
#mobile-menu {
    height: 100vh;
    width: 100%;
    overflow-y: auto;
}

#mobile-menu a {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Endless Smooth Scrolling Carousel */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scrolling-carousel {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.scrolling-carousel-container {
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .scrolling-carousel {
        animation: none;
        width: 100%;
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

#main-header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(34, 16, 16, 0.95);
    backdrop-filter: blur(8px);
}

/* Typography & Layout for Blog Content */
.prose {
    font-family: 'Space Grotesk', sans-serif;
    max-width: none;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #fff;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-size: 2.5rem;
}

.prose h2 {
    border-left: 4px solid #FFDE00;
    padding-left: 1.5rem;
}

.prose h3 {
    border-left: none;
    padding-left: 0;
}

.prose p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.prose blockquote {
    font-style: italic;
    font-weight: 500;
    color: #FFDE00;
    border-left: 4px solid #FFDE00;
    padding-left: 2rem;
    margin: 3.5rem 0;
    font-size: 1.65rem;
    line-height: 1.4;
}

.prose blockquote p {
    position: relative;
    margin-bottom: 0.5rem;
}

/* Add quotes to all BUT the last paragraph (the quote name/citation) */
.prose blockquote p:not(:last-child)::before {
    content: '"';
}

.prose blockquote p:not(:last-child)::after {
    content: '"';
}

/* Style the last paragraph (the name) specially */
.prose blockquote p:last-child {
    color: #FFDE00;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    font-style: normal;
    margin-top: 1.5rem;
}

.prose img {
    border-radius: 12px;
    margin: 3rem 0;
}

.prose figcaption {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

.prose ul {
    list-style: none;
    padding-left: 0;
}

.prose ul li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.prose ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: #FFDE00;
    color: #221010;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Related Stories Specifics */
.related-story-card {
    transition: all 0.3s ease;
}

.related-story-card:hover {
    transform: translateY(-5px);
}
