/* Source: custom.css */
/* Custom styles for Zelda Central WordPress Theme */

/* Google AdSense Auto Ads Exclusion */
.adsense-auto-ads-ignore {
    google-auto-ads: ignore;
}

/* Global Font Settings - Enforce Outfit as default theme font */
:root {
    font-family: var(--font-family-primary);
}

/* Force Outfit font throughout the site */
/* Removed redundant font enforcement for Outfit. Now handled globally in style.css */

/* Site Content Container */
.site-content-inner {
    padding: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive adjustments for site content */
@media (min-width: 1200px) {
    .site-content-inner {
        padding: 2rem 1.5rem;
    }
    
    .home .site-content-inner {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 767px) {
    .site-content-inner {
        padding: 1rem 0.75rem;
    }
    
    .home .site-content-inner {
        padding: 0.5rem 0.35rem;
    }
}

/* Button focus/active states - base styles in style.css */
.zc-btn:focus,
.zc-btn:active,
.wp-block-button__link:focus,
.wp-block-button__link:active {
    outline: 2px solid var(--highlight-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.zc-btn:hover,
.wp-block-button__link:hover {
    background: var(--main-green);
    color: var(--main-dark);
    text-decoration: none;
}

/* Button variations */
.zc-btn--primary,
.is-style-fill .wp-block-button__link:not(.has-background) {
    background: var(--highlight-color);
    color: var(--main-dark);
}

.zc-btn--primary:hover,
.zc-btn--primary:focus,
.is-style-fill .wp-block-button__link:not(.has-background):hover,
.is-style-fill .wp-block-button__link:not(.has-background):focus {
    background: var(--glow-color);
    color: var(--main-dark);
}

/* Disabled state */
.zc-btn:disabled,
.zc-btn[aria-disabled="true"],
.wp-block-button__link:disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .zc-btn,
    .wp-block-button__link {
        font-size: 0.95rem;
        padding: 0.5em 1.1em;
    }
}

/* Outline Style */
.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    border: 2px solid var(--main-brown);
    color: var(--main-brown) !important;
}

.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:focus {
    background-color: var(--main-brown) !important;
    color: var(--text-light) !important;
}

/* Button Groups Styling */
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Post Navigation responsive - base styles in style.css */
@media (max-width: 767px) {
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .post-navigation .nav-previous {
        margin-bottom: 0.5rem;
    }
}

/* Responsive adjustments for block buttons */
@media (max-width: 600px) {
    .wp-block-button__link {
        font-size: 0.95rem;
        padding: 0.5em 1.1em;
    }
}

/* Common utility classes - merged with general styling */
img {
	max-width: 100%;
}

.flush {
	padding: 0;
}

.flush-left {
	padding-left: 0;
}

.flush-right {
	padding-right: 0;
}

/* Reset ul only for specific contexts, not globally */
.navigation ul, .widget ul, .footer-menu ul {
	margin: 0;
	padding: 0;
}

section {
	float: left;
	width: 100%;
}

/* Typography */
p,label {
	margin-bottom: var(--space-sm);
}

/* Header Style */
#header {
	margin-top: var(--space-xxl);
}

.navbar-default {
	background: none;
	border: none;
	margin-bottom: 0;
}

#header .navbar-default .navbar-nav li a {
	color: var(--text-light);
	font-size: 20px;
	font-family: var(--font-family-primary);
	font-weight: var(--font-weight-medium);
	line-height: 40px;
}

#main-section .main ul.sidebar li:hover a:hover {
    color: var(--highlight-color);
}

#logo img {
	max-width: 100%;
}

#header .navbar-default .navbar-nav li a:hover {
	color: var(--highlight-color);
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
	background-color: transparent;
}

.navbar-brand {
	padding: 0;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
	border: none;
}

#header .dropdown-menu {
	padding: 0;
}

/* Main content section */
#main-section {
	margin-top: var(--space-lg);
	padding: 0 var(--space-md);
}

#main-section ul li {
	display:inline-block;
	padding-right:11px;
}

#main-section .top-menu {
	background:#21271c;
	margin-bottom:15px;
	padding: 10px 0px;
}

#main-section .main {
	display:inline-block;
	width:100%;
	background:#e0e0e0;
	box-shadow:0px 0px 20px 8px #000;
}

#main-section .main .top-menu ul li p {
	color:#fff;
	text-decoration:none;
	font-size:12px;
}

#main-section .main .top-menu a:hover p:hover {
	color:#FFD700;
	text-decoration:underline;
}

#main-section .main .top-menu ul li:after {
    content: "";
    position: absolute;
    top: 20px;
    width: 1px;
    height: 50px;
    background: #fff;
    margin-left: 32px;
}

#main-section .main .top-menu ul li:last-child:after {
	display:none;
}

#main-section .main ul.sidebar {
	background:#21271c;
	padding:15px 0px;
}

#main-section .main ul.sidebar li:first-child {
	background:#f3b433;
	padding:0px 0px 0px 15px;
	margin:10px 0px;
}

#main-section .main ul.sidebar li {
	display:inline-block;
	width:100%;
	padding:0px 0px 0px 15px;
	line-height:23px;
}

#main-section .main ul.sidebar li a {
	color:#fff;
	font-size:25px;
	margin:0px;
	line-height:auto;
	padding:0px;
	text-decoration:none;
}

.slider {
	float:left;
	width:100%;
	padding:0px 15px;
}

ul.bxslider li .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 5px 15px;
}

ul.bxslider li .overlay h6 {
	margin:0px;
	color:#fff;
	font-size:28px;
	font-family: 'Outfit', sans-serif;
	font-weight:500;
}

ul.bxslider li .overlay p {
	margin:0px;
	color:#fff;
	font-size:22px;
	font-family: 'Outfit', sans-serif;
	font-weight:300;
}

ul.bxslider li img {
	width:100%;
}

.card {
	display:inline-block;
	width:100%;
	padding-left:15px;
	background:#fff;
	margin:30px 0px;
	margin-bottom:0px;
	padding-top:10px;
	padding-bottom:10px;
}

/* Specific styling for game subpages */
.game-subpage {
	background: transparent;
	box-shadow: none;
	border: none;
	margin-top: 15px;
	padding-left: 0;
	padding-right: 0;
}

.card h2 {
	margin:0px;
}

.card img.big {
	width:100%;
}

.card p {
    font-size: 17px;
    color: #1d1d1d;
    line-height: 25px;
	font-family: 'Outfit', sans-serif;
}

.card p.right_side {
	float:right;
	margin-top:25px;
	margin-bottom:0px;
	
}

.card p.right_side a {
	color:#1d1d1d;
}

/* Legacy .footer styles - modern styles use .site-footer in style.css */

/* Social Icons Styling */
.social-icons-container a, .mobile-social-icons a {
	transition: all 0.3s ease;
	opacity: 0.85;
	margin: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.social-icons-container a:first-child, .mobile-social-icons a:first-child {
	margin-left: 0;
}

.social-icons-container a:last-child, .mobile-social-icons a:last-child {
	margin-right: 0;
}

.social-icons-container a:hover, .mobile-social-icons a:hover {
	opacity: 1;
	transform: scale(1.1);
}

.social-icons-container a img, .mobile-social-icons a img {
	filter: brightness(1);
	transition: filter 0.3s ease;
}

.social-icons-container a:hover img, .mobile-social-icons a:hover img {
	filter: brightness(1.2);
}

.mobile-social-icons {
	display: flex;
	justify-content: center;
	padding: 15px 0;
	gap: 8px;
}

/* Legacy .footer ul styles removed - using .site-footer in style.css */

.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/*****======= Responsive Style Css ======***********/

/* Landscape phones and portrait tablets */
@media (max-width: 767px){

.navbar-default .navbar-brand img {
    height: 89%;
}

.navbar-default .navbar-toggle {
	border:none;
	margin-right:0px;
}

.navbar-collapse {
	border:none;
	box-shadow:none;
}

#header {
	padding-bottom:10px;
}


#header .navbar-default .navbar-nav > li > a {
	text-align:center;
}

.row-eq-height {
	display:block;
}

.navbar-default .navbar-toggle .icon-bar {
	background:#fff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background:none;
}

.flush-right {
	padding-right:15px;	
}

.xs-center {
	text-align:center;
}

#main-section .main .top-menu ul li:after {
	display:none;
}

#main-section ul li {
    padding-right: 9px;
}

ul.bxslider li .overlay h6 {
    margin: 0px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

ul.bxslider li .overlay p {
    margin: 0px;
    color: #fff;
    font-size: 11px;
}

#main-section .main ul.sidebar {
	margin-top:15px;
}

#main-section .main ul.sidebar li a {
    font-size: 18px;
}

.card h2 {
    font-size: 14px;
}

.small-flush-none {
	padding-left:10px;
	padding-right:5px;
}

.small-flush {
	padding-left:0px;
	padding-right:15px;
}

.card p {
	font-size:16px;
	line-height:18px;
}

.card p br {
	display:none;
}

.card img.big {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	
.navbar-default .navbar-brand img {
    height: 89%;
}

#header .navbar-default .navbar-nav li a {
    padding: 0px 9px;
}

/* GTranslate dropdown positioning for tablets */
.navbar.navbar-dark .navbar-nav li.menu-item-gtranslate {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.navbar.navbar-dark .navbar-nav .gt_selector {
    min-width: 150px !important;
    max-width: 200px !important;
    padding: 8px 25px 8px 10px !important;
    font-size: 14px !important;
    background-color: rgba(37, 49, 36, 0.7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(166, 204, 139, 0.3) !important;
    border-radius: 4px !important;
}

/* Reduce top navigation bar height on tablets */
.top-navigation-bar {
    padding: 2px 0 !important;
}

.top-nav-container {
    padding: 2px 8px !important;
    gap: 6px !important;
}

.social-icons-container a {
    margin-right: 5px !important;
}

.social-icons-container a img {
    width: 15px !important;
    height: 15px !important;
}

.logged-in-user-links {
    gap: 5px !important;
}

.user-link {
    padding: 3px 6px !important;
    font-size: 12px !important;
}

.welcome-text {
    font-size: 12px !important;
}

.top-nav-search .search-form {
    max-width: 160px !important;
}

.top-nav-search .search-field {
    padding: 3px 6px !important;
    font-size: 12px !important;
}

.top-nav-search .zc-btn {
    padding: 3px 6px !important;
}

#main-section .main .top-menu ul li:after {
	display:none;
}

ul.bxslider li .overlay h6 {
    font-size: 24px;
}

#main-section .main ul.sidebar li a {
    color: #fff;
    font-size: 19px;
}

ul.bxslider li .overlay p {
    margin: 0px;
    color: #fff;
    font-size: 15px;
}

.card h2 {
    font-size: 20px;
}

.medium-none-flush {
	padding-left:15px;
	padding-right:15px;
}

.card p br {
	display:none;
}


}

/* Latest News Section - Base styles in style.css, keeping only enhancements */

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.news-thumbnail {
    flex: 0 0 140px;
    position: relative;
    margin: 0 15px;
    height: 105px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumbnail a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.news-thumbnail img,
.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.news-content {
    flex: 1;
    padding: 0 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.news-title a {
    color: #4a3000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: #a03000 !important;
    text-decoration: underline;
}


.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-date, .news-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-date {
    color: #666;
}

.news-date .fa,
.news-date .fa-calendar-o {
    color: #666;
}

.news-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-category .fa,
.news-category .fa-folder {
    color: #a03000;
}

.news-category a {
    color: #a03000;
    text-decoration: none;
}

.news-category a:hover {
    color: #d04000;
    text-decoration: underline;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #4a3000;
    line-height: 1.4;
}

/* .no-posts styles in style.css */

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        padding: 0;
        background-color: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        border: none;
        transform: none;
    }
    
    .news-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    .news-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
        margin: 0;
        border-radius: 10px 10px 0 0;
        position: relative;
    }
    
    /* Category badge overlay on image */
    .news-thumbnail::after {
        content: attr(data-category);
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: rgba(160, 48, 0, 0.9);
        color: #ffffff;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 2;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        pointer-events: none;
    }
    
    .news-thumbnail a {
        border-radius: 10px 10px 0 0;
    }
    
    .news-thumbnail img,
    .news-image {
        border-radius: 10px 10px 0 0;
    }
    
    .news-content {
        padding: 10px 12px 12px;
        background-color: #ffffff;
        width: 100%;
    }
    
    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: #4a3000;
        line-height: 1.3;
    }
    
    .news-meta {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }
    
    .news-date {
        font-size: 0.75rem;
        color: #666;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }
    
    .news-date .fa,
    .news-date .fa-calendar-o {
        color: #666;
    }
    
    /* Hide category from meta since it shows on image */
    .news-category {
        display: none !important;
    }
    
    .news-excerpt {
        font-size: 0.88rem;
        color: #666666;
        background-color: #ffffff;
        padding: 0;
        margin-top: 0.4rem;
        line-height: 1.5;
        display: block !important;
        overflow: visible;
        max-height: none;
    }
    
    .read-more-link {
        color: #a03000;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    
    .read-more-link:hover {
        color: #d04000;
        text-decoration: underline;
    }
}

/* For very small mobile screens */
@media (max-width: 480px) {
    .news-item {
        margin-bottom: 1.25rem;
    }
    
    .news-thumbnail {
        height: 160px;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-title {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }
    
    .news-meta {
        margin-bottom: 0.4rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        padding: 0;
        margin-top: 0.35rem;
        display: block !important;
        overflow: visible;
        max-height: none;
    }
}

/* Section headers - base styles in style.css */
.games-section-header .section-title,
.news-section-header .section-title {
    color: #4a3000;
}

/* Welcome Section on Homepage */
.welcome-section {
    text-align: center;
    padding: 1.5rem 0.25rem;
    margin-bottom: 1.5rem;
    background-color: #f8e8a0; /* Tan color from game menu */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/triforce-pattern.png') center center repeat;
    opacity: 0.05;
    z-index: 0;
}

.welcome-section h1 {
    color: #4a3000; /* Dark brown from game menu */
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.welcome-section h1:after {
    display: none;
}

.welcome-section p {
    color: #4a3000; /* Dark brown from game menu */
    font-size: 1.1rem;
    max-width: 96%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.4;
    padding: 0 0.25rem;
    width: 100%;
}

/* Latest News Section enhancements - tan background with pattern */
.latest-news-section {
    background-color: #f8e8a0;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.latest-news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/triforce-pattern.png') center center repeat;
    opacity: 0.05;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-section {
        padding: 0.75rem 0.15rem;
        margin-bottom: 0.75rem;
        border-radius: 5px;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .welcome-section p {
        font-size: 0.95rem;
        max-width: 98%;
        line-height: 1.3;
        padding: 0 0.1rem;
    }
    
    .latest-news-section {
        padding: 1.5rem 1rem;
    }
    
    .latest-news-section .section-title {
        font-size: 1.5rem;
    }
}

/* Games Grid Styling - See style.css for base styles */
/* Only keeping custom overrides and enhancements here */

.game-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/triforce-pattern.png') center center repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.game-text-container {
    background-color: #faf0c0 !important;
    padding: 2px 3px !important;
    margin: 2px 1px !important;
    border-radius: 2px !important;
    width: calc(100% - 2px) !important;
    border: 1px solid rgba(58, 90, 50, 0.2) !important;
    box-shadow: 0 1px 2px rgba(74, 48, 0, 0.05) !important;
}

.game-description {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 0.9rem !important;
    color: #3a5a32 !important;
}

/* Game card logo wrapper - larger images without green background */
.game-card-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background-color: transparent;
}

/* Game card logo styling */
.game-card-logo {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effects for game cards */
.game-item:hover .game-card-logo,
.game-item:hover .game-icon {
    filter: drop-shadow(0 0 5px rgba(184, 134, 11, 0.7)) !important;
    transition: filter 0.3s ease, transform 0.3s ease !important;
}

.game-item:hover .game-card-logo {
    transform: scale(1.05) !important;
}

/* Remove old recent posts styling */
.recent-posts-section,
.recent-posts-grid,
.recent-post-item,
.recent-post-link,
.recent-post-image,
.recent-post-content,
.recent-post-title,
.recent-post-meta,
.recent-post-excerpt,
.post-thumbnail-placeholder,
.view-all-posts {
    /* Reset styles to prevent conflicts */
    all: unset;
}

/* Ensure menu items are visible on mobile */
@media (max-width: 767px) {
    .navbar.navbar-dark {
        display: block;
        width: 100%;
    }
    
    .navbar.navbar-dark .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin: 10px 0;
    }
    
    .navbar.navbar-dark .navbar-nav li {
        display: inline-block;
        margin: 5px 10px;
    }
    
    .navbar.navbar-dark .navbar-nav li a {
        padding: 8px 12px;
        display: block;
        background-color: rgba(37, 49, 36, 0.7);
        border-radius: 4px;
        color: #ffffff;
        text-align: center;
    }
    
    .navbar.navbar-dark .navbar-nav li a:hover {
        background-color: #a6cc8b;
        color: #253124;
        text-decoration: none;
    }
}

/* For Firefox which doesn't support styling option elements well */
@-moz-document url-prefix() {
    .gt_selector {
        border: none !important;
        background-color: rgba(37, 49, 36, 0.7) !important;
        color: #ffffff !important;
    }
}

/* For WebKit browsers */
.gt_selector::-webkit-scrollbar {
    width: 8px !important;
}

.gt_selector::-webkit-scrollbar-track {
    background: #253124 !important;
}

.gt_selector::-webkit-scrollbar-thumb {
    background-color: #a6cc8b !important;
    border-radius: 4px !important;
    border: 2px solid #253124 !important;
}

/* For when the dropdown is inside a container with specific positioning */
.gtranslate_wrapper {
    display: inline-block !important;
    position: relative !important;
    z-index: 100 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navbar positioning - no longer fixed, removed admin-bar offset */

/* Mobile sticky header */
@media screen and (max-width: 768px) {
    #header-background {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background-color: var(--main-bg, #253124) !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    }
    
    #header-container,
    #masthead,
    .site-header {
        z-index: 9999 !important;
    }
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    .gt_selector {
        min-width: 120px !important;
        font-size: 13px !important;
        padding: 5px 25px 5px 8px !important;
    }
}
/* 
 * Blog link styling for front page
 */

 .view-all-news {
    text-align: right;
    margin-top: 15px;
    padding-top: 10px;
    padding-right: 10px;
    border-top: 1px solid rgba(166, 204, 139, 0.2);
}

.view-all-news .blog-link {
    display: inline-block;
    color: #ffffff; /* Bright white for maximum contrast */
    text-decoration: none;
    font-weight: 700; /* Bolder text */
    font-size: 1rem; /* Slightly larger text */
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 6px; /* Add some padding */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    border-radius: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

.view-all-news .blog-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--highlight-color, #d4af37);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.view-all-news .blog-link:hover {
    color: var(--menu-text, #a6cc8b);
}

.view-all-news .blog-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.view-all-news .blog-link i {
    margin-right: 8px;
}

/* Blog Page Override Styles - Force dark text on white background */
.zc-news-blog-container {
    background-color: #fff !important;
    color: #333 !important;
}

.zc-news-blog-container * {
    color: #333 !important;
}

/* Exception: Keep white text on dark backgrounds */
.zc-news-blog-title {
    color: #fff !important; /* White text on dark hero banner */
}

.zc-news-description {
    color: #ccc !important; /* Light gray text on dark hero banner */
}

.zc-newsletter-signup,
.zc-newsletter-signup * {
    color: #fff !important; /* White text on dark newsletter background */
}

.zc-newsletter-signup h3 {
    color: #fff !important;
}

.zc-newsletter-signup p {
    color: #ccc !important;
}

.zc-post-title,
.zc-post-title a {
    color: #333 !important;
}

.zc-excerpt {
    color: #666 !important;
}

.zc-post-meta {
    color: #888 !important;
}

/* .section-title color defined in style.css */

.zc-featured-post-primary,
.zc-featured-post-secondary,
.zc-news-article {
    background-color: #fff !important;
    color: #333 !important;
}

.zc-category-filter {
    background-color: #fff !important;
    color: #333 !important;
}

.zc-category-filter h4 {
    color: #333 !important;
}

.zc-no-posts p {
    color: #666 !important;
}

/* Category Button Theme Colors */
.zc-category-buttons .btn-primary {
    background-color: #d4af37 !important; /* Gold */
    border-color: #d4af37 !important;
    color: #fff !important;
}

.zc-category-buttons .btn-primary:hover {
    background-color: #b8941f !important; /* Darker gold */
    border-color: #b8941f !important;
    color: #fff !important;
}

.zc-category-buttons .btn-outline-primary {
    color: #a6cc8b !important; /* Theme green */
    border-color: #a6cc8b !important;
    background-color: transparent !important;
}

.zc-category-buttons .btn-outline-primary:hover {
    background-color: #a6cc8b !important; /* Theme green */
    border-color: #a6cc8b !important;
    color: #fff !important;
}


/* Source: content-enhancements.css */
/**
 * Zelda Central Content Enhancements
 * Additional styling for content elements to improve readability and visual appeal
 */

/* Enhanced typography for content */
/* Link styling with the new muted olive green */
/* Removed duplicate link color and hover styles; now handled in style.css */

.entry-content p:not(.zc-profile-block p):not(.zc-profile-description) {
    line-height: var(--line-height-loose);
    margin-bottom: var(--space-lg);
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal !important;
}

.entry-content br {
    display: block;
    white-space: pre-line !important;
}

/* Override theme pattern for profile description line breaks on mobile */
/* REMOVED: Moved to blocks/character-block/style-index.css for better specificity */
/* These rules were conflicting with the block-specific layout */

/* Improved header styling - combined with typography-custom.css */
/* Removed duplicate .entry-content heading rules; now handled in style.css */

/* Header decorative underline - exclude profile blocks */
.entry-content h2:not(.zc-profile-block h2):not(.zc-profile-title)::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: rgba(166, 204, 139, 0.5);
    margin-top: var(--space-xs);
}

/* Enhanced quote styling */
.wp-block-quote {
    border-left: 4px solid var(--main-accent);
    margin: var(--space-xl) 0;
    padding: var(--space-md) 0 var(--space-md) var(--space-xl);
    font-style: italic;
    position: relative;
    background-color: rgba(166, 204, 139, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.wp-block-quote::before {
    content: "\201C";
    font-family: var(--font-family-accent);
    position: absolute;
    top: -0.2em;
    left: 0.3em;
    font-size: 3em;
    color: rgba(166, 204, 139, 0.3);
    font-style: normal;
}

.wp-block-quote p {
    margin-bottom: var(--space-xs);
    font-size: 1.1em;
    line-height: var(--line-height-normal);
    color: var(--text-muted);
}

/* Character quote styling */
blockquote.zelda-character-quote {
    border-left: 4px solid var(--main-gold);
    background-color: rgba(212, 175, 55, 0.05);
    padding: 1.5em 2em;
    margin: var(--space-xl) 0;
    position: relative;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

blockquote.zelda-character-quote::before {
    content: "\201C";
    position: absolute;
    top: -0.3em;
    left: 0.1em;
    font-size: 4em;
    color: rgba(212, 175, 55, 0.3);
    font-family: var(--font-family-accent);
}

/* List Styles - Enhanced for cross-browser compatibility */
.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol,
.content-area ul,
.content-area ol {
    margin-left: 2rem;
    padding-left: 0;
    margin-bottom: 2rem;
    list-style-position: outside;
}

.entry-content li,
.post-content li,
.page-content li,
.content-area li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
    padding-left: 0.5em;
    position: relative;
}

/* Basic list styling */

/* Apply green color only to bullets */
.entry-content ul li::marker,
.post-content ul li::marker,
.page-content ul li::marker,
.content-area ul li::marker {
    color: #8fb878; /* Green bullet color */
}

.entry-content ul li,
.post-content ul li,
.page-content ul li,
.content-area ul li {
    list-style-type: disc;
    /* Removed hard-coded color to match content text color */
    margin-bottom: 0.5rem;
}

/* Basic styling for ordered lists as fallback */
.entry-content ol li,
.post-content ol li,
.page-content ol li,
.content-area ol li {
    list-style-type: decimal;
}

/* Fix for deeply nested lists (4+ levels) to remove excessive spacing */
.entry-content ul ul ul ul,
.post-content ul ul ul ul,
.page-content ul ul ul ul,
.content-area ul ul ul ul,
.entry-content ol ol ol ol,
.post-content ol ol ol ol,
.page-content ol ol ol ol,
.content-area ol ol ol ol {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

/* Normalize spacing for all list nesting levels */
.entry-content li > ul,
.entry-content li > ol,
.post-content li > ul,
.post-content li > ol,
.page-content li > ul,
.page-content li > ol,
.content-area li > ul,
.content-area li > ol {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.entry-content ol li,
.post-content ol li,
.page-content ol li,
.content-area ol li {
    font-weight: normal;
}

/* Nested list styling */
.entry-content ul ul li,
.post-content ul ul li,
.page-content ul ul li,
.content-area ul ul li {
    list-style-type: circle;
}

.entry-content ul ul ul li,
.post-content ul ul ul li,
.page-content ul ul ul li,
.content-area ul ul ul li {
    list-style-type: square;
}

.entry-content ol li,
.post-content ol li,
.page-content ol li,
.content-area ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}

/* Nested list spacing */
.entry-content ul ul,
.post-content ul ul,
.page-content ul ul,
.content-area ul ul,
.entry-content ol ol,
.post-content ol ol,
.page-content ol ol,
.content-area ol ol {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}


/* Mixed list nesting */
.entry-content ul ol,
.post-content ul ol,
.page-content ul ol,
.content-area ul ol,
.entry-content ol ul,
.post-content ol ul,
.page-content ol ul,
.content-area ol ul {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

/* List item basic styling */
.entry-content li,
.post-content li,
.page-content li,
.content-area li {
    line-height: 1.5;
    padding-left: 0.25rem;
}

/* Image and caption enhancements */
.wp-block-image {
    margin: var(--space-lg) 0;
    max-width: 100%;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: none !important;
    margin-bottom: var(--space-md);
}

/* Fix for images forcing line breaks */
.entry-content img,
.entry-content .wp-block-image {
    display: inline-block;
    vertical-align: middle;
    margin: var(--space-lg) 0;
}

/* Allow text to wrap around images */
.entry-content p {
    overflow: auto; /* Ensures content flows around floated elements */
}

/* Clear floats after paragraphs that contain images */
.entry-content p:after {
    content: "";
    display: table;
    clear: both;
}

/* WordPress caption and figcaption - consolidated styling */
.wp-caption,
figcaption,
.wp-block-image figcaption {
    max-width: 100%;
    margin-bottom: 1.5em;
    font-family: var(--font-family-primary);
    font-size: 0.9em;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    line-height: var(--line-height-tight);
}

.wp-caption .wp-caption-text {
    margin: 0.8em 0 0;
}

/* Unified image spacing in content */
.entry-content > p > img,
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content p + .wp-block-image,
.entry-content p + figure,
.entry-content p + p > img {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Special spacing for images following headings */
.entry-content h1 + .wp-block-image,
.entry-content h2 + .wp-block-image,
.entry-content h3 + .wp-block-image,
.entry-content h4 + .wp-block-image,
.entry-content h5 + .wp-block-image,
.entry-content h6 + .wp-block-image,
.entry-content h1 + figure,
.entry-content h2 + figure,
.entry-content h3 + figure,
.entry-content h4 + figure,
.entry-content h5 + figure,
.entry-content h6 + figure,
.entry-content h1 + p > img,
.entry-content h2 + p > img,
.entry-content h3 + p > img,
.entry-content h4 + p > img,
.entry-content h5 + p > img,
.entry-content h6 + p > img {
    margin-top: var(--space-md);
}

/* Game information box */
.game-info-box {
    background-color: rgba(166, 204, 139, 0.1);
    border: 1px solid rgba(166, 204, 139, 0.3);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    position: relative;
}

.game-info-box::before {
    content: "Game Info";
    position: absolute;
    top: -10px;
    left: 15px;
    background-color: var(--main-light);
    padding: 0 10px;
    font-size: 0.9em;
    color: var(--text-link);
    font-weight: var(--font-weight-bold);
}

.game-info-box dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-xs);
    margin: 0;
}

.game-info-box dt {
    font-weight: var(--font-weight-bold);
    color: var(--text-link);
}

.game-info-box dd {
    margin: 0;
}

/* Spoiler text styling */
.spoiler {
    background-color: #333;
    color: transparent;
    cursor: pointer;
    padding: 0 var(--space-xs);
    border-radius: 3px;
    transition: all var(--transition-speed) var(--transition-easing);
    user-select: none;
    position: relative;
}

.spoiler::after {
    content: "Spoiler";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8em;
    font-style: italic;
}

.spoiler.revealed {
    background-color: rgba(166, 204, 139, 0.1);
    color: inherit;
}

.spoiler.revealed::after {
    display: none;
}

/* Embedded content styling */
.wp-block-embed {
    margin-bottom: 1.5em;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.wp-block-embed iframe {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: none !important;
}
/* Content Images and Figures - Enhanced for Block Editor */
/* Image styles moved to unified section at the end of the file */
.entry-content img {
    height: auto;
    max-width: 100%;
}

/* Figure positioning moved to unified section */
.entry-content figure {
    max-width: 100%;
    margin: 1em auto;
}

/* Remove block editor specific overrides to let the editor's native CSS work */

/* Ensure images inside figures display properly */
.entry-content figure img,
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Additional support for block editor centered images */
.wp-block-image.aligncenter img,
.wp-block-image .aligncenter img,
.is-layout-constrained > .wp-block-image.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Block editor specific alignment classes with !important to ensure they're not overridden */
.has-text-align-center,
.has-text-align-center img {
    text-align: center !important;
}

.has-text-align-left,
.has-text-align-left img {
    text-align: left !important;
}

.has-text-align-right,
.has-text-align-right img {
    text-align: right !important;
}

/* Caption styling - consolidated with .wp-caption at line 270 and figcaption at line 1430 */

/* Image size classes - retained just for reference, core handling moved to unified section */
.size-large {
    max-width: 100%;
}

.size-medium {
    max-width: 100%;
}

.size-thumbnail {
    max-width: 150px;
}

/* Entry Title */
.entry-title {
    color: #333;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
}

/* Featured Image */
.featured-image {
    margin-bottom: 20px;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Content area */
.entry-content {
    color: #333;
}

/* Headings - exclude profile blocks which have their own spacing */
.entry-content h1:not(.zc-profile-block h1):not(.zc-profile-title), 
.entry-content h2:not(.zc-profile-block h2):not(.zc-profile-title), 
.entry-content h3:not(.zc-profile-block h3):not(.zc-profile-title), 
.entry-content h4:not(.zc-profile-block h4):not(.zc-profile-title), 
.entry-content h5:not(.zc-profile-block h5):not(.zc-profile-title), 
.entry-content h6:not(.zc-profile-block h6):not(.zc-profile-title) {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

/* Removed custom font sizes to allow headings to inherit consistent sizing from theme defaults */
/* Duplicate .entry-content p rule removed - already defined at line 10 */

.entry-content > :first-child {
    margin-top: 0;
}

/* Base table styles (applies to all screen sizes) */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    border: 1px solid #ddd;
    overflow: visible;
    max-width: 100%;
}

.entry-content table th,
.entry-content table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: top;
}

.entry-content table th {
    background-color: #f7f7f7;
    font-weight: 600;
}

.entry-content table tr:nth-child(even) {
    background-color: rgba(166, 204, 139, 0.15);
}

/* Mobile-specific table styles */
@media (max-width: 768px) {
    .entry-content table {
        font-size: 14px;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 6px;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Allow text to wrap naturally */
    .entry-content table td p {
        margin: 0;
        white-space: normal;
    }
    
    .wp-block-quote {
        padding: 0.8em 0 0.8em 1.5em;
    }
    
    .wp-block-quote::before {
        font-size: 2.5em;
    }
    
    /* Ensure no text overlap in search results on mobile */
    .search-results .entry-title,
    .search-results .zc-btn.zc-btn--primary {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Improve table display on mobile */
    table {
        width: 100%;
        table-layout: fixed;
    }
    
    table td, 
    table th {
        word-break: break-word;
    }
    
    .game-info-box dl {
        grid-template-columns: 1fr;
    }
    
    .game-info-box dt {
        margin-top: 0.8em;
    }
    
    .game-info-box dt:first-child {
        margin-top: 0;
    }
    
    /* Only apply mobile-centered layout to images below a certain size */
    .entry-content img.alignleft,
    .entry-content img.alignright,
    .entry-content figure.alignleft,
    .entry-content figure.alignright,
    .entry-content .wp-caption.alignleft,
    .entry-content .wp-caption.alignright {
        /* Removed forced alignment override */
        max-width: 100%;
    }
    
    .wp-block-media-text {
        grid-template-columns: 1fr;
    }
    
    .wp-block-media-text .wp-block-media-text__content {
        padding: 8% 0;
    }
}

/* Shrine Hub Page Styling */
.shrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.shrine-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color, #ddd);
    border-radius: var(--border-radius, 6px);
    padding: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shrine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--main-accent, #a6cc8b);
}

.shrine-card h4 {
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-link, #3a5a32);
}

.shrine-card h4 a {
    text-decoration: none;
    color: inherit;
}

.shrine-card h4 a:hover {
    color: var(--text-link-hover, #a03000);
}

.shrine-card .shrine-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: var(--space-sm) 0;
    font-size: 0.9em;
    color: var(--text-muted);
}

.shrine-card .shrine-meta span {
    background: rgba(166, 204, 139, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(166, 204, 139, 0.3);
}

/* Enhanced Shrine Page Styles */
.shrine-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 0;
}

.shrine-type-badge::before {
    content: '';
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.shrine-type-puzzle {
    background-color: #e8f5e8;
    color: #2d4a26;
    border: 1px solid #b8d3b8;
}

.shrine-type-puzzle::before {
    background-image: url('../images/icon-1.png'); /* Puzzle icon */
}

.shrine-type-combat {
    background-color: #fff5f0;
    color: #a03000;
    border: 1px solid #ffccb3;
}

.shrine-type-combat::before {
    background-image: url('../images/icon-2.png'); /* Combat icon */
}

.shrine-type-proving {
    background-color: #fffdf0;
    color: #b8930a;
    border: 1px solid #f5e6a3;
}

.shrine-type-proving::before {
    background-image: url('../images/icon-3.png'); /* Proving Grounds icon */
}

.shrine-type-blessing {
    background-color: #f8f3ff;
    color: #6a4c93;
    border: 1px solid #d1bfff;
}

.shrine-type-blessing::before {
    background-image: url('../images/icon-4.png'); /* Rauru's Blessing icon */
}

.shrine-section {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: rgba(248, 232, 160, 0.05);
    border-left: 4px solid var(--main-accent);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.shrine-section.highlight {
    background: rgba(166, 204, 139, 0.08);
    border-left-color: var(--main-gold);
}

.shrine-section h3 {
    position: relative;
    padding-left: 2rem;
    margin-bottom: var(--space-lg);
}

.shrine-section h3::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--main-accent);
    font-size: 1.2em;
    line-height: 1;
}

/* Collapsible Content Sections */
.collapsible-section {
    border: 1px solid rgba(166, 204, 139, 0.3);
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
    overflow: hidden;
}

.collapsible-header {
    background: rgba(166, 204, 139, 0.1);
    padding: var(--space-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    user-select: none;
}

.collapsible-header:hover {
    background: rgba(166, 204, 139, 0.15);
}

.collapsible-header h4 {
    margin: 0;
    color: var(--text-link);
}

.collapsible-toggle {
    font-size: 1.2em;
    color: var(--main-accent);
    transition: transform 0.2s ease;
}

.collapsible-section.expanded .collapsible-toggle {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.5);
    display: none;
}

.collapsible-section.expanded .collapsible-content {
    display: block;
}

/* Map Layer Indicators */
.map-layer-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: var(--font-weight-medium);
}

.map-layer-surface {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.map-layer-sky {
    background: rgba(33, 150, 243, 0.1);
    color: #1565c0;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.map-layer-depths {
    background: rgba(103, 58, 183, 0.1);
    color: #4527a0;
    border: 1px solid rgba(103, 58, 183, 0.3);
}

/* Progress and Stats Styling */
.shrine-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(166, 204, 139, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-accent) 0%, var(--main-gold) 100%);
}

.stat-number {
    font-size: 2.5em;
    font-weight: var(--font-weight-bold);
    color: var(--text-link);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .shrine-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .shrine-card {
        padding: 1rem;
    }
    
    .shrine-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .shrine-section {
        padding: var(--space-md);
    }
}

/* Accessibility improvements */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #006400;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus styles for keyboard navigation */
.zc-btn.zc-btn--primary:focus,
.zc-btn.zc-btn--download:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px dotted #a6cc8b;
    outline-offset: 2px;
}

/* Skip link styles - Hidden by default, visible on focus */
.skip-link {
    background-color: #f1f1f1;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    color: #006400;
    font-weight: 700;
    left: 5px;
    padding: 10px;
    position: absolute;
    top: 5px;
    z-index: 100000;
    /* Hide by default to prevent FOUC */
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.skip-link:focus {
    /* Show on focus for accessibility */
    clip: auto !important;
    clip-path: none;
    height: auto;
    width: auto;
    overflow: visible;
    white-space: normal;
}

/* Print styles for better printing experience */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }
    
    #page {
        box-shadow: none !important;
        max-width: 100% !important;
    }
    
    .site-header,
    .site-navigation,
    .site-footer,
    .comments-area,
    .sidebar,
    .game-submenu-wrapper,
    .game-subpages-menu-container {
        display: none !important;
    }
    
    .entry-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .entry-content a {
        color: #000 !important;
        text-decoration: underline !important;
        border-bottom: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000 !important;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
        border: none !important;
        box-shadow: none !important;
    }
    
    blockquote, table, pre, code {
        page-break-inside: avoid;
    }
    
    ul, ol, dl {
        page-break-before: avoid;
    }
}

/* Ensure text wrapping works correctly with floated images */
.entry-content:after {
    content: "";
    display: table;
    clear: both;
}

/* Fix for WordPress image captions */
.wp-caption.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.wp-caption.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ======================================================================
 * WORDPRESS BLOCK EDITOR IMAGE ALIGNMENT - SIMPLIFIED
 * ====================================================================== */

/**
 * Core Image Alignment classes
 * These are the essential WordPress alignment classes that the block editor uses
 */

/* Basic container styling */
.wp-block-image {
    margin: 1.5em 0;
    max-width: 100%;
    position: relative;
}

/* Centered Images */
.aligncenter,
img.aligncenter,
.wp-block-image.aligncenter,
.wp-block-image .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    float: none;
    clear: both;
}

/* Left-aligned Images */
.alignleft,
img.alignleft,
.wp-block-image.alignleft,
.wp-block-image .alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    clear: left;
}

/* Right-aligned Images */
.alignright,
img.alignright,
.wp-block-image.alignright,
.wp-block-image .alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
    clear: right;
}

/* Image sizing within containers */
.wp-block-image img,
.alignleft img,
.alignright img,
.aligncenter img,
img.alignleft,
img.alignright,
img.aligncenter {
    height: auto;
    max-width: 100%;
}

/* CRITICAL FIX: Forces center alignment for images with inline styles */
.wp-block-image img[style*="width"],
.aligncenter img[style*="width"],
img.aligncenter[style*="width"],
img.wp-image-10604[style*="width"],
img[class*="wp-image-"][style*="width"],
figure.aligncenter img[style*="width"],
figure.aligncenter img,
.aligncenter img,
.wp-block-image.aligncenter img,
div[data-align="center"] img,
.block-editor-block-list__block[data-align="center"] img,
.wp-block[data-align="center"] img,
[style*="text-align: center"] img,
[style*="text-align:center"] img,
figure.wp-block-image.aligncenter img,
figure.aligncenter img[style],
.is-layout-constrained > .aligncenter img,
img.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
}

/* Specific fix for resized images in centered figures */
figure.aligncenter.is-resized img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
}

/* Handle case where parent container has text-align:center */
div[style*="text-align:center"] img,
p[style*="text-align:center"] img,
div[style*="text-align: center"] img,
p[style*="text-align: center"] img,
.has-text-align-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
}

/* Extra-strength selector to force center alignment */
.wp-block-image.aligncenter img[style],
.aligncenter .wp-block-image img[style],
.wp-block-image .aligncenter img[style],
img.aligncenter[style],
.aligncenter img[style],
.has-text-align-center .wp-block-image img,
[style*="text-align: center"] .wp-block-image img,
body .entry-content .aligncenter img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    text-align: center !important;
}

/* Target WordPress block editor specific alignment */
.block-editor [data-align="center"] img,
.block-editor [data-align="center"] .wp-block-image img,
.entry-content div.aligncenter img,
.entry-content p.has-text-align-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
}

/* --- Reinforce Block Editor Centered & Resized Figure --- */
/* Ensure the figure itself is centered by shrinking its width */
.entry-content .wp-block-image > figure.aligncenter.is-resized {
    display: block !important; /* Ensure block behavior */
    width: -moz-fit-content; /* Firefox */
    width: fit-content;     /* Standard */
    margin-left: auto !important; /* Center the block */
    margin-right: auto !important;
}

/* Ensure image inside is also centered (likely redundant due to earlier rules, but safe) */

/* ======================================================================
 * FIX IMAGE CAPTION WIDTH CONSTRAINT
 * ====================================================================== */

/* Override table-caption display that constrains caption width */
.wp-block-image .aligncenter > figcaption,
.wp-block-image .alignleft > figcaption,
.wp-block-image .alignright > figcaption,
.wp-block-image.aligncenter > figcaption,
.wp-block-image.alignleft > figcaption,
.wp-block-image.alignright > figcaption {
    display: block !important;
    width: 100% !important;
    margin-top: 0.25em !important;
}

/* ======================================================================
 * WALKTHROUGH NAVIGATION STYLES - Compact Version
 * ====================================================================== */

/* Target details block specifically containing a walkthrough link in summary */
/* Uses :has() selector for precise targeting without extra classes */
details.wp-block-details:has(summary a[href*="walkthrough"]) {
    border: 1px solid #a6cc8b;
    border-color: var(--main-accent, #a6cc8b);
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin: 1rem auto;
    padding: 0;
    overflow: visible;
    transition: box-shadow 0.3s ease;
    max-width: 600px;
    position: relative;
}

details.wp-block-details:has(summary a[href*="walkthrough"]):hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

details.wp-block-details:has(summary a[href*="walkthrough"]) summary {
    background-color: rgba(166, 204, 139, 0.12);
    padding: 10px 35px 10px 15px;
    cursor: pointer;
    position: relative;
    list-style: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, border-bottom-color 0.2s ease;
}

details.wp-block-details[open]:has(summary a[href*="walkthrough"]) summary {
    border-bottom-color: rgba(166, 204, 139, 0.25);
    background-color: rgba(166, 204, 139, 0.18);
}

details.wp-block-details:has(summary a[href*="walkthrough"]) summary:hover {
    background-color: rgba(166, 204, 139, 0.22);
}

/* Hide default marker */
details.wp-block-details:has(summary a[href*="walkthrough"]) summary::-webkit-details-marker {
    display: none;
}

/* Custom Arrow Indicator - Smaller */
details.wp-block-details:has(summary a[href*="walkthrough"]) summary::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--main-accent, #3a5a32);
    border-bottom: 2px solid var(--main-accent, #3a5a32);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.3s ease;
}

details.wp-block-details[open]:has(summary a[href*="walkthrough"]) summary::after {
    transform: translateY(-20%) rotate(225deg);
}

/* Summary Link Styling - Plain text appearance */
details.wp-block-details:has(summary a[href*="walkthrough"]) summary a {
    text-decoration: none;
    color: var(--text-color-normal, #333);
    font-weight: 600;
    font-size: 0.95em;
    display: block;
    pointer-events: none; /* Disable link clicking */
    cursor: default; /* Show default cursor instead of pointer */
}

details.wp-block-details:has(summary a[href*="walkthrough"]) summary a:hover {
    color: var(--text-color-normal, #333); /* Keep same color on hover */
}

/* List Styling - More compact with absolute positioning */
details.wp-block-details:has(summary a[href*="walkthrough"]) ul.wp-block-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #a6cc8b;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

details.wp-block-details:has(summary a[href*="walkthrough"]) li {
    padding: 8px 15px;
    border-bottom: 1px solid #f5f5f5;
    margin: 0 !important;
    transition: background-color 0.2s ease;
    line-height: 1.4;
}

details.wp-block-details:has(summary a[href*="walkthrough"]) li:last-child {
    border-bottom: none;
}

details.wp-block-details:has(summary a[href*="walkthrough"]) li:hover {
    background-color: #fafafa;
}

/* Inner Link Styling - Smaller font */
details.wp-block-details:has(summary a[href*="walkthrough"]) li a {
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-link, #2d5a3d);
    text-decoration: none;
}

details.wp-block-details:has(summary a[href*="walkthrough"]) li a:hover {
    text-decoration: underline;
    color: var(--main-accent, #a6cc8b);
}

/* Ensure strong tags are bold within walkthrough links */
details.wp-block-details:has(summary a[href*="walkthrough"]) li strong,
details.wp-block-details:has(summary a[href*="walkthrough"]) li a strong,
details.wp-block-details:has(summary a[href*="walkthrough"]) summary strong,
details.wp-block-details:has(summary a[href*="walkthrough"]) summary a strong {
    font-weight: 700 !important;
}

/* --- Center the PARENT div.wp-block-image if it contains a figure.aligncenter --- */
.entry-content div.wp-block-image:has(> figure.aligncenter) {
    /* Reset float/margins applied to alignleft/right divs */
    float: none !important;
    max-width: 100% !important; /* Allow centered block to be potentially wider */
    /* Apply centering styles */
    display: block !important;   /* Ensure block behavior (fit-content needs block) */
    width: -moz-fit-content;  /* Shrink width to allow centering */
    width: fit-content;
    margin-left: auto !important; /* Apply auto margins to center the div */
    margin-right: auto !important;
    margin-bottom: 1em !important; /* Consistent bottom margin */
}

/* --- Float the entire block-image container when it contains a floated figure --- */
.entry-content div.wp-block-image:has(> figure.alignleft) {
    float: left !important;
    max-width: 50% !important;      /* Prevent floated block taking too much width */
    margin-right: 1.5em !important; /* Add space next to the floated block */
    margin-left: 0 !important;
    margin-bottom: 1em !important;  /* Consistent bottom margin */
    width: auto !important;         /* Allow div to shrink if content is smaller */
    display: block !important;      /* Ensure block behaviour before float */
}

.entry-content div.wp-block-image:has(> figure.alignright) {
    float: right !important;
    max-width: 50% !important;
    margin-left: 1.5em !important;
    margin-right: 0 !important;
    margin-bottom: 1em !important;
    width: auto !important;
    display: block !important;
}

/* --- Styling for Floated Block Editor Images (float/margins handled by parent div) --- */
.entry-content .wp-block-image > figure.alignleft {
    display: block !important; /* Ensure block display */
    margin-bottom: 0 !important;  /* REMOVED - Handled by parent div */
    margin-left: 0 !important;     /* Ensure no left margin */
    margin-right: 0 !important;    /* Ensure no right margin */
    margin-top: 0 !important;      /* Ensure no top margin */
    clear: none !important;        /* Remove any conflicting clear */
    max-width: 100%;           /* Figure can take full width *of its parent div* */
}

.entry-content .wp-block-image > figure.alignright {
    display: block !important;
    margin-bottom: 0 !important;  /* REMOVED - Handled by parent div */
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    clear: none !important;
    max-width: 100%;
}

/* Caption styling consolidated at line 270 */

/* Rule targeting paragraph width/overflow is likely no longer needed if parent div floats */
/* .entry-content div.wp-block-image:has(> figure.alignleft) + p,
   .entry-content div.wp-block-image:has(> figure.alignright) + p {
       overflow: visible !important; 
       width: auto !important; 
   } */

/* Ensure ALL subsequent paragraphs can wrap around the floated image block */
.entry-content div.wp-block-image:has(> figure.alignleft) ~ p,
.entry-content div.wp-block-image:has(> figure.alignright) ~ p {
    clear: none !important; /* Explicitly prevent clearing for subsequent paragraphs */
    width: auto !important; /* Override inline/JS fixed width */
}

/* Ensure following content clears the float */
/* .entry-content .wp-block-image + * {
    clear: both;
} */

/* --- Reduce paragraph spacing within profile blocks --- */
.zc-profile-block .zc-profile-content p {
    margin-bottom: 0.25em !important; /* Adjust value as needed */
    line-height: var(--line-height-tight) !important; /* Reduce line height for tighter visual spacing */
}


/* Source: typography-custom.css */
/**
 * Typography Customization CSS
 *
 * These styles enhance the custom typography options
 * and ensure they work well with the existing theme.
 */

/* Ensure heading anchors work with fixed headers */
.entry-content h1[id],
.entry-content h2[id],
.entry-content h3[id],
.entry-content h4[id],
.entry-content h5[id],
.entry-content h6[id] {
    scroll-margin-top: 80px; /* Adjust based on your header height */
}

/* Prevent text overflow in custom typography */
.custom-typography h1,
.custom-typography h2,
.custom-typography h3,
.custom-typography h4,
.custom-typography h5,
.custom-typography h6,
.custom-typography p,
.custom-typography li,
.custom-typography blockquote,
.custom-typography table {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    max-width: 100%;
}

/* Ensure all typography elements have proper spacing */
.custom-typography h1,
.custom-typography h2,
.custom-typography h3,
.custom-typography h4,
.custom-typography h5,
.custom-typography h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.custom-typography p,
.custom-typography ul,
.custom-typography ol,
.custom-typography blockquote {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* Anchor link styling improvements */
.zc-heading-anchor {
    box-shadow: none !important;
    border-bottom: none !important;
    position: relative;
}

@media (max-width: 768px) {
    .zc-heading-anchor {
        display: inline-block;
        margin-left: 0.2em;
    }
    
    .custom-typography h1,
    .custom-typography h2,
    .custom-typography h3,
    .custom-typography h4,
    .custom-typography h5,
    .custom-typography h6 {
        line-height: 1.3;
    }
}


/* Source: variables.css */
/* Centralized CSS Variables for Zelda Central Theme */
:root {
    /* Core Theme Colors */
    --menu-bg: #151e14;
    --menu-text: #a6cc8b;
    --highlight-color: #d4af37;
    --light-brown: #2a3a29;
    --glow-color: rgba(236, 215, 73, 0.8);
    --subpage-bg: #f8e8a0;
    --subpage-text: #000000;
    --subpage-highlight: #a03000;
    --main-bg: #253124;
    --main-accent: #a6cc8b;
    --main-dark: #1a2419;
    --main-light: #fff;
    --main-brown: #000000;
    --main-gold: #d4af37;
    --main-green: #8fb878;
    --main-shadow: rgba(0,0,0,0.2);
    
    /* Text Colors */
    --text-primary: #000000;
    --text-secondary: #1a2419;
    --text-light: #fff;
    --text-link: #3a5a32; /* Dark forest green for better contrast */
    --text-link-hover: #a03000;
    --text-muted: #666;
    
    /* Dimensions */
    --border-radius: 5px;
    --border-radius-lg: 8px;
    --transition-speed: 0.25s;
    --transition-easing: ease-in-out;
    --menu-height: 145px;
    --menu-item-width: 135px;
    --menu-item-height: 135px;
    --icon-size: 70px;
    --scroll-btn-width: 35px;
    
    /* Spacing - for consistent margins and padding */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-xxl: 3rem;     /* 48px */
    
    /* Typography */
    --font-family-primary: 'Outfit', sans-serif;
    --font-family-accent: 'EB Garamond', serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --font-weight-extra-bold: 700;
    --line-height-normal: 1.5;
    --line-height-tight: 1.3;
    --line-height-loose: 1.8;
    
    /* Container widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
    
    /* Z-index layers */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* Pattern Colors - used in block editor and patterns */
    --pattern-bg: #f8e8a0;
    --pattern-text: #4a3000;
    --pattern-accent: #a03000;
    --pattern-header-bg: #253124;
    --pattern-header-text: #ffffff;
}


/* Source: game-menu.css */
/**
 * Game Menu CSS - Optimized Version
 * Performance improvements: 
 * - Consolidated duplicate selectors
 * - Using CSS variables for consistent styling
 * - Optimized specificity for better rendering
 */

/* Game Menu Header - "Choose Your Adventure" */
.game-menu-header {
    background: linear-gradient(135deg, rgba(37, 49, 36, 0.95), rgba(42, 58, 41, 0.95));
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 6px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-menu-header::before,
.game-menu-header::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(212, 175, 55, 0.4);
    font-size: 14px;
}

.game-menu-header::before {
    left: 20px;
}

.game-menu-header::after {
    right: 20px;
}

.adventure-heading {
    font-family: 'Cinzel', serif, 'EB Garamond', serif, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--highlight-color);
    margin: 0;
    padding: 0;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
}

.adventure-heading::before,
.adventure-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--highlight-color), transparent);
}

.adventure-heading::before {
    right: calc(100% + 15px);
}

.adventure-heading::after {
    left: calc(100% + 15px);
}

/* Game Menu Wrapper */
.game-submenu-wrapper {
    position: relative;
    height: var(--menu-height);
    width: 100%;
    background-color: var(--menu-bg);
    border-top: 1px solid var(--light-brown);
    border-bottom: 1px solid var(--light-brown);
    overflow: visible;
    z-index: 1000;
    margin: 0;
    padding: 0 10px 0 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 204, 139, 0.5) rgba(0, 0, 0, 0.1);
}

/* Container for the menu */
.game-menu-container {
    width: 100%;
    background: var(--menu-bg);
    border-bottom: 1px solid rgba(74, 48, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Wrapper for scrollable icons */
.game-icons-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 10;
    padding-left: var(--scroll-btn-width);
    box-sizing: border-box;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

.game-icons-wrapper::-webkit-scrollbar {
    display: none;
}

/* Menu structure */
.game-menu {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 var(--scroll-btn-width);
}

.game-menu-list,
.game-icons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    /* overflow-x: auto; Removed for scroll fix */
    /* scroll-behavior: smooth; Removed for scroll fix */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.game-menu-list::-webkit-scrollbar {
    display: none;
}

.game-icons-list {
    height: 100%;
    width: auto;
    padding-right: 40px !important;
    position: relative;
}

.game-icons-list li:last-child {
    margin-right: 5px !important;
    position: relative;
    z-index: 5;
}

/* Menu items */
.game-menu-item,
.game-icons-list li {
    position: relative;
    flex: 0 0 var(--menu-item-width);
    min-width: var(--menu-item-width);
    height: 100%;
    margin: 0;
    padding: 6px 2px 0 2px;
    display: flex;
    scroll-snap-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all var(--transition-speed) var(--transition-easing);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    z-index: 10;
    overflow: visible;
}

.game-menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff !important;
    width: 100%;
    height: 100%;
}

.game-menu-link .game-menu-title {
    color: var(--text-light) !important;
}

.game-menu-link:hover .game-menu-title,
.game-menu-link:focus .game-menu-title {
    color: #ffd700 !important;
}

.game-menu-link:hover,
.game-menu-link:focus {
    color: var(--highlight-color);
    text-decoration: none;
}


.game-menu-icon {
    width: 100%;
    max-width: 100%;
    height: 90px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform var(--transition-speed) var(--transition-easing), background var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing), border-color var(--transition-speed) var(--transition-easing);
    /* Light gold background */
    background: 
        linear-gradient(135deg, 
            rgba(248, 232, 160, 0.98) 0%, 
            rgba(245, 225, 145, 0.98) 50%, 
            rgba(242, 218, 130, 0.98) 100%);
    padding: 8px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border: 2px solid rgba(37, 49, 36, 0.4);
    border-bottom: none;
}

.game-menu-title {
    width: 100%;
    max-width: var(--menu-item-width);
    height: 34px;
    font-size: 11px;
    text-align: center;
    color: #fff;
    background: rgba(160, 120, 40, 0.95);
    padding: 5px 4px;
    margin-top: 0;
    line-height: 1.2;
    font-weight: 600;
    font-family: var(--font-family-primary);
    transition: all 0.3s ease;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(37, 49, 36, 0.4);
    border-top: 1px solid rgba(37, 49, 36, 0.2);
    /* Allow text wrapping for long names */
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.game-menu-item:last-child {
    margin-right: 5px;
}

/* ==================
   Active Game and Hover Styling
   ================== */
.game-menu-item.active-game,
.game-icons-list li.active-game,
.game-icons-list li.current-menu-item,
.game-icons-list li.current-menu-parent,
.game-icons-list li.current-page-parent {
    position: relative !important;
    z-index: 15;
}

.game-menu-item.active-game,
.game-icons-list li.active-game,
.game-icons-list li.current-menu-item,
.game-icons-list li.current-menu-parent {
    padding-top: 12px;
    margin-top: 6px;
    width: 130px; /* Increased width */
    display: flex;
    justify-content: center;
}

/* Enhanced active game and hover styling - consolidated */
/* Active game icon styling */
.active-game .game-menu-icon,
.game-menu-item.active-game .game-menu-icon,
.game-icons-list li.active-game .game-menu-icon,
.game-icons-list li.current-menu-item .game-menu-icon,
.game-icons-list li.current-menu-parent .game-menu-icon,
.game-icons-list li.current-page-parent .game-menu-icon,
.show-active .game-menu-icon {
    background: 
        linear-gradient(135deg, 
            rgba(255, 240, 180, 1) 0%, 
            rgba(252, 235, 165, 1) 50%, 
            rgba(250, 230, 150, 1) 100%) !important;
    border: 3px solid var(--highlight-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 40px rgba(212, 175, 55, 0.08);
}

/* Active game - lift entire card */
.game-menu-item.active-game,
.game-icons-list li.active-game,
.game-icons-list li.current-menu-item,
.game-icons-list li.current-menu-parent {
    transform: translateY(-5px) !important;
}

/* Icon hover effects */
.game-menu-item:hover .game-menu-icon,
.game-icons-list li:hover .game-menu-icon {
    background: 
        linear-gradient(135deg, 
            rgba(252, 238, 175, 1) 0%, 
            rgba(250, 232, 160, 1) 50%, 
            rgba(248, 228, 150, 1) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Hover effect - lift entire card */
.game-menu-item:hover,
.game-icons-list li:hover {
    transform: translateY(-3px);
}

/* Hover text styling */
.game-menu-item:hover .game-menu-title,
.game-icons-list li:hover .game-menu-title {
    background: rgba(180, 135, 50, 0.95);
    color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Active game text styling */
.active-game .game-menu-title,
.game-menu-item.active-game .game-menu-title,
.game-icons-list li.active-game .game-menu-title,
.game-icons-list li.current-menu-item .game-menu-title,
.game-icons-list li.current-menu-parent .game-menu-title,
.show-active .game-menu-title {
    background: linear-gradient(135deg, var(--highlight-color), rgba(212, 175, 55, 0.9)) !important;
    color: #1a2419 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    border-color: var(--highlight-color) !important;
}

/* Circle background effect removed - icons now display without circular container */

/* ==================
   Game Dropdown Styling
   ================== */
.game-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    z-index: 500;
    background: linear-gradient(135deg, rgba(248, 232, 160, 0.98), rgba(248, 232, 160, 0.95));
    border-top: 2px solid rgba(212, 175, 55, 0.4);
    border-bottom: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 25px 20px;
    display: none;
    animation: fadeIn 0.3s ease-out forwards;
    max-width: 100vw;
}

.game-dropdown.active {
    display: flex !important;
    flex-direction: column;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Remove any mobile-specific dropdown containers */
.mobile-dropdown-container,
.game-mobile-dropdown {
    display: none !important;
}

/* Override any mobile-specific styling */
/* No dropdown styles for mobile */
@media (max-width: 768px) {
    /* Remove all dropdown elements on mobile */
    .game-dropdown,
    .game-dropdown.active,
    .mobile-dropdown-container,
    .game-mobile-dropdown,
    .dropdown-container,
    .has-dropdown::after,
    .dropdown-toggle,
    .dropdown-content,
    .dropdown-header,
    .dropdown-links,
    .dropdown-link,
    .dropdown-section {
        display: none !important;
    }
}

.dropdown-section {
    margin-bottom: 20px;
}

.dropdown-header {
    color: var(--subpage-text);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(74, 48, 0, 0.15);
    padding-bottom: 8px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.4;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--subpage-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 4px;
    transition: color var(--transition-speed) var(--transition-easing),
                background var(--transition-speed) var(--transition-easing),
                transform var(--transition-speed) var(--transition-easing);
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: normal;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.dropdown-link:hover {
    background: rgba(160, 48, 0, 0.1);
    color: var(--subpage-highlight);
    transform: translateY(-1px);
}

.dropdown-link.current {
    background: rgba(160, 48, 0, 0.15);
    color: var(--subpage-highlight);
    box-shadow: inset 0 0 0 1px rgba(160, 48, 0, 0.2);
}

.dropdown-link.main-link {
    font-weight: 600;
}

/* ==================
   Scroll Buttons
   ================== */
.game-menu-scroll-left,
.game-menu-scroll-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--scroll-btn-width);
    height: calc(var(--menu-height) - 2px);
    background: linear-gradient(135deg, rgba(37, 49, 36, 0.95), rgba(42, 58, 41, 0.95));
    color: var(--highlight-color);
    border: none;
    cursor: pointer;
    z-index: 20;
    transition: all var(--transition-speed) var(--transition-easing);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.game-menu-scroll-left {
    left: 0;
    border-right: 2px solid rgba(212, 175, 55, 0.3);
}

.game-menu-scroll-right {
    right: 0;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
}

.game-menu-scroll-left:hover,
.game-menu-scroll-right:hover {
    background: linear-gradient(135deg, rgba(42, 58, 41, 0.98), rgba(48, 68, 47, 0.98));
    color: #ffd700;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(212, 175, 55, 0.3);
}

.game-menu-scroll-left.disabled,
.game-menu-scroll-right.disabled {
    opacity: 0.5;
    cursor: default;
}

/* ==================
   Game Subpages Menu
   ================== */
.game-subpages-menu-container {
    width: 100%;
    background: var(--subpage-bg);
    border-bottom: 1px solid rgba(74, 48, 0, 0.15);
    padding: 0.75rem 0;
    margin: 0;
    text-align: center;
    display: none; /* Hidden by default */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.game-subpages-menu-container.active {
    display: block; /* Show when active */
}

.game-subpages-menu {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Mobile adjustments for game subpages menu */
@media (max-width: 768px) {
    .game-subpages-menu {
        padding: 0 0.25rem;
    }
}

.game-subpages-title {
    color: var(--subpage-text);
    font-size: 1rem;
    margin: 0 0 0.75rem;
    padding: 0 0 0.5rem;
    font-weight: normal;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border: none;
    background: none;
    display: block;
    position: relative;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.game-subpages-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: rgba(74, 48, 0, 0.15);
}

.game-subpages-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-subpages-list li {
    margin: 0;
    padding: 0;
}

.subpage-link {
    color: var(--subpage-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color var(--transition-speed) var(--transition-easing),
                background var(--transition-speed) var(--transition-easing),
                transform var(--transition-speed) var(--transition-easing);
    font-size: 0.9rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.4;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.subpage-link:hover {
    background: rgba(160, 48, 0, 0.1);
    color: var(--subpage-highlight);
    transform: translateY(-1px);
}

.subpage-link.current {
    background: rgba(160, 48, 0, 0.15);
    color: var(--subpage-highlight);
    box-shadow: inset 0 0 0 1px rgba(160, 48, 0, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .game-subpages-title {
        font-size: 0.95rem;
        padding: 0 1rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .game-subpages-list {
        gap: 0.4rem;
        padding: 0 0.25rem;
    }
    
    .subpage-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .game-submenu-wrapper,
    .game-menu-scroll-left,
    .game-menu-scroll-right,
    .game-dropdown {
        display: none !important;
    }
    
    .game-subpages-menu-container {
        border: none;
        background: none;
        box-shadow: none;
    }
    
    .game-subpages-title,
    .subpage-link {
        color: #000;
        text-shadow: none;
    }
    
    .subpage-link:hover,
    .subpage-link.current {
        background: none;
        color: #000;
        transform: none;
        box-shadow: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .subpage-link {
        transition: none;
    }
    
    .subpage-link:hover {
        transform: none;
    }
}

/* Tablet adjustments */
@media (max-width: 990px) {
    /* Ensure text remains readable */
    .dropdown-content {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .dropdown-header {
        font-size: 17px;
        padding-bottom: 6px;
    }
}

/* Tablet and mobile adjustments */
@media (max-width: 768px) {
    :root {
        --menu-height: 145px;
        --menu-item-width: 80px;
        --menu-item-height: 132px;
        --icon-size: 48px;
        --scroll-btn-width: 20px;
    }
    
    .game-menu-title {
        font-size: 0.8em;
        line-height: 1.2;
        min-height: 35px;
        padding-top: 8px;
    }
    
    /* Mobile dropdown behavior */
    .game-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--menu-height);
        max-height: calc(100vh - var(--menu-height));
        overflow-y: auto;
        background-color: var(--menu-bg);
        border-top: 1px solid var(--light-brown);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 10px;
    }
    
    .dropdown-section {
        background-color: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .dropdown-header {
        color: var(--highlight-color);
        font-size: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--light-brown);
        margin-bottom: 10px;
    }
    
    .dropdown-link {
        color: #d4af37;
        padding: 10px;
        border-radius: var(--border-radius);
        background-color: rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .dropdown-link:hover,
    .dropdown-link:focus {
        background-color: var(--light-brown);
        color: var(--highlight-color);
    }
    
    /* Game menu item improvements */
    .game-menu-item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 5px;
    }
    
    .game-menu-link {
        height: 100%;
        padding: 8px 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .game-menu-icon {
        margin-bottom: 12px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    :root {
        --menu-height: 120px;
        --menu-item-width: 70px;
        --menu-item-height: 110px;
        --icon-size: 44px;
    }
    
    .game-menu-title {
        font-size: 0.75em;
        min-height: 32px;
        padding-top: 6px;
    }
    
    .dropdown-header {
        font-size: 15px;
    }
    
    .dropdown-link {
        font-size: 14px;
        padding: 8px;
    }
}

.game-submenu-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.game-submenu-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.game-submenu-wrapper::-webkit-scrollbar-thumb {
    background: rgba(166, 204, 139, 0.5);
    border-radius: 4px;
}

.game-submenu-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 204, 139, 0.7);
}

/* ==================
   Animations
   ================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulsate {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
}

/* ==================
   Accessibility
   ================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Print styles for better accessibility */
@media print {
    .game-submenu-wrapper,
    .game-menu-scroll-left,
    .game-menu-scroll-right,
    .game-dropdown {
        display: none !important;
    }
    
    .game-subpages-menu-container {
        border: none;
        background-color: transparent;
        color: #000;
    }
    
    .subpage-menu-link,
    .subpage-menu-link:hover,
    .subpage-menu-link.current {
        color: #000;
        text-decoration: none;
    }
}

/* Small mobile adjustments - consolidated */
@media (max-width: 600px) {
    /* Hide separator on small screens */
    .game-separator {
        display: none;
    }
}

.game-submenu-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 204, 139, 0.7);
}


/* Source: blog-enhancements.css */
/**
 * Zelda Central Blog Enhancements
 * Dedicated styling for blog posts to improve organization and visual appeal
 */

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid rgba(58, 90, 50, 0.1);
}

.social-share .share-title {
    font-weight: 600;
    color: #3a5a32;
    font-size: 0.95rem;
    margin-right: 8px;
}

.social-share .share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.social-share .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-share .share-facebook {
    background: #1877f2;
}

.social-share .share-facebook:hover {
    background: #0d65d9;
}

.social-share .share-twitter {
    background: #1da1f2;
}

.social-share .share-twitter:hover {
    background: #0c8de4;
}

.social-share .share-reddit {
    background: #ff4500;
}

.social-share .share-reddit:hover {
    background: #e03d00;
}

.social-share .share-linkedin {
    background: #0a66c2;
}

.social-share .share-linkedin:hover {
    background: #084d94;
}

.social-share .share-email {
    background: #3a5a32;
}

.social-share .share-email:hover {
    background: #2d4627;
}

.social-share .share-copy {
    background: #6c757d;
}

.social-share .share-copy:hover {
    background: #5a6268;
}

@media (max-width: 576px) {
    .social-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-share .share-title {
        margin-bottom: 8px;
    }
}

/* Blog Post Card Styling - Matches Front Page News Items */
.post-card {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.post-card .post-thumbnail {
    flex: 0 0 140px;
    position: relative;
    margin: 0 15px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.post-card .post-thumbnail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.post-card .card-body {
    flex: 1;
    padding: 0 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card .entry-header .entry-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
    overflow: hidden;
}

.post-card .entry-title a {
    color: #4a3000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card .entry-title a:hover {
    color: #a03000 !important;
    text-decoration: underline;
}

.post-card .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-card .entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-card .entry-meta .posted-on {
    color: #4a3000;
}

.post-card .entry-meta .cat-links a {
    color: #a03000;
    text-decoration: none;
}

.post-card .entry-meta .cat-links a:hover {
    color: #d04000;
    text-decoration: underline;
}

.post-card .entry-content {
    font-size: 0.9rem;
    color: #4a3000;
    line-height: 1.4;
}

.post-card .read-more {
    color: #a03000;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.25rem;
    display: inline-block;
}

.post-card .read-more:hover {
    color: #d04000;
    text-decoration: underline;
}

/* Featured Image Hero */
.featured-image-hero {
    position: relative;
    width: 100%;
    max-height: 500px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    /* Reserve space to prevent CLS */
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
}

.featured-image-hero img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.hero-category-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1;
}

/* Fix breadcrumb clickability on blog posts */
.breadcrumbs,
div.breadcrumbs,
nav.breadcrumbs,
.rank-math-breadcrumb,
nav.rank-math-breadcrumb,
nav[aria-label="breadcrumbs"] {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    pointer-events: auto !important;
}

.hero-category-badge a {
    display: inline-block;
    background: rgba(58, 90, 50, 0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.hero-category-badge a:hover {
    background: rgba(58, 90, 50, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 3rem 2rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    color: #fff !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    border: none !important;
    padding: 0 !important;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #fff;
    font-size: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
}

.hero-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 1.5rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .featured-image-hero {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        margin-bottom: 1rem !important;
        overflow: visible !important;
        max-height: none !important;
    }
    
    .hero-overlay {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        background: #fff !important;
        padding: 1rem !important;
        border-radius: 0 0 12px 12px !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        color: #4a3000 !important;
        text-shadow: none !important;
    }
    
    .hero-meta {
        font-size: 0.9rem !important;
        gap: 1rem !important;
        color: #666 !important;
        text-shadow: none !important;
    }
    
    .hero-meta span {
        color: #666 !important;
    }
    
    .hero-meta span:not(:last-child)::after {
        margin-left: 1rem;
    }
    
    .hero-category-badge {
        top: 1rem;
        right: 1rem;
    }
    
    .hero-category-badge a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .featured-image-hero {
        margin-bottom: 0.75rem !important;
    }
    
    .hero-overlay {
        padding: 0.75rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-meta {
        font-size: 0.85rem !important;
        gap: 0.75rem !important;
    }
}

/* Single Post Styling */
.single-post article.post {
    background-color: #fff;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.single-post .entry-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
}

.single-post .entry-title {
    font-size: 2rem;
    color: #006400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.single-post .entry-meta span {
    display: flex;
    align-items: center;
}

.single-post .entry-meta i {
    margin-right: 0.4rem;
    color: #a6cc8b;
}

.single-post .featured-image {
    margin: -2rem -2rem 2rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    max-height: 500px;
}

.single-post .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.single-post .entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.single-post .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.single-post .tags-title {
    font-weight: 600;
    color: #006400;
}

.single-post .tag-links a {
    display: inline-block;
    background-color: rgba(166, 204, 139, 0.1);
    color: #006400;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.single-post .tag-links a:hover {
    background-color: #a6cc8b;
    color: #fff;
}

.single-post .post-tags,
.single-post .post-categories-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.single-post .tags-title,
.single-post .categories-title {
    font-weight: 600;
    color: #006400;
}

.single-post .tag-links a,
.single-post .category-links a {
    display: inline-block;
    background-color: rgba(166, 204, 139, 0.1);
    color: #006400;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.single-post .tag-links a:hover,
.single-post .category-links a:hover {
    background-color: #a6cc8b;
    color: #fff;
}

.single-post .post-categories-inline {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Author Bio Styling */
.author-bio {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.author-bio .author-avatar {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.author-bio .author-avatar img {
    border-radius: 50%;
    border: 3px solid #a6cc8b;
}

.author-bio .author-content {
    flex: 1;
}

.author-bio .author-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #006400;
}

.author-bio .author-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.author-bio .zc-btn.zc-btn--primary {
    margin-right: 1.5rem;
}

.author-bio .author-posts-link {
    display: inline-block;
    margin-top: 1rem;
    color: #006400;
    text-decoration: none;
    font-size: 0.9rem;
}

.author-bio .author-posts-link:hover {
    color: #a6cc8b;
}

/* Related Posts Styling */
.related-posts {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--background-light, #fff);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color, #e4e4e4);
}

.related-posts h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary, #333);
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.related-posts h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--highlight-color, #d4af37);
}

.related-posts .row {
    margin: 0 -0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.related-posts .col {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

.related-post-card {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.25s ease;
    position: relative;
    background-color: #fff;
}

.related-post-card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.related-post-card .card-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.related-post-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-post-card:hover .card-image::after {
    opacity: 1;
}

.related-post-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.related-post-card:hover .card-image img {
    transform: scale(1.08);
}

.related-post-card .card-body {
    padding: 0.75rem;
    position: relative;
    z-index: 1;
}

.related-post-card .entry-title {
    font-size: 0.95rem;
    margin: 0 0 0.4rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--text-primary, #333);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-post-card .entry-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.related-post-card .entry-meta i {
    margin-right: 0.3rem;
    color: var(--main-green, #3c8d40);
}

@media (max-width: 767px) {
    .related-posts {
        padding: 1rem;
    }
    
    .related-posts .col {
        margin-bottom: 1rem;
    }
    
    .related-post-card .card-image {
        height: 140px;
    }
}

/* Archive Page Enhancements */
.archive-header {
    background-color: #f8e8a0;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    color: #4a3000;
    border: 1px solid rgba(160, 48, 0, 0.2);
}

.archive-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.archive-title {
    color: #4a3000;
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.archive-title i {
    color: #a03000;
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #4a3000;
}

/* Removed brown accent below homepage headers */

.archive-description {
    color: #4a3000;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.archive-post-count {
    font-size: 0.95rem;
    color: #4a3000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(160, 48, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.archive-post-count i {
    color: #a03000;
}

/* Subcategories Section */
.subcategories {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(160, 48, 0, 0.2);
}

.subcategories h4 {
    color: #4a3000;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subcategories h4 i {
    color: #a03000;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(160, 48, 0, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcategory-card:hover {
    background-color: #a03000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.subcategory-name {
    font-weight: 600;
    color: #4a3000;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.subcategory-card:hover .subcategory-name {
    color: #fff;
}

.subcategory-count {
    font-size: 0.85rem;
    color: #a03000;
    font-weight: 500;
}

.subcategory-card:hover .subcategory-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Category Badge on Posts */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #a03000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.category-badge i {
    font-size: 0.7rem;
}

.archive-items {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a03000' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-color: #f8e8a0;
}

.sidebar-section {
    background-color: #f8e8a0;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    color: #4a3000;
}

/* Update Category List Styling */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.category-list span {
    display: inline-block;
    margin-right: 0.25rem;
    margin-bottom: 0.5rem;
}

.category-list span a {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    color: #4a3000;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(160, 48, 0, 0.2);
}

.category-list span a:hover {
    background-color: #a03000;
    color: #fff;
    text-decoration: none;
}

.category-list span.current-category a {
    background-color: #a03000;
    color: #fff;
    font-weight: 500;
}

/* Category Dropdown for Sidebar */
.sidebar-section .category-list {
    position: relative;
}

.sidebar-section .category-list.dropdown-mode {
    display: block;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(166, 204, 139, 0.1) 0%, rgba(248, 232, 160, 0.15) 100%);
    border: 1px solid rgba(160, 48, 0, 0.2);
    border-radius: 8px;
    color: #4a3000;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(166, 204, 139, 0.15) 0%, rgba(248, 232, 160, 0.2) 100%);
    border-color: rgba(160, 48, 0, 0.3);
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #a03000;
}

.sidebar-section .category-list.dropdown-mode.open .category-dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: #fff;
    border: 1px solid rgba(160, 48, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    padding: 0.5rem;
}

.sidebar-section .category-list.dropdown-mode.open .category-dropdown-content {
    display: block;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content span {
    display: block;
    margin: 0;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content span a {
    display: block;
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #4a3000;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content span a:hover {
    background-color: rgba(166, 204, 139, 0.15);
    color: #4a3000;
    padding-left: 1.25rem;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content span.current-category a {
    background-color: #a03000;
    color: #fff;
    font-weight: 500;
}

.sidebar-section .category-list.dropdown-mode .category-dropdown-content span.current-category a:hover {
    background-color: #8a2800;
    padding-left: 1rem;
}

/* Pagination Styling */
.pagination-nav,
.nav-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-nav .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    background-color: #fff;
    color: #4a3000;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(160, 48, 0, 0.2);
    font-weight: 500;
}

.pagination-nav .page-numbers.current,
.nav-links .page-numbers.current {
    background-color: #a03000;
    color: #fff;
    border-color: #a03000;
}

.pagination-nav .page-numbers:hover:not(.current),
.nav-links .page-numbers:hover:not(.current) {
    background-color: #f8e8a0;
    border-color: #a03000;
}

.pagination-nav .prev,
.pagination-nav .next,
.nav-links .prev,
.nav-links .next {
    padding: 0 16px;
    border-radius: 6px;
}

.nav-links .dots {
    color: #4a3000;
    padding: 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .archive-items {
        padding: 0.5rem;
    }
    
    .sidebar-section,
    .archive-header {
        padding: 0.5rem;
    }
    
    .archive-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .archive-title {
        font-size: 1.5rem;
    }
    
    .subcategory-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-nav .page-numbers,
    .nav-links .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .post-card {
        flex-direction: column;
        padding: 0;
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transform: none;
    }
    
    .post-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    .post-card .post-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
        margin: 0;
        border-radius: 10px 10px 0 0;
        position: relative;
    }
    
    .post-card .post-thumbnail::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
        z-index: 1;
        pointer-events: none;
    }
    
    .post-card .post-thumbnail a {
        border-radius: 10px 10px 0 0;
    }
    
    .post-card .post-thumbnail img {
        border-radius: 10px 10px 0 0;
    }
    
    .post-card .card-body {
        padding: 12px;
        background-color: #ffffff;
        width: 100%;
    }
    
    .post-card .entry-title {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
        color: #4a3000;
    }
    
    .post-card .entry-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .post-card .entry-content {
        font-size: 0.9rem;
        color: #4a3000;
        background-color: #ffffff;
    }
}

@media (max-width: 480px) {
    .post-card {
        margin-bottom: 1.25rem;
    }
    
    .post-card .post-thumbnail {
        height: 160px;
    }
    
    .post-card .card-body {
        padding: 12px;
    }
    
    .post-card .entry-title {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .post-card .entry-meta {
        gap: 0.5rem;
        margin-bottom: 0.6rem;
    }
    
    .post-card .entry-content {
        font-size: 0.85rem;
        display: block !important;
    }
}

/* Comments Section */
.comments-area {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    color: #006400;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    line-height: 1.4;
}

.comments-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #a6cc8b;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 2rem;
}

.comment-list .children .comment {
    background-color: #fff;
    border-left: 3px solid #a6cc8b;
    margin-bottom: 1.5rem;
    position: relative;
}

.comment-list .children .comment::before {
    content: "↳";
    left: -12px;
    background-color: #006400;
    font-size: 10px;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    position: relative;
    border: 1px solid #e0e0e0;
}

.comment::before {
    content: "▲";
    position: absolute;
    top: 1rem;
    left: -8px;
    background-color: #a6cc8b;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment-body {
    position: relative;
}

.comment-meta {
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-author .avatar {
    margin-right: 1rem;
    border-radius: 50%;
    border: 2px solid #a6cc8b;
    flex-shrink: 0;
}

.comment-author .fn {
    font-weight: 600;
    color: #006400;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.comment-author .says {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #006400;
}

.comment-metadata .edit-link a {
    background-color: rgba(166, 204, 139, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.comment-metadata .edit-link a:hover {
    background-color: #a6cc8b;
    color: #fff;
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 1rem;
}

.reply a {
    display: inline-block;
    font-size: 0.85rem;
    color: #006400;
    font-weight: 500;
    background-color: rgba(166, 204, 139, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reply a:hover {
    background-color: #a6cc8b;
    color: #fff;
    transform: translateY(-2px);
}

.comment-respond {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    font-size: 1.25rem;
    color: #006400;
    margin-bottom: 1rem;
}

.comment-form label {
    font-weight: 500;
    color: #444;
    margin-bottom: 0.5rem;
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.comment-form input[type="submit"] {
    background-color: #006400;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #a6cc8b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .post-card .card-image {
        height: 180px;
    }
    
    .single-post article.post {
        padding: 0.75rem;
    }
    
    .single-post .featured-image {
        margin: -1.5rem -1.5rem 1.5rem;
        max-height: 350px;
    }
    
    .single-post .entry-title {
        font-size: 1.75rem;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-bio .zc-btn.zc-btn--primary {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comments-area {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .post-card .card-image {
        height: 160px;
    }
    
    .single-post article.post {
        padding: 0.5rem;
    }
    
    .single-post .featured-image {
        margin: -1.25rem -1.25rem 1.25rem;
        max-height: 250px;
    }
    
    .single-post .entry-title {
        font-size: 1.5rem;
    }
    
    .single-post .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
}

/* Sidebar Styling Enhancements */
.sidebar {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #006400;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar li a:hover {
    background-color: rgba(166, 204, 139, 0.1);
    color: #a6cc8b;
    padding-left: 1.5rem;
}

.sidebar li.current-menu-item a {
    background-color: #006400;
    color: #fff;
    border-left: 4px solid #a6cc8b;
}

/* Inline Category List */
.sidebar-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #006400;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 100, 0, 0.1);
    padding-bottom: 0.5rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.category-list span {
    display: inline-block;
    margin-right: 0.25rem;
    margin-bottom: 0.5rem;
}

.category-list span a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f0f8f0;
    border-radius: 20px;
    color: #006400;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-list span a:hover {
    background-color: #006400;
    color: #fff;
    text-decoration: none;
}

.category-list span.current-category a {
    background-color: #006400;
    color: #fff;
    font-weight: 500;
}

/* Ensure text doesn't overlap in category pills */
.category-list span a {
    hyphens: auto;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-list {
        gap: 0.3rem;
    }
    
    .category-list span a {
        padding: 0.2rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Post Categories in Sidebar */
.post-categories.card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #a6cc8b;
}

.post-categories h3 {
    font-size: 1.25rem;
    color: #006400;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(166, 204, 139, 0.2);
}

.post-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-categories ul li {
    margin-bottom: 0.5rem;
}

.post-categories ul li:last-child {
    margin-bottom: 0;
}

.post-categories ul li a {
    display: block;
    padding: 0.5rem 0.8rem;
    background-color: rgba(166, 204, 139, 0.1);
    color: #006400;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-categories ul li a:hover {
    background-color: rgba(166, 204, 139, 0.3);
    color: #006400;
    transform: translateX(5px);
}

/* Post Tags in Sidebar */
.post-tags.card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d4af37;
}

.post-tags h3 {
    font-size: 1.25rem;
    color: #006400;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.post-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tags .tag-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(212, 175, 55, 0.1);
    color: #006400;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.post-tags .tag-link:hover {
    background-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

/* Post Navigation Styling */
.post-navigation{
    margin: 2rem 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.post-navigation .nav-links {
    display: flex;
    min-height: 120px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    position: relative;
}

.post-navigation .nav-previous {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: block;
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background-color: rgba(166, 204, 139, 0.05);
}

.post-navigation .nav-indicator {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation .nav-indicator i {
    margin-right: 0.5rem;
    color: #a6cc8b;
    font-size: 1rem;
}

.post-navigation .nav-next .nav-indicator {
    justify-content: flex-end;
}

.post-navigation .nav-next .nav-indicator i {
    margin-right: 0;
    margin-left: 0.5rem;
    order: 2;
}

.post-navigation .nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #006400;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-navigation .nav-next .nav-title {
    text-align: right;
}

/* Responsive adjustments for post navigation */
@media (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
        min-height: auto;
    }
    
    .post-navigation .nav-previous {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .post-navigation .nav-previous a,
    .post-navigation .nav-next a {
        padding: 1.25rem;
    }
    
    .post-navigation .nav-next .nav-indicator,
    .post-navigation .nav-next .nav-title {
        text-align: left;
    }
    
    .post-navigation .nav-next .nav-indicator i {
        margin-left: 0;
        margin-right: 0.5rem;
        order: 1;
    }
}


/* Source: additional-patterns.css */
/**
 * Zelda Central Combined Pattern Styles
 * Consolidated styling for all Zelda Central block patterns
 *
 * This file combines styles from:
 * - additional-patterns.css
 * - collectible-blocks.css
 * - screenshot-text.css
 */

/* Variables are now loaded separately in functions.php */
/* DO NOT modify the following core colors that are used throughout patterns */
:root {
    --pattern-bg: #f8e8a0;
    --pattern-text: #4a3000;
    --pattern-accent: #a03000;
    --pattern-header-bg: #253124;
    --pattern-header-text: #ffffff;
}

/* Essential Pattern Styles - Applied to all block patterns */
[class*="zc-"] {
    font-family: 'Outfit', sans-serif !important;
    line-height: 1.6;
    box-sizing: border-box;
}

/* Game Header Block Pattern */
.zc-game-header {
    background-color: var(--pattern-bg, #f8e8a0);
    color: var(--pattern-text, #4a3000);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5em 0 2.5em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-family: 'Outfit', sans-serif;
}

.zc-game-header-top {
    display: flex;
    flex-wrap: wrap;
    background-color: #253124;
    padding: 20px;
}

.zc-game-logo-container {
    flex: 0 0 100%;
    margin-bottom: 15px;
    text-align: center;
}

.zc-game-logo {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.zc-game-box-container {
    flex: 0 0 180px;
    margin-right: 25px;
}

.zc-game-box {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 3px solid #f8e8a0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.zc-game-box:hover {
    transform: scale(1.03);
}

.zc-game-meta {
    flex: 1;
    color: #fff;
}

.zc-game-meta h1 {
    margin: 0 0 10px;
    color: #f8e8a0;
    font-size: 2.2em;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.zc-game-subtitle {
    font-size: 1.2em;
    color: #a6cc8b;
    margin: 0 0 15px;
    font-weight: 500;
}

.zc-game-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 20px;
}

.zc-game-detail-group {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #253124;
}

.zc-game-detail-group h3 {
    margin: 0 0 12px;
    color: #253124;
    font-size: 1.1em;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.zc-game-detail-group h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #253124;
}

.zc-game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zc-game-stat {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.zc-game-stat-label {
    font-weight: 600;
    color: #4a3000;
    min-width: 90px;
}

.zc-flag {
    width: 18px;
    height: 12px;
    margin-right: 5px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.zc-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

.zc-console-item {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    font-size: 0.85em;
}

.zc-release-group {
    margin-bottom: 12px;
}

.zc-release-group:last-child {
    margin-bottom: 0;
}

.zc-release-console {
    font-weight: 600;
    color: #253124;
    margin-bottom: 6px;
}

.zc-release-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zc-release-date {
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.zc-game-overview {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.zc-game-overview h2 {
    margin: 0 0 15px;
    color: #253124;
    font-size: 1.5em;
    position: relative;
    padding-bottom: 10px;
}

.zc-game-overview h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #253124;
}

.zc-game-overview p {
    margin: 0 0 15px;
    line-height: 1.7;
    font-size: 1.05em;
}

.zc-game-overview p:last-child {
    margin-bottom: 0;
}

.zc-game-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.zc-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.zc-award {
    display: inline-flex;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.zc-award-icon {
    color: #d4af37;
    margin-right: 5px;
}

.zc-game-features {
    margin-top: 10px;
}

.zc-game-features ul {
    margin: 0;
    padding-left: 20px;
}

.zc-game-features li {
    margin-bottom: 8px;
}

.zc-game-features li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .zc-game-box-container {
        flex: 0 0 120px;
        margin-right: 15px;
    }
    
    .zc-game-meta h1 {
        font-size: 1.8em;
    }
    
    .zc-game-subtitle {
        font-size: 1.1em;
    }
    
    .zc-game-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .zc-game-header-top {
        flex-direction: column;
    }
    
    .zc-game-box-container {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .zc-game-box {
        max-width: 150px;
    }
}

/* Timeline Pattern */
.zc-timeline-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #496b2e;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-timeline-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-timeline-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #496b2e;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-timeline-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #496b2e;
}

.zc-timeline-events {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(166, 204, 139, 0.4);
}

.zc-timeline-event {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 5px;
}

.zc-timeline-event::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #a6cc8b;
    border: 3px solid #496b2e;
    z-index: 1;
}

.zc-timeline-event:last-child {
    margin-bottom: 0;
}

.zc-timeline-event-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #496b2e;
    font-family: 'Outfit', sans-serif;
}

.zc-timeline-event-time {
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #a03000;
    font-family: 'Outfit', sans-serif;
}

/* Game Card Pattern */
.zc-game-card {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 0;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-game-card-header {
    background-color: #253124;
    color: #ffffff;
    padding: 15px 20px;
    position: relative;
}

.zc-game-card-title {
    margin: 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-game-card-subtitle {
    margin: 5px 0 0 0;
    font-size: 1.1em;
    color: #a6cc8b;
    font-family: 'Outfit', sans-serif;
}

.zc-game-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zc-game-card-image {
    border-radius: 4px;
    overflow: hidden;
    max-width: 100%;
    border: 3px solid #253124;
}

.zc-game-card-description {
    margin: 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
}

.zc-game-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.zc-game-card-detail {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 6px;
    flex: 1 0 calc(50% - 10px);
    min-width: 180px;
    display: flex;
    align-items: center;
}

.zc-game-card-detail strong {
    color: #253124;
    margin-right: 8px;
    min-width: 80px;
}

/* Music Showcase Pattern */
.zc-music-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #7d4eb4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-music-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-music-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #7d4eb4;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-music-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #7d4eb4;
}

.zc-music-description {
    margin: 0 0 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
}

.zc-music-player {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.zc-music-composer {
    font-style: italic;
    margin-top: 15px;
    font-size: 0.95em;
    color: #7d4eb4;
}

/* Trivia Pattern */
.zc-trivia-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #e67e22;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-trivia-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-trivia-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #d35400;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-trivia-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e67e22;
}

.zc-trivia-facts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zc-trivia-fact {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #e67e22;
    transition: transform 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.zc-trivia-fact:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.7);
}

/* Theory Pattern */
.zc-theory-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #16a085;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-theory-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-theory-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #16a085;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-theory-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #16a085;
}

.zc-theory-description {
    margin: 0 0 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
}

.zc-theory-evidence {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #16a085;
    margin-bottom: 15px;
}

.zc-theory-evidence-title {
    font-weight: 600;
    color: #16a085;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1em;
}

/* Comparison Pattern */
.zc-comparison-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #3498db;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-comparison-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-comparison-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #2980b9;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-comparison-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.zc-comparison-description {
    margin: 0 0 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
}

.zc-comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 15px;
}

.zc-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Outfit', sans-serif;
}

.zc-comparison-table th,
.zc-comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.zc-comparison-table th {
    background-color: #3498db;
    color: #ffffff;
}

.zc-comparison-table td {
    background-color: rgba(255, 255, 255, 0.5);
}

.zc-comparison-table tr:last-child td {
    border-bottom: none;
}

.zc-comparison-table tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Game Updates Pattern */
.zc-updates-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #c0392b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-updates-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-updates-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #c0392b;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-updates-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #c0392b;
}

.zc-updates-description {
    margin: 0 0 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
}

.zc-update-item {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.zc-update-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.7);
}

.zc-update-item:last-child {
    margin-bottom: 0;
}

.zc-update-date {
    font-size: 0.9em;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.zc-update-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #4a3000;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

/* Poll Pattern */
.zc-poll-block {
    background-color: #f8e8a0;
    color: #4a3000;
    border-radius: 8px;
    padding: 20px;
    margin: 1.5em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #8e44ad;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zc-poll-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.zc-poll-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: 600;
    color: #8e44ad;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
}

.zc-poll-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #8e44ad;
}

.zc-poll-question {
    margin: 0 0 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #4a3000;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.zc-poll-options {
    margin-bottom: 15px;
}

.zc-poll-option {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.1s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
}

.zc-poll-option:hover {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: #8e44ad;
    transform: translateX(5px);
}

.zc-poll-option:last-child {
    margin-bottom: 0;
}

.zc-poll-results {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.zc-poll-result {
    margin-bottom: 10px;
}

.zc-poll-result:last-child {
    margin-bottom: 0;
}

.zc-poll-result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.zc-poll-result-bar {
    height: 10px;
    background-color: #e9e2d0;
    border-radius: 5px;
    overflow: hidden;
}

.zc-poll-result-fill {
    height: 100%;
    background-color: #8e44ad;
    border-radius: 5px;
}
/* Profile block styles have been moved to blocks/character-block/style-index.css */

/*-----------------------------------------------------------------------------
 * COLLECTIBLE GUIDE BLOCKS
 *---------------------------------------------------------------------------*/

/* Base styles for collectible blocks */
.zc-collectible-block {
    background-color: var(--subpage-bg);
    color: var(--subpage-text);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    box-shadow: 0 4px 15px var(--main-shadow);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--subpage-highlight);
    transition: transform var(--transition-speed) var(--transition-easing), 
               box-shadow var(--transition-speed) var(--transition-easing);
}

.zc-collectible-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--main-shadow);
}

/* Collectible title */
.zc-collectible-title {
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: var(--font-weight-bold);
    color: #8a2800; /* Darker orange */
    line-height: var(--line-height-tight);
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-family-primary);
    letter-spacing: 0.01em;
}

.zc-collectible-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--subpage-highlight);
}

/* Collectible grid layout */
.zc-collectible-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: var(--space-md) 0;
}

/* Collectible item */
.zc-collectible-item {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: var(--space-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) var(--transition-easing), 
               box-shadow var(--transition-speed) var(--transition-easing);
}

.zc-collectible-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--main-shadow);
}

/* Collectible item header */
.zc-collectible-item-header {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    align-items: center;
}

.zc-collectible-item-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-brown);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zc-collectible-item-icon img {
    max-width: 30px;
    max-height: 30px;
}

.zc-collectible-item-name {
    font-weight: var(--font-weight-bold);
    font-size: 1.1em;
    margin: 0;
}

/* Collectible item content */
.zc-collectible-item-content {
    flex: 1;
}

.zc-collectible-item-description {
    font-size: 0.9em;
    margin-bottom: var(--space-xs);
}

/* Location info */
.zc-collectible-location {
    font-size: 0.85em;
    margin-top: auto;
    padding-top: var(--space-xs);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.zc-collectible-location-label {
    font-weight: var(--font-weight-bold);
    display: block;
    color: var(--text-link);
    margin-bottom: 2px;
}

/* Screenshot gallery */
.zc-screenshot-gallery {
    margin: var(--space-md) 0;
}

/* Individual screenshot */
.zc-screenshot {
    position: relative;
    margin-bottom: var(--space-md);
}

.zc-screenshot-caption {
    background-color: rgba(255, 255, 255, 0.9);
    padding: var(--space-xs) var(--space-sm);
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.9em;
    max-width: 80%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Media queries for responsive layouts */
@media screen and (max-width: 782px) {
    .zc-collectible-block {
        padding: var(--space-md);
    }
    
    .zc-collectible-grid {
        grid-template-columns: 1fr;
    }
}

/*-----------------------------------------------------------------------------
 * SCREENSHOT WITH TEXT BLOCKS
 *---------------------------------------------------------------------------*/

/* Base styles for screenshot-text blocks */
.zc-screenshot-text-block {
    background-color: var(--subpage-bg);
    color: var(--subpage-text);
    border-radius: 0; /* No rounded corners per design */
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    box-shadow: 0 4px 15px var(--main-shadow);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--subpage-highlight);
    transition: transform var(--transition-speed) var(--transition-easing), 
               box-shadow var(--transition-speed) var(--transition-easing);
}

.zc-screenshot-text-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--main-shadow);
}

/* Screenshot container */
.zc-screenshot-container {
    position: relative;
    margin: 0;
}

/* Screenshot image */
.zc-screenshot-image {
    margin: 0 !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--light-brown);
    border-bottom: 3px solid var(--menu-bg);
    background-color: #e6d9c0;
    position: relative;
    border-radius: 0 !important; /* Ensure no rounded corners */
}

.zc-screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Prevent cropping */
    aspect-ratio: 16/9; /* Force consistent aspect ratio */
    background-color: #000; /* Black background for screenshots */
    padding: 15px; /* Add padding around the image */
    transition: transform var(--transition-speed) var(--transition-easing);
    border-radius: 0 !important; /* Ensure no rounded corners */
}

.zc-screenshot-image:hover {
    transform: scale(1.02);
}

/* Caption styles */
.zc-screenshot-text-caption {
    font-style: italic;
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: var(--space-xs);
    text-align: center;
}

/* Content area */
.zc-screenshot-text-content {
    margin-top: var(--space-md);
}

.zc-screenshot-text-title {
    font-size: 1.5em;
    color: var(--text-link);
    margin: 0 0 var(--space-sm) 0;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-primary);
}

.zc-screenshot-text-description {
    font-size: 0.95em;
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-md);
}

/* Location tag */
.zc-location-tag {
    display: inline-block;
    background-color: rgba(74, 48, 0, 0.1);
    border-left: 3px solid var(--subpage-highlight);
    padding: 4px 10px;
    font-size: 0.9em;
    margin-top: var(--space-sm);
}

/* Screenshot gallery layout */
.zc-screenshot-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.zc-screenshot-gallery-item {
    position: relative;
    border: 2px solid var(--light-brown);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zc-screenshot-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .zc-screenshot-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .zc-screenshot-text-block {
        padding: var(--space-md);
    }
}

/* Ensure screenshot images are not rounded (override core/theme defaults) */
.zc-screenshot,
.zc-screenshot img {
    border-radius: 0 !important;
}

/*-----------------------------------------------------------------------------
 * GAME HEADER BLOCK
 *---------------------------------------------------------------------------*/

/* Main Block Container */
.zc-game-header-block {
    background-color: var(--subpage-bg);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="%23ecd749" fill-opacity="0.15" d="M25,0 L50,25 L25,50 L0,25 L25,0 z M25,8.5 L41.5,25 L25,41.5 L8.5,25 L25,8.5 z" /></svg>');
    background-size: 50px 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 3px 10px var(--main-shadow);
    margin-bottom: var(--space-lg);
    font-family: var(--font-family-primary);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-easing), 
               box-shadow var(--transition-speed) var(--transition-easing);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.zc-game-header-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--main-shadow);
}

/* Logo Container */
.zc-game-header-logo-container {
    background-color: var(--dark-green);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: var(--space-sm);
    box-shadow: 0 2px 5px var(--main-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zc-game-header-logo {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform var(--transition-speed) var(--transition-easing);
}

.zc-game-header-logo:hover {
    transform: scale(1.02);
}

/* Box Art */
.zc-game-header-boxart {
    border-radius: var(--border-radius);
    box-shadow: 0 3px 8px var(--main-shadow);
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-speed) var(--transition-easing);
    border: 2px solid var(--dark-green);
}

.zc-game-header-boxart:hover {
    transform: scale(1.05);
}

/* Rating Display */
.zc-rating-display {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.zc-rating-stars {
    color: #e74c3c;
    margin-right: 5px;
}

.zc-rating-number {
    font-weight: var(--font-weight-bold);
}

/* Main Game Header Content Structure */
.zc-game-header-main {
    padding: var(--space-lg);
}

.zc-game-header-top {
    display: flex;
    margin-bottom: var(--space-md);
    gap: var(--space-md);
}

.zc-game-header-left {
    flex: 0 0 200px;
}

.zc-game-header-right {
    flex: 1;
}

/* Game Title */
.zc-game-title {
    font-size: 2em;
    font-weight: var(--font-weight-bold);
    color: var(--text-link);
    margin: 0 0 var(--space-xs) 0;
    line-height: var(--line-height-tight);
    font-family: var(--font-family-primary);
}

.zc-game-subtitle {
    font-size: 1.1em;
    color: var(--text-muted);
    margin: 0 0 var(--space-sm) 0;
    font-style: italic;
}

/* Game Info Table */
.zc-game-info-table {
    margin-top: var(--space-md);
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.zc-game-info-table tr td {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(74, 48, 0, 0.1);
}

.zc-game-info-table tr:last-child td {
    border-bottom: none;
}

.zc-game-info-label {
    font-weight: var(--font-weight-bold);
    color: var(--text-link);
    width: 120px;
}

/* Game Description */
.zc-game-description {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-normal);
}

/* Platforms */
.zc-platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--space-sm) 0;
}

.zc-platform-tag {
    background-color: var(--dark-green);
    color: white;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85em;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
}

/* Quick Links */
.zc-quick-links {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid rgba(74, 48, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zc-quick-link-button {
    padding: 8px 15px;
    background-color: var(--light-brown);
    color: var(--subpage-text);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-bold);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.zc-quick-link-button:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-1px);
}

.zc-quick-link-icon {
    margin-right: 5px;
}

/* Media queries for responsive layout */
@media (max-width: 768px) {
    .zc-game-header-top {
        flex-direction: column;
    }
    
    .zc-game-header-left {
        flex: 0 0 auto;
        display: flex;
        gap: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .zc-game-header-logo-container,
    .zc-game-header-boxart {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .zc-game-header-main {
        padding: var(--space-md);
    }
    
    .zc-game-header-left {
        flex-direction: column;
    }
    
    .zc-platform-list,
    .zc-quick-links {
        flex-direction: column;
    }
    
    .zc-quick-link-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


