/*
 * Styles for the "Our Upcoming Specials" Section
 * Path: /css/specials.css
 */
 .home-specials-new {
    padding: 80px 0 100px;
    position: relative;
}
.specials-slider-container-new {
    position: relative;
    max-width: 1200px; /* Adjust based on your container width */
    margin: 50px auto 0;
    padding: 0 50px; /* Add padding to prevent buttons from overlapping content */
    box-sizing: border-box;
}
.specials-grid-new {
    display: grid;
    grid-auto-flow: column; /* Lay out items in a single row */
    grid-auto-columns: calc((100% / 3) - 20px); /* Show 3 cards by default, with gap */
    gap: 30px;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
    padding-bottom: 20px; /* Space for scrollbar if it appears */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.specials-grid-new::-webkit-scrollbar {
    display: none;
}
.special-card-new {
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 570px; /* Fixed height for all special cards */
    flex-shrink: 0; /* Ensure it doesn't shrink */
    scroll-snap-align: start; /* Snap to the start of each card */
}
.special-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.25);
}
.special-card-link-new {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Make the link fill the card */
}
.special-card-image-wrapper-new {
    width: 100%;
    height: 300px; /* Fixed height for all images */
    overflow: hidden;
}
.special-card-image-wrapper-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.special-card-new:hover .special-card-image-wrapper-new img {
    transform: scale(1.05);
}
.special-card-content-new {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to fill remaining space */
    text-align: left;
    justify-content: space-between; /* Distribute space and push CTA to bottom */
}
.special-card-title-new {
    font-family: var(--primary-font);
    font-size: 1.7rem;
    color: var(--gold-color);
    margin: 0 0 15px 0;
    line-height: 1.2;
    flex-shrink: 0; /* Prevent title from shrinking */
}
.special-card-excerpt-new {
    font-family: var(--secondary-font), 'Open Sans', sans-serif;
    color: rgba(224, 224, 224, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the CTA to the bottom */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for truncated text */
    display: -webkit-box; /* For line clamping */
    -webkit-line-clamp: 3; /* Limit to 3 lines, adjust as needed */
    -webkit-box-orient: vertical; /* For line clamping */
    min-height: calc(3 * 1rem * 1.6); /* Ensure a minimum height for 3 lines */
    flex-shrink: 0; /* Prevent excerpt from shrinking */
}
.special-card-cta-new {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--primary-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    align-self: flex-start; /* Align button to the left */
    flex-shrink: 0; /* Prevent CTA from shrinking */
}
.special-card-new:hover .special-card-cta-new {
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}
/* Slider Buttons */
.specials-slider-button-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(218, 165, 32, 0.8);
    color: var(--black-background);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.specials-slider-button-new:hover {
    background-color: #FFD700;
    transform: translateY(-50%) scale(1.05);
}
.specials-prev-new {
    left: 0;
}
.specials-next-new {
    right: 0;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .home-specials-new {
        padding: 60px 0 80px;
    }
    .specials-slider-container-new {
        padding: 0 15px;
    }
    .specials-grid-new {
        grid-auto-columns: 90%; /* Show 1 card with peek */
        gap: 20px;
    }
    .specials-slider-button-new {
        display: none;
    }
    .special-card-new {
        height: auto; /* Remove fixed height to allow dynamic sizing */
        min-height: 520px; /* Optional: set a minimum height to maintain consistency */
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
    }
    .special-card-link-new {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    /* --- FIX FOR MOBILE BUTTON VISIBILITY --- */
    .special-card-content-new {
        padding: 15px; /* Reduce padding to save space */
        flex-grow: 1;
        display: flex; /* Ensure it's a flex container */
        flex-direction: column; /* Stack children vertically */
        /* Remove justify-content: space-between to prevent pushing items apart */
        min-height: 200px; /* Ensure enough space for content */
    }
    /* Ensure the excerpt takes available space but allows shrinking */
    .special-card-excerpt-new {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 10px; /* Reduce margin to save space */
        -webkit-line-clamp: 3;
        flex-grow: 1; /* Takes up remaining space within content */
        flex-shrink: 1; /* Allow excerpt to shrink if needed */
        overflow: hidden; /* Keep text contained */
        text-overflow: ellipsis; /* Add ellipsis if needed */
        display: -webkit-box; /* For line clamping */
        -webkit-box-orient: vertical; /* For line clamping */
        /* Remove fixed min-height to allow flexibility */
    }
    /* Ensure the CTA button is placed at the bottom */
    .special-card-cta-new {
        align-self: center; /* Align button to the center or left as desired */
        padding: 8px 18px; /* Slightly smaller padding for mobile */
        font-size: 0.9rem;
        margin-top: auto; /* Crucial: Pushes the button to the very bottom of the .special-card-content-new flex container */
        flex-shrink: 0; /* Prevent button from shrinking */
    }
    /* Optional: Add overflow handling if content still gets cut off */
    .special-card-new {
        overflow-y: auto; /* Allow vertical scrolling if content overflows */
        -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    .special-card-new::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome, Safari, Opera */
    }
    /* --- END OF FIX --- */
}
@media (max-width: 768px) {
}
/*
 * Styles for the Upcoming Events Section (New)
 * These styles mirror the new specials section for consistent grid behavior.
 */
 .single-special-page-v2 {
    padding: 80px 0;
}
/* This is the title that now sits above the grid */
.special-header-v2 {
    margin-bottom: 40px; /* Added space below the title */
    text-align: center; /* Center the title for a cleaner look */
}
.special-layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* Main content is wider */
    gap: 60px;
    align-items: flex-start; /* This now correctly aligns the image and sidebar */
}
/* Main Content Styles */
.special-main-content-v2 {
    width: 100%;
}
.special-title-v2 {
    font-size: 3.5rem;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    line-height: 1.2;
}
.special-featured-image-v2 {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.special-featured-image-v2 img {
    display: block;
    width: 100%;
    height: auto; /* Let the image height be natural */
}
.special-detailed-description-v2 .description-heading {
    font-size: 2rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}
.special-detailed-description-v2 {
    font-family: var(--secondary-font), 'Open Sans', sans-serif;
    color: rgba(224, 224, 224, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}
.special-detailed-description-v2 p {
    margin-bottom: 1.5em;
}
.special-detailed-description-v2 h1,
.special-detailed-description-v2 h2,
.special-detailed-description-v2 h3 {
    color: var(--gold-color);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.special-detailed-description-v2 ul,
.special-detailed-description-v2 ol {
    margin-bottom: 1.5em;
    padding-left: 25px;
}
.back-to-home-link-container {
    margin-top: 50px;
}
/* Sidebar Styles */
.special-sidebar-v2 .sidebar-widget-v2 {
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    padding: 25px;
    position: sticky; /* Make the sidebar stick on scroll */
    top: 120px; /* Adjust based on your header height */
}
.special-sidebar-v2 .widget-title {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin: 0 0 20px 0;
}
.more-specials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.more-specials-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.more-specials-list li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
}
.more-specials-list li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}
.more-specials-list li span {
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 1rem;
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .special-layout-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets and smaller */
    }
    .special-sidebar-v2 {
        margin-top: 60px;
    }
    .special-sidebar-v2 .sidebar-widget-v2 {
        position: static; /* Remove sticky positioning on smaller screens */
        top: auto;
    }
    .special-title-v2 {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .single-special-page-v2 {
        padding: 60px 0;
    }
    .special-layout-grid {
        gap: 40px;
    }
    .special-title-v2 {
        font-size: 2.2rem;
    }
    .special-header-v2 {
      text-align: left; /* Align left on mobile */
    }
}