/**
 * Bodybuilders Pro - Main Stylesheet
 * Modern, Professional Design
 */

/* ============================================
   Variables & Reset
   ============================================ */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #ff6b35;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --spacing: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    margin-top: 0;
    padding-top: 0;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 3rem;
    min-height: 60px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 1rem;
}

.site-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.site-logo-link:hover {
    transform: translateY(-1px);
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.logo-line-1 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #888888;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.site-logo-link:hover .logo-line-1 {
    color: var(--secondary-color);
}

.logo-line-2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 2px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-logo-link:hover .logo-line-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6c84f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--secondary-color);
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
}

/* SVG logo specific styles */
.custom-logo[src$=".svg"],
.custom-logo[src*=".svg"],
img.custom-logo[src$=".svg"],
img.custom-logo[src*=".svg"] {
    width: auto;
    height: 50px;
    max-height: 50px;
    min-height: 30px;
    min-width: 100px;
    object-fit: contain;
}

/* Logo width will be overridden by customizer settings if set */
.site-branding .custom-logo {
    max-width: 100%;
}

/* Ensure SVG logos in site-branding have proper dimensions */
.site-branding .custom-logo[src$=".svg"],
.site-branding .custom-logo[src*=".svg"] {
    display: block;
    height: 50px;
    width: auto;
    max-width: 400px;
}

/* Header Center Section */
.header-center-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    max-width: 650px;
    padding: 0 1rem;
}

.gender-menu-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Gender Menu - Simple Segmented Control Style */
.gender-menu {
    display: inline-flex;
    align-items: stretch;
    background: #e5e5e5;
    border-radius: 8px;
    padding: 3px;
    gap: 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

.gender-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    color: #4a4a4a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    min-width: 85px;
    text-align: center;
    background: transparent;
    letter-spacing: 0.2px;
    border: none;
    flex: 1;
}

/* First link - rounded left corners */
.gender-link:first-child {
    border-radius: 6px 0 0 6px;
}

/* Last link - rounded right corners */
.gender-link:last-child {
    border-radius: 0 6px 6px 0;
}

.gender-link:only-child {
    border-radius: 6px;
}

.gender-link:hover:not(.active) {
    color: #2a2a2a;
}

.gender-link.active {
    color: #1a1a1a;
    background: #ffffff;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Header Search - Clean Modern Style */
.header-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper:focus-within {
    background: #ffffff;
    border-color: rgba(26, 26, 26, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.02);
    transform: translateY(-1px);
}

.search-field {
    width: 100%;
    padding: 0.3125rem 0.4375rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 400;
}

.search-field::placeholder {
    color: #999999;
    font-weight: 400;
    opacity: 0.8;
}

.search-field:focus {
    color: #1a1a1a;
}

.search-form:focus-within .search-submit {
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.search-submit {
    display: none;
}

.search-submit:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

.search-submit:active {
    transform: translateY(-50%) scale(0.95);
}

.search-submit i {
    display: none;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-results-dropdown.active {
    display: block;
}

.search-results-dropdown .search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #2c2c2c;
    transition: background-color 0.2s ease;
}

.search-results-dropdown .search-result-item:last-child {
    border-bottom: none;
}

.search-results-dropdown .search-result-item:hover {
    background-color: #f8f8f8;
}

.search-results-dropdown .search-result-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.search-results-dropdown .search-result-content {
    flex: 1;
    min-width: 0;
}

.search-results-dropdown .search-result-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results-dropdown .search-result-nicknames {
    font-size: 0.8125rem;
    color: #666666;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results-dropdown .search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #666666;
    font-size: 0.9375rem;
}

.search-results-dropdown .search-loading {
    padding: 1.5rem;
    text-align: center;
    color: #666666;
    font-size: 0.9375rem;
}

.search-results-dropdown .search-loading i {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    padding-left: 1rem;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    display: block;
    border-radius: 6px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0.75rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #e6c84f 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    z-index: 1;
}

/* Override underline for menu items with children - use arrow instead */
.nav-menu li.menu-item-has-children > a::after {
    content: '';
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.5rem;
    margin-right: 0;
    margin-bottom: 0;
    vertical-align: middle;
    transition: transform 0.3s ease;
    opacity: 0.6;
    background: none;
    border-radius: 0;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    z-index: auto;
    line-height: 1;
}

.nav-menu li.menu-item-has-children:hover > a::after,
.nav-menu li.menu-item-has-children:focus > a::after {
    transform: rotate(180deg);
    opacity: 1;
    width: 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.03);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after,
.nav-menu .current-menu-item > a::after {
    width: calc(100% - 1.5rem);
}

/* Don't show underline for menu items with children */
.nav-menu li.menu-item-has-children > a:hover::after,
.nav-menu li.menu-item-has-children > a:focus::after,
.nav-menu li.menu-item-has-children.current-menu-item > a::after {
    width: 0;
}

.nav-menu .current-menu-item > a {
    color: #1a1a1a;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.02);
}

/* Dropdown Menu Styles */
.nav-menu .sub-menu,
.nav-menu .children {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.5rem;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:hover > .children,
.nav-menu li.focus > .sub-menu,
.nav-menu li.focus > .children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li,
.nav-menu .children li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu .sub-menu a,
.nav-menu .children a {
    padding: 0.75rem 1rem;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.875rem;
    display: block;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-menu .sub-menu a::after,
.nav-menu .children a::after {
    display: none;
}

.nav-menu .sub-menu a::before,
.nav-menu .children a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, #e6c84f 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus,
.nav-menu .children a:hover,
.nav-menu .children a:focus {
    color: #1a1a1a;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    padding-left: 1.25rem;
}

.nav-menu .sub-menu a:hover::before,
.nav-menu .sub-menu a:focus::before,
.nav-menu .children a:hover::before,
.nav-menu .children a:focus::before {
    height: 60%;
}

.nav-menu .sub-menu .current-menu-item > a,
.nav-menu .children .current-menu-item > a {
    color: #1a1a1a;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding-left: 1.25rem;
}

.nav-menu .sub-menu .current-menu-item > a::before,
.nav-menu .children .current-menu-item > a::before {
    height: 60%;
}


/* Multi-level Dropdown Support */
.nav-menu .sub-menu .sub-menu,
.nav-menu .sub-menu .children {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.5rem;
}

.nav-menu .sub-menu .sub-menu::before,
.nav-menu .sub-menu .children::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 1rem;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #ffffff;
}

.menu-toggle {
    display: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f2 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.625rem;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Hide mobile menu overlay and related elements on desktop */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .mobile-menu-close-wrapper {
        display: none !important;
    }
    
    .mobile-menu-close {
        display: none !important;
    }
    
    .mobile-menu-gender-filter {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        right: auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        border: none !important;
        pointer-events: auto !important;
    }
    
    .nav-menu * {
        pointer-events: auto !important;
    }
    
    /* Reset any mobile menu specific styles */
    body.menu-open .mobile-menu-overlay {
        display: none !important;
    }
}

.menu-toggle:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.menu-toggle-icon span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #1a1a1a;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #1a1a1a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #2c2c2c;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #666666;
}

.nav-menu a::after {
    display: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c19d2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
    color: var(--accent-color);
}

/* ============================================
   Cards & Grids
   ============================================ */
.posts-grid,
.bodybuilders-grid,
.competitions-grid,
.training-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .bodybuilders-grid,
    .competitions-grid,
    .training-programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bodybuilders-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .competitions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .training-programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post-card,
.bodybuilder-card,
.competition-card,
.training-program-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.post-card:hover,
.bodybuilder-card:hover,
.competition-card:hover,
.training-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.post-thumbnail,
.bodybuilder-thumbnail,
.competition-thumbnail,
.program-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.bodybuilder-thumbnail {
    aspect-ratio: 3/4;
}

.post-thumbnail img,
.bodybuilder-thumbnail img,
.competition-thumbnail img,
.program-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.post-thumbnail::before,
.bodybuilder-thumbnail::before,
.competition-thumbnail::before,
.program-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.post-card:hover .post-thumbnail::before,
.bodybuilder-card:hover .bodybuilder-thumbnail::before,
.competition-card:hover .competition-thumbnail::before,
.training-program-card:hover .program-thumbnail::before {
    opacity: 1;
}

.post-card:hover .post-thumbnail img,
.bodybuilder-card:hover .bodybuilder-thumbnail img,
.competition-card:hover .competition-thumbnail img,
.training-program-card:hover .program-thumbnail img {
    transform: scale(1.08);
}

/* Bodybuilder Hover Info Overlay */
.bodybuilder-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    padding: 1rem;
    max-height: 50%;
}

.bodybuilder-card:hover .bodybuilder-hover-info {
    opacity: 1;
    visibility: visible;
}

.hover-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.hover-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.hover-info-item i {
    color: var(--secondary-color);
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.hover-info-unit {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 0.25rem;
}

.post-content,
.bodybuilder-content,
.competition-content,
.program-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.entry-title,
.bodybuilder-name,
.competition-title,
.program-title {
    font-size: 1.375rem;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.bodybuilder-nicknames {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-style: italic;
    margin: 0.25rem 0 0.5rem;
    font-weight: 500;
}

.bodybuilder-profession {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0 0 0.75rem;
    font-weight: 500;
}

.entry-title a,
.bodybuilder-name a,
.competition-title a,
.program-title a {
    color: var(--primary-color);
}

.entry-title a:hover,
.bodybuilder-name a:hover,
.competition-title a:hover,
.program-title a:hover {
    color: var(--secondary-color);
}

.entry-meta,
.bodybuilder-meta,
.competition-meta,
.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-item i {
    color: var(--secondary-color);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.meta-unit {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.entry-summary,
.bodybuilder-excerpt,
.competition-excerpt,
.program-excerpt {
    flex: 1;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.entry-footer {
    margin-top: auto;
}

/* ============================================
   Single Post Pages
   ============================================ */
.single-bodybuilder,
.single-competition,
.single-training-program {
    max-width: 100%;
    margin: 0;
    padding: 0;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Info Bar */
.quick-info-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.quick-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.quick-info-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
    z-index: 1;
    transition: transform 0.2s ease;
}

.quick-info-item:hover {
    transform: translateX(3px);
}

.quick-info-item::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.quick-info-item strong {
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Bodybuilder Header */
.bodybuilder-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: start;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Gender Filter Info */
.gender-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.gender-filter-info p {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.clear-filter {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.clear-filter:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@media (max-width: 1024px) {
    .header-container {
        gap: 2rem;
        min-height: 55px;
    }
    
    .header-center-section {
        gap: 1.5rem;
        max-width: 500px;
        padding: 0 0.5rem;
    }
    
    .header-search-wrapper {
        min-width: 180px;
        max-width: 280px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .gender-link {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        min-width: 65px;
    }
}

@media (max-width: 768px) {
    .bodybuilder-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .site-header {
        padding: 0;
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 5px;
        min-height: auto;
        align-items: center;
    }
    
    .site-branding {
        flex: 0 0 auto;
        order: 1;
        padding-right: 0.5rem;
    }
    
    .logo-line-2 {
        font-size: 1.25rem;
    }
    
    .header-center-section {
        flex: 1;
        order: 2;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-top: 0;
        max-width: none;
        padding: 0;
        min-width: 0;
    }
    
    /* Hide gender menu from header on mobile - it's in the sidebar now */
    .header-center-section .gender-menu-wrapper {
        display: none;
    }
    
    .gender-menu {
        padding: 3px;
    }
    
    .gender-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        min-width: 60px;
    }
    
    .header-search-wrapper {
        min-width: 0;
        max-width: none;
        flex: 1;
    }
    
    .search-input-wrapper {
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
    }
    
    .search-field {
        padding: 0.25rem 0.375rem;
        font-size: 0.8125rem;
    }
    
    .search-submit {
        display: none;
    }
    
    .search-submit i {
        display: none;
    }
    
    .main-navigation {
        order: 3;
        margin-left: 0;
        padding:0 0.5rem;
        flex: 0 0 auto;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Mobile Menu Overlay - only covers body area, not menu area */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9998;
        pointer-events: none;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /* Clip overlay to not cover menu area - menu is 85% width or max 320px */
        clip-path: inset(0 0 0 0);
    }
    
    /* When menu is active, overlay should not cover the menu area */
    body.menu-open .mobile-menu-overlay.active {
        right: 85%;
        max-width: calc(100% - 320px);
    }
    
    @media (max-width: 480px) {
        body.menu-open .mobile-menu-overlay.active {
            right: 85%;
        }
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 1rem 0.75rem !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        gap: 0.25rem !important;
        align-items: stretch !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        pointer-events: auto !important;
    }
    
    .nav-menu * {
        pointer-events: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Remove blur from header when menu is open */
    body.menu-open .site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Ensure no blur on body, html, or any content when menu is open */
    body.menu-open,
    body.menu-open html,
    body.menu-open body,
    body.menu-open #content,
    body.menu-open .site-content,
    body.menu-open .site-header *,
    body.menu-open #content *,
    body.menu-open *:not(.nav-menu):not(.nav-menu *):not(.mobile-menu-overlay) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    /* Ensure menu and overlay are never blurred */
    .nav-menu,
    .nav-menu *,
    .mobile-menu-overlay {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .nav-menu > li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 0.625rem 0.75rem;
        border-radius: 6px;
        font-size: 0.875rem;
    }
    
    /* Close button for mobile menu */
    .mobile-menu-close-wrapper {
        display: flex;
        justify-content: flex-end;
        padding: 0 0 0.75rem 0;
        margin-bottom: 0.375rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .mobile-menu-close {
        background: rgba(0, 0, 0, 0.05);
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #1a1a1a;
        font-size: 16px;
        padding: 0;
    }
    
    .mobile-menu-close:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: scale(1.1);
    }
    
    .mobile-menu-close i {
        line-height: 1;
    }
    
    /* Gender filter in mobile menu */
    .mobile-menu-gender-filter {
        width: 100%;
        padding: 0.25rem 0 0.5rem 0;
        margin-bottom: 0.25rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .mobile-menu-gender-filter .gender-menu-wrapper {
        width: 100%;
    }
    
    .mobile-menu-gender-filter .gender-menu {
        width: 100%;
        display: flex;
        justify-content: stretch;
        padding: 2px;
        gap: 0;
        background: #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-menu-gender-filter .gender-link {
        flex: 1;
        text-align: center;
        padding: 0.4rem 0.5rem;
        font-size: 0.8125rem;
        min-width: 0;
        border-radius: 6px;
    }
    
    .mobile-menu-gender-filter .gender-link.active {
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Mobile Dropdown Styles */
    .nav-menu .sub-menu,
    .nav-menu .children {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
        margin: 0.25rem 0 0 0;
        padding: 0.5rem;
        min-width: auto;
        display: none;
    }
    
    .nav-menu li.menu-item-has-children.active > .sub-menu,
    .nav-menu li.menu-item-has-children.active > .children {
        display: block;
    }
    
    .nav-menu .sub-menu a,
    .nav-menu .children a {
        padding: 0.625rem 1rem 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .nav-menu .sub-menu a::before,
    .nav-menu .children a::before {
        display: none;
    }
    
    .nav-menu li.menu-item-has-children > a::before {
        float: right;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}

.bodybuilder-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.bodybuilder-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    padding: 4px;
}

.bodybuilder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.bodybuilder-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.bodybuilder-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.bodybuilder-image:hover img {
    transform: scale(1.05);
}

.bodybuilder-title-section {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bodybuilder-title-section .entry-title {
    font-size: 2.75rem;
    margin-bottom: 0;
    color: var(--primary-color);
    line-height: 1.15;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nicknames-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.nicknames {
    font-size: 1.125rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
    font-weight: 400;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-left: 3px solid var(--secondary-color);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.nickname-social-icons {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.nickname-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-color);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nickname-social-icons .social-icon i {
    font-size: 1.125rem;
}

.nickname-social-icons .social-icon:hover {
    border-color: transparent;
    color: #ffffff;
}

.nickname-social-icons .social-icon.instagram {
    color: #E4405F;
}

.nickname-social-icons .social-icon.instagram:hover {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 50%, #F48FB1 100%);
    color: #E4405F;
}

.nickname-social-icons .social-icon.facebook {
    color: #1877F2;
}

.nickname-social-icons .social-icon.facebook:hover {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #1877F2;
}

.nickname-social-icons .social-icon.twitter {
    color: #1DA1F2;
}

.nickname-social-icons .social-icon.twitter:hover {
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    color: #1DA1F2;
}

.nickname-social-icons .social-icon.youtube {
    color: #FF0000;
}

.nickname-social-icons .social-icon.youtube:hover {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    color: #FF0000;
}

.nickname-social-icons .social-icon.tiktok {
    color: #000000;
}

.nickname-social-icons .social-icon.tiktok:hover {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    color: #000000;
}

.nickname-social-icons .social-icon.snapchat {
    color: #FFFC00;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.nickname-social-icons .social-icon.snapchat:hover {
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
    color: #FDD835;
    text-shadow: none;
}

.nickname-social-icons .social-icon.linkedin {
    color: #0077B5;
}

.nickname-social-icons .social-icon.linkedin:hover {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #0077B5;
}

.nickname-social-icons .social-icon.threads {
    color: #000000;
}

.nickname-social-icons .social-icon.threads:hover {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    color: #000000;
}

.nickname-social-icons .social-icon.website {
    color: var(--secondary-color);
}

.nickname-social-icons .social-icon.website:hover {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    color: var(--secondary-color);
}

/* Header Name and Profession */
.header-name-profession {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-full-name {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.2px;
}

.header-name-separator {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.6;
}

.header-profession {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
}

.header-age {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Header Quick Info */
.header-quick-info {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.header-quick-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.header-info-item:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.25);
}

.header-info-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 7px;
    color: #ffffff;
    font-size: 0.9375rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
    transition: all 0.25s ease;
}

.header-info-item:hover .header-info-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.header-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.header-info-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-info-value {
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.header-info-more {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 0.5rem;
    font-style: italic;
}

.header-info-combined .header-info-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.header-info-combined .header-info-value {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 500;
}

.header-info-combined .header-info-value i {
    color: var(--secondary-color);
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.125rem;
    text-align: center;
}

.header-info-separator {
    color: var(--text-light);
    font-weight: 600;
    opacity: 0.4;
    flex-shrink: 0;
    margin: 0 0.125rem;
    font-size: 0.875rem;
}

/* Header Relationships Section */
.header-relationships-section {
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.header-relationships-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.header-relationships-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-relationships-label i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.header-relationships-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.header-relationship-item {
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-relationship-item:hover {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

.header-relationship-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.header-relationship-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
}

.header-relationship-separator {
    color: var(--text-light);
}

.header-relationship-profession {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-style: italic;
}

.header-relationship-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.header-relationship-type-badge {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.header-relationship-type-wife {
    background: linear-gradient(135deg, var(--secondary-color), #c9a02e);
}

.header-relationship-type-girlfriend {
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
}

.header-relationship-type-partner {
    background: linear-gradient(135deg, #6c5ce7, #5f4fd8);
}

.header-relationship-type-ex-wife,
.header-relationship-type-ex-girlfriend {
    background: linear-gradient(135deg, #636e72, #4a5458);
}

.header-relationship-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.header-relationship-date i {
    color: var(--secondary-color);
    font-size: 0.6875rem;
}

/* Header Bio Section */
.header-bio-section {
    margin-top: 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.header-bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.header-bio-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header-bio-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-bio-row:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.3);
}

.header-bio-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 107, 53, 0.15));
    border-radius: 8px;
    color: var(--secondary-color);
    font-size: 0.9375rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.header-bio-row:hover .header-bio-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: #ffffff;
    transform: scale(1.1);
}

.header-bio-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.header-bio-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-bio-value {
    color: var(--primary-color);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bodybuilder-title-section .entry-title {
        font-size: 2rem;
    }
    
    .header-quick-info,
    .header-bio-section {
        padding: 1rem;
    }
    
    .header-info-item {
        gap: 0.75rem;
        padding: 0.625rem;
    }
    
    .header-info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }
    
    .header-bio-row {
        gap: 0.75rem;
        padding: 0.625rem;
    }
    
    .header-bio-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* Relationships List */
.relationships-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.relationship-item {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.relationship-item:hover {
    transform: translateX(5px) translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 107, 53, 0.06) 100%);
    border-left-color: var(--accent-color);
}

.relationship-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.relationship-main-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.relationship-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
}

.relationship-separator {
    color: var(--text-light);
}

.relationship-profession {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}

.relationship-meta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.relationship-type-badge {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.relationship-type-wife {
    background: linear-gradient(135deg, var(--secondary-color), #c9a02e);
}

.relationship-type-girlfriend {
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
}

.relationship-type-partner {
    background: linear-gradient(135deg, #6c5ce7, #5f4fd8);
}

.relationship-type-ex-wife,
.relationship-type-ex-girlfriend {
    background: linear-gradient(135deg, #636e72, #4a5458);
}

.relationship-date {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.relationship-date i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .header-relationships-section {
        padding: 1rem;
    }
    
    .header-relationship-item {
        padding: 0.75rem;
    }
    
    .relationship-item {
        padding: 0.875rem;
    }
    
    .relationship-main-info {
        margin-bottom: 0.5rem;
    }
}

/* Info Sections */
.info-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-section {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.info-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Stagger animation for info sections */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-bodybuilder .info-section {
    animation: slideInUp 0.5s ease-out forwards;
    opacity: 0;
}

.single-bodybuilder .info-section:nth-of-type(1) { animation-delay: 0.1s; }
.single-bodybuilder .info-section:nth-of-type(2) { animation-delay: 0.2s; }
.single-bodybuilder .info-section:nth-of-type(3) { animation-delay: 0.3s; }
.single-bodybuilder .info-section:nth-of-type(4) { animation-delay: 0.4s; }
.single-bodybuilder .info-section:nth-of-type(5) { animation-delay: 0.5s; }
.single-bodybuilder .info-section:nth-of-type(6) { animation-delay: 0.6s; }

/* Bodybuilder Gallery Section */
.bodybuilder-gallery-section {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.bodybuilder-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.gallery-grid {
    column-count: auto;
    column-width: 250px;
    column-gap: 1.25rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 1.25rem;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0) 0%, rgba(26, 26, 26, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-link {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-link img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        column-width: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-width: 180px;
        column-gap: 1rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .bodybuilder-gallery-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 2;
        column-width: auto;
        column-gap: 0.75rem;
    }
    
    .gallery-item {
        margin-bottom: 0.75rem;
    }
}

/* GLightbox Customization */
.glightbox-clean .gslide-description {
    background: rgba(26, 26, 26, 0.9);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.glightbox-clean .gslide-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.glightbox-clean .gslide-media {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.glightbox-clean .gbtn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glightbox-clean .gbtn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.glightbox-clean .gbtn svg {
    color: #ffffff;
}

.glightbox-clean .gclose {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.glightbox-clean .gclose:hover {
    background: rgba(26, 26, 26, 0.95);
    transform: rotate(90deg);
}

.glightbox-clean .gprev,
.glightbox-clean .gnext {
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
    background: rgba(26, 26, 26, 0.95);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .glightbox-clean .gclose {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .glightbox-clean .gprev,
    .glightbox-clean .gnext {
        width: 40px;
        height: 40px;
    }
}

.section-heading {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    font-weight: 700;
    position: relative;
}

.section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    margin-left: 0.75rem;
}

.info-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 0.625rem 0.75rem;
    border-bottom: none;
    align-items: start;
    transition: background-color 0.2s ease;
    border-radius: 6px;
    margin: 0.0625rem 0;
}

.info-row:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    padding-right: 0.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label::before {
    content: '▸';
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.info-value {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Awards List */
.awards-list {
    margin-top: 0.5rem;
}

.award-year {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.award-year:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.award-year strong {
    display: inline-block;
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 5px;
}

.award-year ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.award-year li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 1.25rem;
    position: relative;
}

.award-year li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 0.875rem;
}

.award-year li:last-child {
    border-bottom: none;
}

.award-competition-link {
    margin-bottom: 0.5rem;
}

.competition-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.competition-link:hover {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(3px);
}

.competition-link i {
    color: var(--secondary-color);
}

/* Competition Winners List */
.winners-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.winner-item {
    display: grid;
    grid-template-columns: 100px 45px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.winner-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.winner-item:hover {
    transform: translateX(5px) translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 107, 53, 0.06) 100%);
    border-left-color: var(--accent-color);
}

.winner-item:hover::before {
    opacity: 1;
}

.winner-position {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.winner-icon {
    font-size: 1.625rem;
    text-align: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    transition: transform 0.25s ease;
}

.winner-item:hover .winner-icon {
    transform: scale(1.1) rotate(3deg);
}

.winner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

.winner-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.winner-link:hover {
    color: var(--secondary-color);
}

.winner-link::after {
    content: '→';
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-5px);
}

.winner-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Competition Results Table */
.results-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.competition-results-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.competition-results-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
    color: #ffffff;
}

.competition-results-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.competition-results-table thead th:first-child {
    border-top-left-radius: 10px;
}

.competition-results-table thead th:last-child {
    border-top-right-radius: 10px;
}

.competition-results-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.competition-results-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.03);
}

.competition-results-table tbody tr:last-child {
    border-bottom: none;
}

.competition-results-table tbody tr.place-first {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left: 4px solid #FFD700;
}

.competition-results-table tbody tr.place-second {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.05) 100%);
    border-left: 4px solid #C0C0C0;
}

.competition-results-table tbody tr.place-third {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
    border-left: 4px solid #CD7F32;
}

.competition-results-table tbody td {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    vertical-align: middle;
}

.competition-results-table .place-cell {
    text-align: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--primary-color);
    width: 60px;
}

.competition-results-table .place-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
}

.competition-results-table .place-first .place-number {
    background: #FFD700;
    color: var(--primary-color);
}

.competition-results-table .place-second .place-number {
    background: #C0C0C0;
    color: var(--primary-color);
}

.competition-results-table .place-third .place-number {
    background: #CD7F32;
    color: #ffffff;
}

.competition-results-table .prize-cell {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
}

.competition-results-table .prize-cell strong {
    color: var(--secondary-color);
}

.competition-results-table .name-cell {
    font-weight: 600;
    min-width: 180px;
}

.competition-results-table .name-cell .winner-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.competition-results-table .name-cell .winner-link:hover {
    color: var(--secondary-color);
}

.competition-results-table .country-cell {
    min-width: 140px;
    color: var(--text-color);
}

.competition-results-table .score-cell {
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    width: 80px;
}

.competition-results-table .total-cell {
    text-align: center;
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--primary-color);
    width: 80px;
}

.competition-results-table .total-cell strong {
    color: var(--secondary-color);
}

.competition-results-table .no-prize,
.competition-results-table .no-country {
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .competition-results-table {
        font-size: 0.875rem;
    }
    
    .competition-results-table thead th,
    .competition-results-table tbody td {
        padding: 0.75rem 0.875rem;
    }
    
    .competition-results-table .place-cell,
    .competition-results-table .score-cell,
    .competition-results-table .total-cell {
        width: auto;
    }
}

/* Social Media Links */
.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-media-links .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    min-width: fit-content;
}

.social-media-links .social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.social-media-links .social-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-media-links .social-link i {
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.social-media-links .social-link span {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.social-media-links .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: transparent;
    color: #ffffff;
}

.social-media-links .social-link.instagram {
    border-color: #E4405F;
}

.social-media-links .social-link.instagram:hover {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
    border-color: #E4405F;
}

.social-media-links .social-link.facebook {
    border-color: #1877F2;
}

.social-media-links .social-link.facebook:hover {
    background: linear-gradient(135deg, #1877F2 0%, #0d5dbf 100%);
    border-color: #1877F2;
}

.social-media-links .social-link.twitter {
    border-color: #1DA1F2;
}

.social-media-links .social-link.twitter:hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    border-color: #1DA1F2;
}

.social-media-links .social-link.youtube {
    border-color: #FF0000;
}

.social-media-links .social-link.youtube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
    border-color: #FF0000;
}

.social-media-links .social-link.website {
    border-color: var(--secondary-color);
}

.social-media-links .social-link.website:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    border-color: var(--secondary-color);
    color: #ffffff;
}

/* Children List */
.children-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.children-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin: 0.375rem 0;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 0.9375rem;
}

.children-list li:hover {
    transform: translateX(3px);
    background: rgba(212, 175, 55, 0.1);
}

.children-list li:last-child {
    border-bottom: none;
}

.bodybuilder-header,
.entry-header {
    margin-bottom: 2rem;
}

.bodybuilder-image,
/* Competition Header */
.competition-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.competition-header.has-image {
    grid-template-columns: 300px 1fr;
    align-items: start;
}

.competition-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.competition-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    padding: 3px;
}

.competition-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.competition-image:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.competition-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.competition-image:hover img {
    transform: scale(1.05);
}

.competition-title-section {
    padding-top: 0;
    width: 100%;
    max-width: 100%;
}

.competition-header.has-image .competition-title-section {
    max-width: none;
}

.single-competition .entry-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.competition-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.competition-quick-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    box-shadow: 0 1px 6px rgba(212, 175, 55, 0.3);
}

.competition-quick-info .quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #ffffff;
    font-size: 0.875rem;
    z-index: 1;
    position: relative;
    white-space: nowrap;
    min-width: 0;
}

.competition-quick-info .quick-info-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.competition-quick-info .quick-info-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.competition-quick-info .quick-info-item strong {
    color: var(--secondary-color);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.competition-quick-info .quick-info-item span {
    color: #ffffff;
}

.bodybuilder-image img,
.training-image img {
    width: 100%;
    height: auto;
}

.training-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.bodybuilder-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bodybuilder-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link.instagram:hover { background-color: #E4405F; color: #fff; }
.social-link.facebook:hover { background-color: #1877F2; color: #fff; }
.social-link.twitter:hover { background-color: #1DA1F2; color: #fff; }

.single-bodybuilder .entry-content {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: var(--text-color);
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.single-bodybuilder .entry-content h2,
.single-bodybuilder .entry-content h3,
.single-bodybuilder .entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.single-bodybuilder .entry-content h2 {
    font-size: 1.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--secondary-color);
}

.single-bodybuilder .entry-content h3 {
    font-size: 1.375rem;
    color: var(--secondary-color);
}

.single-bodybuilder .entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.single-bodybuilder .entry-content ul,
.single-bodybuilder .entry-content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.single-bodybuilder .entry-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.single-bodybuilder .entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-light);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    font-size: 1.125rem;
}

.single-bodybuilder .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-bodybuilder .entry-content a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.single-bodybuilder .entry-content a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Competition Winners */
.competition-winners {
    margin-top: 2rem;
}

.single-competition .entry-content {
    line-height: 1.75;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.single-competition .entry-content h2,
.single-competition .entry-content h3,
.single-competition .entry-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.single-competition .entry-content h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.single-competition .entry-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.single-competition .entry-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.winners-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.winners-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.winners-list li:last-child {
    border-bottom: none;
}

.winners-list i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

/* Related Items */
.related-training-programs {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.related-training-programs .section-heading {
    margin-bottom: 1.5rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.program-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.program-thumbnail {
    overflow: hidden;
    position: relative;
    height: 180px;
}

.program-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-thumbnail img {
    transform: scale(1.15);
}

.program-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    line-height: 1.3;
}

.program-content h3 a {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.program-content h3 a:hover {
    color: var(--secondary-color);
}

/* ============================================
   Archive Pages
   ============================================ */
.page-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

/* Reduce spacing on archive/listing pages */
.archive .page-header,
.post-type-archive .page-header,
.archive-bodybuilder .page-header,
.archive-competition .page-header,
.archive-training_program .page-header {
    padding: 0.75rem 0 1rem 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Reduce spacing on archive/listing pages */
.archive .page-title,
.post-type-archive .page-title,
.archive-bodybuilder .page-title,
.archive-competition .page-title,
.archive-training_program .page-title {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.archive-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Sections
   ============================================ */
.featured-section,
.competitions-section,
.training-section {
    padding: 4rem 0;
}

.featured-section:nth-child(even),
.competitions-section:nth-child(even),
.training-section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 4px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 20px 0;
    margin-top: 0;
    position: relative;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-widget-area {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-navigation {
    width: 100%;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-menu > li {
    position: relative;
    min-width: 180px;
}

/* Parent menu item styling */
.footer-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-menu > li > a:hover {
    color: var(--secondary-color);
}

/* Submenu styles - display as vertical list below parent */
.footer-menu .sub-menu {
    display: block;
    position: static;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.footer-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu .sub-menu a {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 0;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.footer-menu .sub-menu a:hover {
    color: var(--secondary-color);
    padding-left: 1rem;
    border-left-color: var(--secondary-color);
}

.site-info {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.8;
    width: 100%;
}

.site-info p {
    margin: 0 0 0.5rem 0;
}

.site-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.theme-credit {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-direction: column;
}

.back-to-top:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top i {
    display: block;
    line-height: 1;
}

/* ============================================
   Single Post & Page Styles
   ============================================ */
.single-post,
.single-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 var(--spacing);
}

.page-thumbnail {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--accent-color);
}

.tag-links,
.cat-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tag-links i,
.cat-links i {
    color: var(--secondary-color);
}

.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

.post-navigation a:hover .nav-title {
    color: var(--secondary-color);
}

/* ============================================
   Error 404 Page
   ============================================ */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
}

.error-404 .page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.error-404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404-links {
    margin-top: 3rem;
    text-align: left;
}

.error-404-links h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-404-links ul {
    list-style: none;
    padding: 0;
}

.error-404-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.error-404-links li:last-child {
    border-bottom: none;
}

.error-404-links a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-404-links a:hover {
    color: var(--secondary-color);
}

.error-404-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
}

/* ============================================
   Search Form
   ============================================ */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 25px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-form input[type="submit"],
.search-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form input[type="submit"]:hover,
.search-form button:hover {
    background-color: #c19d2e;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    margin: 1.5rem 0;
    padding: 1rem 0;
}

/* Reduce spacing on archive/listing pages */
.archive .breadcrumbs,
.post-type-archive .breadcrumbs,
.archive-bodybuilder .breadcrumbs,
.archive-competition .breadcrumbs,
.archive-training_program .breadcrumbs {
    margin: 0.5rem 0 0.75rem 0;
    padding: 0.5rem 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Yoast SEO Breadcrumbs Styling */
.breadcrumbs.yoast-breadcrumbs .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumbs.yoast-breadcrumbs .breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs.yoast-breadcrumbs .breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumbs.yoast-breadcrumbs .breadcrumb-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs.yoast-breadcrumbs .breadcrumb-list a:hover {
    color: var(--secondary-color);
}

.breadcrumbs.yoast-breadcrumbs .breadcrumb-list .breadcrumb_last {
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================================
   Utility Classes
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1rem;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.difficulty-beginner { color: #28a745; }
.difficulty-intermediate { color: #ffc107; }
.difficulty-advanced { color: #dc3545; }

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Sticky Header Enhancement */
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .bodybuilder-header {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .bodybuilder-title-section .entry-title {
        font-size: 2rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .info-label {
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .info-label::before {
        display: none;
    }
    
    .quick-info-bar {
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
    }
    
    .quick-info-item {
        padding-left: 1.25rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
    
    .info-sections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bodybuilder-header,
    .competition-header {
        grid-template-columns: 1fr !important;
        padding: 1.25rem;
        gap: 1.5rem;
    }
    
    .competition-header.has-image {
        grid-template-columns: 1fr !important;
    }
    
    .competition-image {
        margin-bottom: 1.25rem;
        max-width: 100%;
    }
    
    .single-competition .entry-title {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    .competition-quick-info {
        grid-template-columns: 1fr !important;
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }
    
    .winner-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .winner-position {
        display: inline-block;
    }
    
    .social-media-links .social-link {
        flex: 1;
        min-width: calc(50% - 0.5rem);
        justify-content: center;
        white-space: nowrap;
        overflow: visible;
    }
    
    .nicknames-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .nickname-social-icons {
        gap: 0.5rem;
    }
    
    .nickname-social-icons .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .nickname-social-icons .social-icon i {
        font-size: 1rem;
    }
    
    .posts-grid,
    .bodybuilders-grid,
    .competitions-grid,
    .training-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
    }
    
    .footer-navigation {
        width: 100%;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-menu > li {
        min-width: auto;
    }
    
    .footer-menu .sub-menu {
        margin-top: 0.75rem;
    }
    
    .footer-menu .sub-menu a {
        padding-left: 1rem;
    }
    
    .site-info {
        text-align: center;
        width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

