/*
Theme Name: Tiecrafty
Theme URI: https://tiecrafty.com/
Author: Tiecrafty
Author URI: https://tiecrafty.com/
Description: Tiecrafty custom theme - Savile Row Tailored Elegance style.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiecrafty
*/

/* ============================================
   Color Palette - Tailwind CSS Variables
   ============================================
   bg-navy:      #0A1128 (Deep Navy Blue)
   bg-egyptian:  #FBFBF9 (Egyptian White/Cream)
   bg-gold:      #D4AF37 (Gold)
   bg-white:     #FFFFFF
   text-navy:    #0A1128
   text-egyptian: #FBFBF9
   text-gold:    #D4AF37
   border-navy:  #0A1128
   border-gold:  #D4AF37
*/

/* Custom Selection Color - 极致质感 */
::selection {
    background-color: #D4AF37; /* Gold */
    color: #0A1128; /* Navy */
}

/* Elegant Scrollbar - 匹配高级定制风格 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FBFBF9; /* Egyptian White */
}

::-webkit-scrollbar-thumb {
    background: #0A1128; /* Navy */
    border-radius: 0px; /* 呼应直角边缘风格 */
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37; /* Gold */
}

/* Base resets & utilities that might not be handled directly by CDN */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Front Page Styles - Homepage Specific
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    background-color: #0A1128; /* Navy */
    color: #FBFBF9; /* Egyptian */
    overflow: hidden;
}

.hero-bg-parallax {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-label {
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-highlight {
    font-style: italic;
    font-weight: 300;
    color: #D4AF37;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(251, 251, 249, 0.8);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta-btn {
    display: inline-block;
    background-color: #D4AF37;
    color: #0A1128;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1.25rem 2.5rem;
    transition: all 0.5s;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 1);
}

.hero-cta-btn:hover {
    background-color: #FBFBF9;
    box-shadow: 0 0 0 4px rgba(251, 251, 249, 0.2);
}

/* Section Spacing */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Section Headers */
.section-title {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #0A1128;
    text-align: center;
}

.section-title-gold {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #D4AF37;
    text-align: center;
}

.section-divider {
    width: 3rem;
    height: 1px;
    background-color: #D4AF37;
    margin: 1.5rem auto 0;
}

/* Feature Cards */
.feature-card {
    border-top: 1px solid rgba(10, 17, 40, 0.1);
    padding-top: 2rem;
    transition: border-color 0.5s;
}

.feature-card:hover {
    border-color: #D4AF37;
}

.feature-card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.7s;
}

.feature-card:hover .feature-card-image {
    transform: scale(1.05);
}

.feature-card-title {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #0A1128;
    margin-bottom: 1rem;
}

.feature-card-desc {
    color: rgba(10, 17, 40, 0.7);
    line-height: 1.6;
    font-weight: 300;
    min-height: 7.5rem;
}

.feature-card-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0A1128;
    border-bottom: 1px solid #D4AF37;
    padding-bottom: 0.25rem;
    transition: color 0.3s;
}

.feature-card-link:hover {
    color: #D4AF37;
}

/* Quick Navigation Links */
.nav-link-item {
    display: block;
    border-left: 2px solid rgba(10, 17, 40, 0.2);
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: all 0.3s;
}

.nav-link-item:hover {
    border-color: #D4AF37;
}

.nav-link-title {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #0A1128;
    margin-bottom: 0.25rem;
}

.nav-link-desc {
    display: block;
    font-size: 0.875rem;
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
}

/* Popular Tutorials Table */
.tutorials-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.tutorials-table th {
    padding: 1rem 1rem 1rem 0;
    font-weight: 700;
    color: #0A1128;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 2px solid #0A1128;
}

.tutorials-table td {
    padding: 1rem 1rem 1rem 0;
    color: rgba(10, 17, 40, 0.8);
    font-weight: 300;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.tutorials-table tr:hover {
    background-color: #FBFBF9;
}

.tutorials-table tr:hover td a {
    color: #D4AF37;
}

.tutorials-table td a {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #0A1128;
    transition: color 0.3s;
}

/* Free Resources Cards */
.resource-card {
    display: block;
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background-color: rgba(10, 17, 40, 0.2);
    transition: all 0.5s;
}

.resource-card:hover {
    border-color: #D4AF37;
    background-color: rgba(10, 17, 40, 0.4);
}

.resource-card-icon {
    font-size: 1.875rem;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    transition: transform 0.5s;
}

.resource-card:hover .resource-card-icon {
    transform: translateY(-0.5rem);
}

.resource-card-title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.resource-card-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(251, 251, 249, 0.7);
}

/* Newsletter Section */
.newsletter-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #FBFBF9;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.newsletter-title {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #0A1128;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 2.5rem;
    }
}

.newsletter-desc {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border-bottom: 1px solid rgba(10, 17, 40, 0.3);
    padding: 0.75rem 1rem;
    color: #0A1128;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: #D4AF37;
}

.newsletter-input::placeholder {
    color: rgba(10, 17, 40, 0.5);
}

.newsletter-btn {
    background-color: #0A1128;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid #0A1128;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background-color: #D4AF37;
    color: #0A1128;
    border-color: #D4AF37;
}

/* ============================================
   GSAP Animation Classes
   ============================================ */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gsap-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.gsap-stagger-container .gsap-stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gsap-stagger-container .gsap-stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.gsap-parallax {
    will-change: transform;
}

/* ============================================
   Reusable Component Styles - Templates
   ============================================ */

/* ============================================
   FAQ Section Styles
   ============================================ */
.faq-section {
    padding: 6rem 0;
    background-color: #FBFBF9;
}

.faq-item {
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.faq-item.active {
    border-color: #D4AF37;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #D4AF37;
}

.faq-question-text {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #0A1128;
}

.faq-icon {
    color: #D4AF37;
    font-size: 1rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
    line-height: 1.6;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1rem 0 1.5rem;
}

.faq-related-link {
    margin-top: 1rem;
}

.faq-related-link a {
    color: #D4AF37;
    text-decoration: underline;
}

/* FAQ Simple List */
.faq-q-number {
    color: #D4AF37;
    font-weight: 700;
}

.faq-q-title {
    font-family: 'Georgia', serif;
    font-size: 1.125rem;
    color: #0A1128;
    margin-bottom: 0.5rem;
}

.faq-q-answer {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
}

/* ============================================
   Tutorial Steps Styles
   ============================================ */
.tutorial-section {
    padding: 6rem 0;
    background-color: #FBFBF9;
}

.tutorial-requirements {
    background-color: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.1);
    padding: 1.5rem;
}

.tutorial-req-title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #0A1128;
    margin-bottom: 1rem;
}

.tutorial-req-list li {
    color: rgba(10, 17, 40, 0.7);
    padding: 0.5rem 0;
}

.tutorial-progress {
    position: sticky;
    top: 80px;
    background-color: #FFFFFF;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(10, 17, 40, 0.1);
    z-index: 100;
}

.progress-bar {
    height: 4px;
    background-color: rgba(10, 17, 40, 0.1);
    border-radius: 2px;
}

.progress-fill {
    height: 100%;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #0A1128;
    margin-top: 0.5rem;
}

.progress-text.completed {
    color: #D4AF37;
    font-weight: 700;
}

.tutorial-step {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.tutorial-step.completed {
    border-color: #D4AF37;
}

.tutorial-step-final {
    border-bottom: none;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-number {
    background-color: #0A1128;
    color: #FBFBF9;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.step-title {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #0A1128;
    margin-left: 1rem;
}

.step-checkbox {
    margin-left: auto;
    cursor: pointer;
    transition: color 0.3s;
}

.step-checkbox.checked {
    color: #D4AF37;
}

.step-image-container {
    margin: 1.5rem 0;
}

.step-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(10, 17, 40, 0.1);
}

.step-content {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
    line-height: 1.6;
}

.step-tip {
    padding: 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 2px solid #D4AF37;
    margin-top: 1rem;
}

.step-tip-pro {
    background-color: rgba(212, 175, 55, 0.2);
}

.step-note {
    padding: 1rem;
    background-color: rgba(10, 17, 40, 0.05);
    border-left: 2px solid #0A1128;
    margin-top: 1rem;
}

.step-completion {
    padding: 1rem;
    background-color: #D4AF37;
    color: #0A1128;
    text-align: center;
    font-weight: 700;
    margin-top: 1rem;
}

.step-nav-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0A1128;
    color: #FBFBF9;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.step-nav-btn:hover {
    background-color: #D4AF37;
    color: #0A1128;
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    padding: 0;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: border-color 0.3s;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-image: url('dist/images/video-thumb-12-store-ties.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(10, 17, 40, 0.4);
    transition: background-color 0.3s;
}

.video-placeholder:hover::before {
    background-color: rgba(10, 17, 40, 0.3);
}

.video-placeholder:hover {
    border-color: #D4AF37;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.play-circle {
    display: inline-block;
    font-size: 3rem;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    padding: 1rem;
    transition: transform 0.3s;
}

.video-placeholder:hover .play-circle {
    transform: scale(1.1);
}

.video-placeholder-content {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #FBFBF9;
    width: 100%;
    padding: 0 1rem;
}

.video-specs {
    font-size: 0.875rem;
    color: rgba(251, 251, 249, 0.8);
    margin-top: 0.5rem;
}

.video-embed-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   Product Card Styles
   ============================================ */
.products-section {
    padding: 6rem 0;
    background-color: #FBFBF9;
}

.product-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border: 1px solid rgba(10, 17, 40, 0.1);
    transition: border-color 0.3s;
}

.product-card:hover {
    border-color: #D4AF37;
}

.product-rank {
    display: inline-block;
    background-color: #0A1128;
    color: #FBFBF9;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-image-container {
    margin-bottom: 1.5rem;
}

.product-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.product-header {
    margin-bottom: 1rem;
}

.product-title {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #0A1128;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-price {
    color: #D4AF37;
    font-weight: 700;
}

.product-rating {
    color: #0A1128;
}

.product-material {
    color: rgba(10, 17, 40, 0.6);
}

.product-overview {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .product-pros-cons {
        grid-template-columns: 1fr;
    }
}

.pros-title, .cons-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0A1128;
    margin-bottom: 0.75rem;
}

.pros-list li {
    color: rgba(10, 17, 40, 0.7);
    padding: 0.25rem 0;
}

.pros-list li::before {
    content: "+";
    color: #22c55e;
    margin-right: 0.5rem;
}

.cons-list li {
    color: rgba(10, 17, 40, 0.7);
    padding: 0.25rem 0;
}

.cons-list li::before {
    content: "−";
    color: #ef4444;
    margin-right: 0.5rem;
}

.product-best-for {
    padding: 0.75rem;
    background-color: rgba(212, 175, 55, 0.1);
}

.best-for-label {
    font-weight: 700;
    color: #0A1128;
}

.best-for-text {
    color: rgba(10, 17, 40, 0.7);
}

.product-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-buy-btn {
    background-color: #D4AF37;
    color: #0A1128;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.3s, color 0.3s;
}

.product-buy-btn:hover {
    background-color: #0A1128;
    color: #D4AF37;
}

/* Comparison Table */
.comparison-section {
    padding: 4rem 0;
    background-color: #FBFBF9;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0A1128;
    border-bottom: 2px solid #0A1128;
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    color: rgba(10, 17, 40, 0.7);
    border-bottom: 1px solid rgba(10, 17, 40, 0.1);
}

.comparison-table tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.comparison-table td a {
    font-family: 'Georgia', serif;
    color: #0A1128;
    transition: color 0.3s;
}

.comparison-table tr:hover td a {
    color: #D4AF37;
}

/* Difficulty Badge */
.difficulty-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
}

.difficulty-badge.easy {
    background-color: #22c55e;
    color: #FFFFFF;
}

.difficulty-badge.medium {
    background-color: #D4AF37;
    color: #0A1128;
}

.difficulty-badge.hard {
    background-color: #ef4444;
    color: #FFFFFF;
}

/* Size Indicator */
.size-indicator {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.size-indicator.small {
    color: #22c55e;
}

.size-indicator.medium {
    color: #D4AF37;
}

.size-indicator.large {
    color: #0A1128;
}

.size-indicator.extra-large {
    color: #ef4444;
}

/* VS Table */
.vs-table {
    width: 100%;
    border-collapse: collapse;
}

.vs-table .feature-name {
    font-weight: 700;
    color: #0A1128;
}

.comparison-verdict {
    padding: 1.5rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 2px solid #D4AF37;
}

.verdict-title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #0A1128;
    margin-bottom: 1rem;
}

.verdict-list li {
    color: rgba(10, 17, 40, 0.7);
    padding: 0.5rem 0;
}

/* ============================================
   Mistakes Card Styles
   ============================================ */
.mistakes-section {
    padding: 6rem 0;
    background-color: #FBFBF9;
}

.mistakes-progress {
    text-align: center;
    margin-bottom: 2rem;
}

.mistakes-count {
    font-size: 0.875rem;
    color: #0A1128;
}

.mistake-card {
    padding: 1.5rem;
    background-color: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.1);
    transition: border-color 0.3s;
}

.mistake-card:hover {
    border-color: #D4AF37;
}

.mistake-card.mistake-highlight {
    border-color: #D4AF37;
    animation: highlight-pulse 2s ease;
}

@keyframes highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.3); }
}

.mistake-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.mistake-number {
    background-color: #ef4444;
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.mistake-title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #0A1128;
    margin-left: 1rem;
}

.mistake-problem {
    padding: 1rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 2px solid #ef4444;
    margin-bottom: 1rem;
}

.problem-label {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.mistake-fix {
    padding: 1rem;
    background-color: rgba(34, 197, 94, 0.1);
    border-left: 2px solid #22c55e;
}

.fix-label {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.mistake-toggle {
    cursor: pointer;
    color: #D4AF37;
    font-size: 0.875rem;
}

/* ============================================
   Related Guides Styles
   ============================================ */
.related-guides-section {
    padding: 4rem 0;
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .related-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-links-grid {
        grid-template-columns: 1fr;
    }
}

.related-link-item {
    display: block;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background-color: rgba(10, 17, 40, 0.1);
    transition: all 0.3s;
}

.related-guides-section.bg-egyptian .related-link-item {
    background-color: #FFFFFF;
    border-color: rgba(10, 17, 40, 0.1);
}

.related-link-item:hover {
    border-color: #D4AF37;
    background-color: rgba(10, 17, 40, 0.2);
}

.related-guides-section.bg-egyptian .related-link-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.link-icon {
    color: #D4AF37;
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
}

.related-link-item:hover .link-icon {
    transform: translateY(-0.25rem);
}

.link-title {
    font-family: 'Georgia', serif;
    font-size: 1.125rem;
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.5rem;
}

.related-guides-section.bg-egyptian .link-title {
    color: #0A1128;
}

.link-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(251, 251, 249, 0.7);
}

.related-guides-section.bg-egyptian .link-desc {
    color: rgba(10, 17, 40, 0.7);
}

.related-links-list li {
    padding: 0.75rem 0;
}

.related-links-list a {
    color: #D4AF37;
    font-family: 'Georgia', serif;
}

.related-cta {
    margin-top: 2rem;
}

.cta-text {
    color: rgba(251, 251, 249, 0.7);
    font-weight: 300;
}

.related-guides-section.bg-egyptian .cta-text {
    color: rgba(10, 17, 40, 0.7);
}

.cta-btn {
    display: inline-block;
    background-color: #D4AF37;
    color: #0A1128;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #FBFBF9;
}

/* ============================================
   Inner Page Hero Styles
   ============================================ */
.inner-hero {
    padding: 6rem 0;
    background-color: #FBFBF9;
}

.inner-hero-title {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #0A1128;
}

@media (min-width: 768px) {
    .inner-hero-title {
        font-size: 3.5rem;
    }
}

.inner-hero-desc {
    color: rgba(10, 17, 40, 0.7);
    font-weight: 300;
    font-size: 1.125rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gold {
    color: #D4AF37;
}

.text-navy {
    color: #0A1128;
}

.text-egyptian {
    color: #FBFBF9;
}

.bg-navy {
    background-color: #0A1128;
}

.bg-egyptian {
    background-color: #FBFBF9;
}

.bg-gold {
    background-color: #D4AF37;
}

.border-gold {
    border-color: #D4AF37;
}

.border-navy {
    border-color: #0A1128;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 0.5rem;
    color: rgba(10, 17, 40, 0.5);
    font-size: 0.75rem;
}

/* Row Highlight */
.row-highlight {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Badge Pulse Animation */
.badge-pulse {
    animation: badge-pulse 0.5s ease;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    font-size: 0.875rem;
    color: rgba(10, 17, 40, 0.5);
    font-style: italic;
}

/* Table Note */
.table-note {
    font-size: 0.875rem;
    color: rgba(10, 17, 40, 0.5);
    font-style: italic;
    margin-top: 1rem;
}