@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,500&display=swap');

.primary {
    background-color: #2a2a2a !important;
}

.border-success {
    border-color: #2a2a2a !important;
}

.warning {
    background-color: #F7C061 !important;
}

body {
    background: #F3F4F6;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Roboto Slab", serif;
    a
}

.header-content {
    height: 450px;
}

.header-content p {
    font-size: 16px;
    max-width: 1000px;
    margin: auto;
}

.header-content .logo,
.header-content h1 {
    text-align: center;
    padding-top: 90px;
    font-family: "Roboto Slab", serif;
}

.header-content .logo img {
    max-width: 350px;
}

@media only screen and (max-width: 500px) {
    .header-content .logo img {
        max-width: 300px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

.ans {
    background: #d4edda;
    color: #155724;
    border-radius: 5px;
    padding: 10px;
    text-transform: capitalize;
}

#tips-container {
    max-height: 260px;
    /* Fixed height to limit the container size */
    overflow-y: auto;
    /* Adds a vertical scrollbar */
}

.tip {
    display: none;
    background: #EAE0D5 !important;
    color: #4f4a45;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.tip.initial {
    display: block;
    /* Show initial tips */
}

/* Custom separator between columns */
.separator {
    position: relative;
}

/* Add a vertical border between columns */
.separator::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    /* Border width */
    height: 100%;
    background-color: #dee2e6;
    /* Border color */
    display: none;
    /* Hidden by default */
}

/* Show separator only on medium and larger screens */
@media (min-width: 768px) {
    .separator::before {
        display: block;
    }
}

@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
    }
}

.theme-clue {
    background-color: #d1ecf1;
    padding: 15px;
    border-left: 4px solid #0c5460;
    margin: 15px 0;
    border-radius: 4px;
}

.spangram-highlight {
    background-color: #fff3cd;
    padding: 15px;
    border-left: 4px solid #856404;
    margin: 15px 0;
    border-radius: 4px;
}

.word-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin: 15px 0 45px;
}

.word-item {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.theme-words {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.theme-word {
    background-color: #d4edda;
    color: #155724;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
}

.archive-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.archive-item {
    padding: 10px;
}

.archive-item a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
}

.archive-item:hover {
    background-color: #e9ecef;
}


.bar--blue {
    background: linear-gradient(180deg, #e6f0ff, #f8fbff);
    color: #2563eb;
}

.bar--warm {
    background: linear-gradient(180deg, #fff7e6, #fffdf7);
    color: #ff8c00;
}

.bar {

    padding: 12px 14px;
    border-radius: 10px;
    margin: 14px 0 8px 0;
    font-weight: 700;
    font-size: 18px;
}

.note {
    align-items: flex-start;
    gap: 16px;
    background: #f4f9ff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(21, 49, 58, 0.03);
    border: 1px solid #e7f0ff;
    position: relative;
}

.word-list-container {
    max-height: 350px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    position: relative;
}

.word-list-container.expanded {
    max-height: none;
    height: auto;
}

.word-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.word-item {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}

.button-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.9) 30%, rgba(248, 249, 250, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
}

.show-more-btn {
    margin-top: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}

.show-more-btn .less-text {
    display: none;
}

.show-more-btn.expanded .more-text {
    display: none;
}

.show-more-btn.expanded .less-text {
    display: inline;
}

.answer {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 30px;
    border-radius: 6px;
    margin: 15px auto;
    margin-bottom: 30px;
}

.content-wrap {
    margin-top: -150px !important;
    max-width: 1200px;
    margin: 0px auto;
    margin-bottom: 60px;
}

.content {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.content img {
    width: 100%;
    margin: 10px 0;
}

.content ul {
    padding-left: 0;
    margin-bottom: 1rem;
    list-style: none;
}

.content ul li {
    padding-left: 30px;
    background: transparent;
}

.content ul li {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0;
}

.content ul li {
    position: relative;
    display: block;
    padding: 0.75rem 2rem;
}

.content ul li:before {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiBkPSJNMyAxMmMwLTQuMjQzIDAtNi4zNjQgMS4zMTgtNy42ODJDNS42MzYgMyA3Ljc1OCAzIDEyIDNjNC4yNDMgMCA2LjM2NCAwIDcuNjgyIDEuMzE4QzIxIDUuNjM2IDIxIDcuNzU4IDIxIDEyYzAgNC4yNDMgMCA2LjM2NC0xLjMxOCA3LjY4MkMxOC4zNjQgMjEgMTYuMjQyIDIxIDEyIDIxYy00LjI0MyAwLTYuMzY0IDAtNy42ODItMS4zMThDMyAxOC4zNjQgMyAxNi4yNDIgMyAxMloiLz48L3N2Zz4=);
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background-size: contain;
    left: 0px;
}

footer {}

footer .content {
    background: transparent !important;
}

footer {
    background: rgb(234 224 213 / 36%) !important;
    text-align: center;
}

section {
    padding: 30px 0;
}

footer .content {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    max-width: 1200px;
    margin: 0px auto;
}

footer a {
    text-decoration: none;
    font-weight: 600;
    color: #c42c2c;
    margin: 5px 10px;
    font-size: 15px;
    display: inline-block;
    border-bottom: none !important;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    gap: 30px;
}

.navigation a {
    width: 100%;
}

.navigation span {
    display: block;
    margin-bottom: 10px;
}

.navigation a:hover,
.navigation a:hover span svg {
    background: #2a2a2a !important;
    color: #fff !important;
    fill: #ffffff !important;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    min-width: 100px;
}

.tab:hover {
    background: #e9ecef;
    color: #495057;
}

.tab.active {
    color: #2a2a2a;
    border-bottom-color: #2a2a2a;
    background: white;
}

.content {
    padding: 30px;
}

.year-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.year-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.month-section {
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.month-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    color: #495057;
}

.month-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.month-header.active {
    background: #2a2a2a;
    color: white;
}

.month-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.month-header.active .month-toggle {
    transform: rotate(180deg);
}

.month-games {
    display: none;
    padding: 0;
    background: white;
}

.month-games.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }

    to {
        max-height: 500px;
        opacity: 1;
    }
}

.archive-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.archive-item a {
    text-decoration: none;
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.archive-item a:hover {
    color: #2a2a2a;
}

.game-date {
    font-weight: 600;
    font-size: 1.1rem;
}

.game-clue {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
    margin-left: 15px;
    flex: 1;
    text-align: right;
}

.no-games {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
}

.stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.stats-item {
    display: inline-block;
    margin: 0 20px;
    padding: 10px;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2a2a2a;
    display: block;
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab {
        min-width: auto;
        text-align: center;
    }

    .stats-item {
        display: block;
        margin: 10px 0;
    }

    .archive-item a {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-clue {
        margin-left: 0;
        margin-top: 5px;
        text-align: left;
    }
}