/*
 * General Styles
 *
 * These styles apply globally to the body, header, navigation, main content, and footers.
 * They set up basic typography, colors, layout, and spacing.
 */
body {
    font-family: sans-serif; /* Replace with chosen modern font */
    margin: 0;
    padding: 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* White text */
}

header {
    background-color: #333333; /* Darker header background */
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav h1 {
    color: #ffcc00; /* Yellow */
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: #9933ff; /* Purple */
    text-align: center;
    margin-bottom: 2rem;
}

/*
 * Technique Cards Section
 *
 * Styles for the technique cards displayed on the homepage or technique listing pages.
 * Uses CSS Grid for a responsive card layout.
 */
.technique-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted min width for smaller screens */
    gap: 2rem;
    margin-top: 2rem;
}

.technique-card {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
}

.technique-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.technique-card h3 {
    color: #ffcc00; /* Yellow */
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.technique-card p {
    font-size: 1rem;
    color: #cccccc; /* Lighter grey text */
    margin-bottom: 1.5rem;
}

.technique-card a {
    display: inline-block;
    background-color: #9933ff; /* Purple */
    color: #ffffff; /* White text */
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.technique-card a:hover {
    background-color: #7a29cc; /* Darker purple on hover */
}

/*
 * Training Plans Section
 *
 * Styles for the training plan cards displayed on the homepage or training plan listing pages.
 * Uses CSS Grid for a responsive card layout.
 */
.training-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted min width for smaller screens */
    gap: 2rem;
    margin-top: 2rem;
}

.training-plan-card {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.training-plan-card:hover {
    transform: translateY(-5px);
}

.training-plan-card h3 {
    color: #ffcc00; /* Yellow */
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.training-plan-card p {
    font-size: 1rem;
    color: #cccccc; /* Lighter grey text */
    margin-bottom: 1.5rem;
}

.training-plan-card a {
    display: inline-block;
    background-color: #9933ff; /* Purple */
    color: #ffffff; /* White text */
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.training-plan-card a:hover {
    background-color: #7a29cc; /* Darker purple on hover */
}

/*
 * Featured Video Section
 *
 * Styles for the featured video section on the homepage.
 * Includes responsive styling for the video container to maintain aspect ratio.
 */
#featured-video {
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 2rem;
}

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


/*
 * Hero Section
 *
 * Styles for the main hero section on the homepage, including the title,
 * subtitle, and call-to-action button.
 */
#hero {
    text-align: center;
    padding: 4rem 0;
    background-color: #2a2a2a; /* Slightly lighter dark background */
}

#hero h2 {
    color: #ffcc00; /* Yellow */
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #ffcc00; /* Yellow */
    color: #1a1a1a; /* Dark text */
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Styles for the collapsible toggle button */
.collapsible-toggle {
    background-color: #1f2937; /* Slightly lighter dark gray */
    color: #e5e7eb; /* Light gray text */
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
}

.collapsible-toggle:hover {
    background-color: #374151; /* Even lighter gray on hover */
}

.collapsible-toggle::-webkit-details-marker {
    display: none;
}

details[open] > .collapsible-toggle {
    background-color: #4b5563; /* Different background when open */
}

.collapsible-toggle .arrow {
    transition: transform 0.3s ease;
}

details[open] > .collapsible-toggle .arrow {
    transform: rotate(90deg);
}

.cta-button:hover {
    background-color: #e6b800; /* Darker yellow on hover */
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #333333; /* Darker footer background */
    color: #cccccc; /* Lighter grey text */
    margin-top: 3rem;
}

/*
 * Responsive Design
 *
 * Styles for making the website responsive on different screen sizes,
 * particularly for mobile devices. Includes mobile navigation styles.
 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    #hero {
        padding: 3rem 0;
    }

    #hero h2 {
        font-size: 1.8rem;
    }

    #hero p {
        font-size: 1rem;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex; /* Show hamburger icon on small screens */
        flex-direction: column;
        justify-content: space-around;
        width: 25px;
        height: 20px;
        cursor: pointer;
        z-index: 1001; /* Ensure toggle is above menu */
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff; /* White color for bars */
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav ul {
        display: none; /* Hide by default on small screens */
        width: 100%;
        text-align: center;
        background-color: #333333; /* Match header background */
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000; /* Ensure menu is above other content */
    }

    nav ul.show {
        display: flex; /* Show when active */
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }
}

/* Techniques Page Specific Styles */
.takedown-section {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.takedown-section h3 {
    color: #ffcc00; /* Yellow */
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.takedown-section h4 {
    color: #9933ff; /* Purple */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    text-align: left;
}

.takedown-section p {
    color: #cccccc; /* Lighter grey text */
    margin-bottom: 1rem;
}

.takedown-section ul {
    color: #cccccc; /* Lighter grey text */
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.takedown-section ul li {
    margin-bottom: 0.5rem;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #333333; /* Darker background for table */
    color: #ffffff; /* White text */
}

th, td {
    border: 1px solid #555555; /* Grey border */
    padding: 12px;
    text-align: left;
}

th {
    background-color: #444444; /* Slightly lighter header background */
    color: #ffcc00; /* Yellow */
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #2a2a2a; /* Alternating row color */
}

tbody tr:hover {
    background-color: #3a3a3a; /* Hover effect */
}

/* Placeholder for Visuals (Optional - can be hidden in final version) */
.visual-placeholder {
    border: 2px dashed #9933ff; /* Purple dashed border */
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
    color: #9933ff; /* Purple text */
    font-style: italic;
}

/* Collapsible Styles */
.collapsible-toggle {
    cursor: pointer;
}

.collapsible-content {
    display: none; /* Hidden by default */
}

/* Styles for the collapsible details */
.details-btn {
    background-color: #9933ff; /* Purple */
    color: #ffffff; /* White */
    transition: background-color 0.3s ease;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1rem; /* Add some space below the button */
}

.details-btn:hover {
    background-color: #7a29cc; /* Darker purple on hover */
}

/* Smaller buttons for the Toolkit section */
#toolkit .details-btn {
    width: auto; /* Allow button to size based on content */
    padding: 0.5rem 1rem; /* Reduce padding slightly */
    display: inline-flex; /* Use inline-flex to keep arrow aligned */
}

.details-content {
    max-height: 0;
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 1.5rem; /* p-6 for content */
    border-top: 1px solid #374151; /* Use a color from the original takedown.html for the border */
}

.details-content.open {
    max-height: none; /* Allow content to determine height */
    padding: 1.5rem; /* p-6 for content */
}

.accent-text {
    color: #ffcc00; /* Yellow - using the project's accent color */
}

.bjj-icon {
    width: 40px;
    height: 40px;
    fill: #ffcc00; /* Yellow - using the project's accent color */
}

/* Custom scrollbar for better aesthetics in dark mode */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a; /* Dark background */
}
::-webkit-scrollbar-thumb {
    background: #555555; /* Grey */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #777777; /* Lighter Grey */
}

/* Simple animation for section appearance */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Guide Card Styles */
.guide-card-link {
    display: block;
    text-decoration: none;
    width: 100%;
    max-width: 420px;
}

.guide-card {
    background: #22305a;
    border-radius: 14px;
    box-shadow: 0 2px 15px #0a1124cc;
    padding: 32px 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px #0a1124cc;
}

.guide-card i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 18px;
}

.guide-card h2 {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.guide-card p {
    color: #eaf6ff;
    font-size: 1.05rem;
    text-align: center;
}

/* Add Technique Page Styles */
.content-section {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.content-section h3 {
    color: #ffcc00; /* Yellow */
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card-container .technique-card {
    flex: 1 1 300px; /* Default: allow cards to grow and shrink, with a base of 300px */
    background-color: #1a1a1a; /* Dark background for cards within section */
    border: 1px solid #333333; /* Darker border */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-container .technique-card h3 {
    color: #9933ff; /* Purple */
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.card-container .technique-card p {
    font-size: 0.95rem;
    color: #cccccc; /* Lighter grey text */
    margin-bottom: 1rem;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.card-container .technique-card .note {
    font-size: 0.85rem;
    color: #ffcc00; /* Yellow */
    font-style: italic;
    margin-top: auto; /* Push to the bottom */
}

.card-container.two-column {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Two columns on larger screens */
}

.card-container.four-column {
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Four columns on larger screens */
}

@media (min-width: 768px) {
    .card-container.two-column {
        display: grid;
    }
     .card-container.four-column {
        display: grid;
    }
}


.training-week-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.week-day-card {
    background-color: #1a1a1a; /* Dark background */
    border: 1px solid #333333; /* Darker border */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.week-day-card h4 {
    color: #ffcc00; /* Yellow */
    margin-top: 0;
    margin-bottom: 1rem;
}

.week-day-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #cccccc; /* Lighter grey text */
}

.week-day-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mindset-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem; /* Tailwind: gap-3 */
    list-style: none;
    padding: 0;
}

.mindset-list li {
    background-color: #333333; /* Darker background */
    color: #cccccc; /* Lighter grey text */
    padding: 0.5rem 1rem; /* Tailwind: py-2 px-4 */
    border-radius: 9999px; /* Tailwind: rounded-full */
    font-size: 0.875rem; /* Tailwind: text-sm */
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: default; /* Not clickable */
}

.mindset-list li:hover {
    background-color: #ffcc00; /* Yellow */
    color: #1a1a1a; /* Dark text */
}

/* Modal Styles (for Coming Soon) */
.coming-soon-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 17, 36, 0.85); /* Dark overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #182447; /* Dark blue background */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffcc00; /* Yellow border */
    max-width: 400px;
    width: 90%;
    color: #eaf6ff; /* Light text */
}

.modal-content h2 {
    color: #ffcc00; /* Yellow */
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.modal-content button {
    background: #1a6cf0; /* Blue button */
    color: #fff; /* White text */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.modal-content button:hover {
    background-color: #1457cc; /* Darker blue on hover */
}

/* Sweeps Beginner 1 Page Specific Styles */
.hero-sweeps-beginner-1-bg {
    background-image: url('https://placehold.co/1200x600/1f2937/4b5563?text=No-Gi+Jiu-Jitsu+Action'); /* Placeholder, replace with actual image */
    background-size: cover;
    background-position: center;
    color: #e5e7eb; /* Light gray text */
    padding: 4rem 0; /* py-16 */
}

@media (min-width: 768px) { /* md:py-24 */
    .hero-sweeps-beginner-1-bg {
        padding: 6rem 0;
    }
}

.hero-sweeps-beginner-1-bg .container {
    max-width: 1200px; /* container mx-auto */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    text-align: center;
}

.hero-sweeps-beginner-1-bg h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold; /* font-bold */
    margin-bottom: 1rem; /* mb-4 */
    line-height: 1.25; /* leading-tight */
}

@media (min-width: 768px) { /* md:text-5xl */
    .hero-sweeps-beginner-1-bg h1 {
        font-size: 3rem;
    }
}

.hero-sweeps-beginner-1-bg p {
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) { /* md:text-xl */
    .hero-sweeps-beginner-1-bg p {
        font-size: 1.25rem;
    }
}

.hero-sweeps-beginner-1-bg .grid {
    display: grid;
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
    max-width: 56rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) { /* md:grid-cols-3 */
    .hero-sweeps-beginner-1-bg .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.btn-primary {
    background-color: #3b82f6; /* Blue */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 1.125rem; /* text-lg */
}

.btn-primary:hover {
    background-color: #2563eb; /* Darker Blue */
}

/* Details/Summary Styles for collapsible sections */
details > summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem;
    background-color: #1f2937; /* Slightly lighter dark gray */
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #e5e7eb; /* Light gray text */
}

details > summary:hover {
    background-color: #374151; /* Even lighter gray on hover */
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] > summary {
    background-color: #4b5563; /* Different background when open */
}

details > summary .arrow {
    transition: transform 0.3s ease;
}

details[open] > summary .arrow {
    transform: rotate(90deg);
}

.details-content {
    padding: 1.5rem;
    border: 1px solid #374151;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    background-color: #1f2937;
    color: #e5e7eb; /* Light gray text */
}

.details-content h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem; /* mb-2 */
    color: #60a5fa; /* blue-400 */
}

.details-content h4 {
     font-size: 1.125rem; /* text-lg */
     font-weight: 600; /* font-semibold */
     margin-top: 1.5rem; /* mt-6 */
     margin-bottom: 0.5rem; /* mb-2 */
     color: #4ade80; /* green-400 */
}

.details-content h4.text-red-400 {
    color: #f87171; /* red-400 */
}


.details-content p {
    margin-bottom: 1rem; /* mb-4 */
}

.details-content ul {
    list-style: disc;
    list-style-position: inside;
    margin-top: 0.5rem; /* mt-2 */
    margin-bottom: 1rem; /* mb-4 */
    padding-left: 1rem; /* pl-4 */
}

.details-content ul li {
    margin-bottom: 0.25rem; /* space-y-1 */
}

.details-content .grid {
    display: grid;
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) { /* md:grid-cols-2 */
    .details-content .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Table Styling within details */
.details-content .table-container {
    overflow-x: auto;
    overflow-y: auto; /* Enable vertical scrolling for the table container */
    margin-top: 1.5rem; /* mt-6 */
    margin-bottom: 1.5rem; /* mb-6 */
    background-color: #1f2937; /* gray-800 */
    padding: 1rem; /* p-4 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); /* shadow-md */
}

.details-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #333333; /* Darker background for table */
    color: #ffffff; /* White text */
}

.details-content th,
.details-content td {
    border: 1px solid #374151; /* gray-700 */
    padding: 0.75rem; /* px-4 py-2 */
    text-align: left;
    font-size: 0.875rem; /* text-sm */
    color: #d1d5db; /* gray-300 / gray-400 */
}

.details-content th {
    background-color: #374151; /* gray-700 */
    font-weight: 600; /* font-medium */
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.05em; /* tracking-wider */
}

.details-content tbody tr:nth-child(even) {
    background-color: #111827; /* gray-900 */
}

.details-content tbody tr:hover {
    background-color: #1f2937; /* gray-800 */
}

.details-content td.whitespace-nowrap {
    white-space: nowrap;
}

.details-content td[rowspan] {
    vertical-align: top;
}

/* Works Cited specific styles */
.details-content .text-sm {
    font-size: 0.875rem;
}

.details-content .space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}

.details-content a {
    color: #60a5fa; /* blue-400 */
    text-decoration: underline;
}

.details-content a:hover {
    color: #3b82f6; /* blue-500 */
}

/* Footer styles for sweeps-beginner-1.html */
.sweeps-beginner-1-footer {
    background-color: #1f2937; /* gray-900 */
    text-align: center;
    padding: 2rem 0; /* py-8 */
    color: #9ca3af; /* gray-500 */
}

/* Responsive styles for the table container on small screens */
@media (max-width: 768px) {
    .details-content .table-container {
        height: 400px; /* Set a fixed height for vertical scrolling on small screens */
        overflow-y: scroll; /* Force vertical scrolling on small screens */
    }
}
