/* Guide Section Padding and Spacing Updates */

/* Add padding to all guide sections */
.brand-guides,
.specialty-guides,
.event-categories,
.category-section {
    padding-top: 3rem;
    margin-top: 2rem;
}

/* Add border to separate sections */
.brand-guides,
.specialty-guides,
.event-categories {
    border-top: 1px solid #eaeaea;
}

/* Brand card styling */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 220px;
    padding: 1.5rem;
}

/* Brand logo image container */
.brand-image {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Brand logo styling */
.brand-logo-img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Consistent button padding */
.brand-card .btn,
.guide-card .btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
}

/* Section headings with underline */
.brand-guides h2,
.specialty-guides h2,
.event-categories h2 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.brand-guides h2:after,
.specialty-guides h2:after,
.event-categories h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Sponsor logos in event guides */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.sponsor-logo {
    height: 60px;
    width: 120px;
    object-fit: contain;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

/* Grid layouts */
.brand-grid, .guide-grid {
    gap: 1.5rem;
}

/* Brand guide sections */
.brand-technology,
.brand-history,
.related-brands {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #eaeaea;
}

/* Technology section styling */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.technology-card {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.technology-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.technology-info p {
    margin-bottom: 1.5rem;
}

/* History section styling */
.history-content {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Brand shoes section */
.brand-shoes {
    margin-top: 3rem;
}

/* Brand header styling */
.brand-header {
    background-color: #f9f9f9;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Brand exploration cards */
.brand-exploration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.brand-exploration-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-exploration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.exploration-brand-logo {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.exploration-brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.brand-exploration-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.brand-exploration-card p {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.brand-exploration-card .btn {
    margin-top: auto;
}

/* Affiliate disclosure styling */
.affiliate-disclosure {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
    color: #666;
}

.affiliate-notice {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.affiliate-notice p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.affiliate-notice small {
    font-size: 0.85rem;
}

/* Affiliate disclosure page styling */
.affiliate-disclosure-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.disclosure-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.disclosure-content ul {
    margin-left: 1.5rem;
}

.disclosure-content li {
    margin-bottom: 0.5rem;
}

.disclosure-footer {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

/* Clickable Product Links */
.shoe-card h3 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}
.shoe-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.shoe-card .shoe-image a {
    display: block;
    transition: transform 0.3s ease;
}
.shoe-card .shoe-image a:hover {
    transform: scale(1.02);
}
.shoe-card .shoe-image a img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Related shoes grid */
.related-shoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Review sections */
.reviewers-take {
    margin-top: 2rem;
    background: #fafafa;
    border: 1px solid #eee;
    padding: 1rem 1.25rem;
    border-radius: 8px;
}
.reviewers-take h2 {
    margin-bottom: 0.5rem;
}

/* Event Schedule Styling */
.event-schedule {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}
.event-schedule p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}
.event-schedule strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Event Categories Improvements */
.category-section {
    margin-bottom: 2.5rem;
}

.category-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.category-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.category-section .category-teaser {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.category-section .btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Amazon Redirect Disclaimer Styling */
.amazon-redirect-disclaimer {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    text-align: center;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

/* Full Width Buttons for Product Cards */
.shoe-card .btn,
.related-shoes-grid .btn,
.brand-exploration-card .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* Ensure buttons in product cards are full width */
.shoe-info .buttons .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* Full width for CTA buttons on product detail pages */
.cta-buttons .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* Style for "Learn more" links in brand exploration cards */
.brand-exploration-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.brand-exploration-card p a:hover {
    text-decoration: underline;
}

/* Limit brand exploration grid to 3 columns */
.brand-exploration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive adjustments for brand exploration grid */
@media (max-width: 768px) {
    .brand-exploration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-exploration-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Affiliate tag styling */
.affiliate-tag {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 0.25rem;
    color: #666;
}

/* ==========================
   Equipment Page Polishing
   ========================== */
.equipment-hero {
    margin: 1rem 0 2rem 0;
}

.equipment-section {
    margin: 2rem 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.equipment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.equipment-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.equipment-info {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
}

.equipment-info h3 {
    margin: 0 0 0.5rem 0;
}

.equipment-info p {
    margin: 0 0 0.75rem 0;
}

.equipment-info .btn {
    width: 100%;
    text-align: center;
}

.equipment-section h2 {
    margin-bottom: 1rem;
}

.equipment-section .amazon-redirect-disclaimer {
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .equipment-image img { height: 420px; }
}

/* 
   Equipment Page - Netflix Style Layout (New)
   =========================================== */
.equipment-category {
    margin: 2rem 0;
}

.equipment-category h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    padding-left: 0.5rem;
}

.equipment-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.equipment-row::-webkit-scrollbar {
    height: 6px;
}

.equipment-row::-webkit-scrollbar-track {
    background: transparent;
}

.equipment-row::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.equipment-item {
    flex: 0 0 280px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.equipment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.equipment-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.equipment-details {
    padding: 1rem;
}

.equipment-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.3;
}

.equipment-details h3 a {
    color: #333;
    text-decoration: none;
}

.equipment-details h3 a:hover {
    color: #007bff;
}

.equipment-details p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.equipment-details .btn {
    width: 100%;
    margin: 0.75rem 0 0 0;
    font-size: 0.9rem;
    padding: 0.5rem;
}
.equipment-details .amazon-redirect-disclaimer {
    text-align: center;
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* Shoe card buttons and disclaimer stacking */
.shoe-card .buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.shoe-card .btn {
    width: 100%;
    text-align: center;
    margin: 0;
}

.shoe-card .amazon-redirect-disclaimer {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Apply similarly to related shoes and other product cards */
.related-shoes-grid .buttons,
.brand-shoes .buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}

.related-shoes-grid .btn,
.brand-shoes .btn {
    width: 100%;
}

/* Responsive guide features grid */
.feature-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.feature-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.icon-circle {
    flex: 0 0 36px;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: #e9f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-copy h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-copy p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
}

/* Tips card layout */
.tips-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.tip-card-xl {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tip-icon {
    flex: 0 0 36px;
    height: 36px;
    width: 36px;
    border-radius: 8px;
    background: #fff4e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tip-copy h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 800;
}

.tip-copy p {
    margin: 0;
    color: #555;
}

/* Top Shoes responsive card grid */
.shoe-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .shoe-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .shoe-grid { grid-template-columns: repeat(3, 1fr); }
}

.shoe-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shoe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.shoe-card .rating {
    font-weight: 600;
    color: #444;
}

/* Q&A Dialog Styling */
.feature-dialog {
    margin-top: 1.5rem;
}

.dialog-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.question {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.answer {
    color: #444;
    line-height: 1.5;
}

/* Add padding above Final Thoughts */
.guide-conclusion {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .feature-dialog {
        padding: 0 1rem;
    }
    
    .dialog-item {
        padding-bottom: 1.25rem;
    }
}

/* Streaming services display when logos not available */
.streaming-logos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1rem 0;
}
.streaming-logo {
    height: 26px;
    object-fit: contain;
    background: transparent;
}

/* Key times two-column layout */
.key-times {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.5rem 1rem;
    margin: 0.5rem 0 1rem 0;
}
.key-time-row { display: contents; }
.key-time-event {
    font-weight: 700;
    color: #222;
}
.key-time-detail {
    color: #444;
}
@media (max-width: 640px) {
    .key-times { grid-template-columns: 1fr; }
    .key-time-event { margin-top: 0.25rem; }
}