
/* =========================
           GENERAL
        ========================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #333;
}

body {
    min-height: 100vh;
    padding-bottom: 100px;
}

a {
    text-decoration: none;
}

    a:hover,
    a:focus {
        text-decoration: none;
    }

img {
    max-width: 100%;
}

/* =========================
           HEADER
        ========================== */

.top-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    min-height: 90px;
}

    .top-header .container {
        position: relative;
    }

.site-logo {
    display: inline-block;
    padding: 15px 0;
}

    .site-logo img {
        height: 55px;
        width: auto;
    }

/* =========================
           NAVIGATION
        ========================== */

.header-navigation {
    float: right;
    margin-top: 25px;
}

    .header-navigation > ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

        .header-navigation > ul > li {
            position: relative;
            list-style: none;
        }

            .header-navigation > ul > li > a {
                display: block;
                padding: 14px 12px;
                color: #333;
                font-size: 14px;
                font-weight: 500;
                white-space: nowrap;
            }

                .header-navigation > ul > li > a:hover,
                .header-navigation > ul > li > a:focus {
                    background: #0b5ed7;
                    color: #fff;
                }

.dropdown-menu {
    min-width: 220px;
    padding: 5px 0;
    border-radius: 0;
}

    .dropdown-menu li {
        list-style: none;
    }

        .dropdown-menu li a {
            display: block;
            padding: 9px 15px;
            color: #333;
            font-size: 13px;
            white-space: normal;
        }

            .dropdown-menu li a:hover,
            .dropdown-menu li a:focus {
                background: #0b5ed7;
                color: #fff;
            }

.new-icon {
    height: 12px;
    width: auto;
    vertical-align: middle;
    margin-left: 3px;
}

/* Mobile button */
.mobi-toggler {
    display: none;
    float: right;
    margin-top: 25px;
    border: 0;
    background: #0b5ed7;
    color: #fff;
    padding: 10px 14px;
    font-size: 18px;
    border-radius: 3px;
}

/* =========================
           PAGE HEADER
        ========================== */

.page-header-custom {
    background: linear-gradient(135deg, #0b5ed7, #063b88);
    color: #fff;
    margin: 0;
    padding: 28px 0;
    border: 0;
}

    .page-header-custom h1 {
        margin: 0;
        font-size: 30px;
        font-weight: 600;
    }

/* =========================
           NOTICE SECTION
        ========================== */

.notice-section {
    padding: 35px 0 60px;
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.notice-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    border: 1px solid #e2e6ea;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

    .notice-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    }

    .notice-card h2 {
        margin: 0 0 10px;
        font-size: 19px;
        line-height: 1.4;
        color: #17365d;
    }

.notice-date {
    display: block;
    margin-bottom: 18px;
    color: #777;
    font-size: 13px;
}

.pdf-button {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

    .pdf-button:hover,
    .pdf-button:focus {
        background: #b02a37;
        color: #fff;
    }

/* =========================
           CROSSWORD RESULTS
  ========================== */

.crossword-results {
    width: 650px;
    min-width: 650px;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 8px;
}

.crossword-results > li {
    width: 100%;
}

.crossword-results > li > a {
    padding: 7px 10px;
    white-space: nowrap;
    font-size: 13px;
    color: #333;
}

.crossword-results > li > a:hover,
.crossword-results > li > a:focus {
    background-color: #0b5ed7;
    color: #fff;
}


/* Tablet */

@media (max-width: 991px) {

    .crossword-results {
        width: 100%;
        min-width: 0;
        display: block !important;
        padding: 0 !important;
    }

    .crossword-results > li > a {
        white-space: normal;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .crossword-results {
        width: 100%;
        min-width: 0;
    }

    .crossword-results > li > a {
        padding: 10px 15px;
    }
}

/* =========================
           FOOTER
        ========================== */

.site-footer {
    background: #202b36;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

    .site-footer a {
        color: #80bdff;
    }

        .site-footer a:hover {
            color: #fff;
        }

.footer-copy {
    font-size: 13px;
    line-height: 1.7;
}

.powered {
    margin: 0 0 10px;
    font-size: 13px;
}

.social-footer {
    margin: 0;
    padding: 0;
}

    .social-footer li {
        display: inline-block;
        margin-left: 8px;
    }

    .social-footer a {
        display: inline-block;
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        background: #344454;
        border-radius: 50%;
        color: #fff;
    }

        .social-footer a:hover {
            background: #0b5ed7;
        }

/* =========================
           RESPONSIVE
        ========================== */

@media (max-width: 1199px) {

    .header-navigation > ul > li > a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {

    .header-navigation {
        display: none;
        float: none;
        clear: both;
        margin-top: 0;
        padding-bottom: 15px;
    }

        .header-navigation.active {
            display: block;
        }

        .header-navigation > ul {
            display: block;
        }

            .header-navigation > ul > li {
                display: block;
            }

                .header-navigation > ul > li > a {
                    border-bottom: 1px solid #eee;
                    padding: 11px 10px;
                }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        border: 0;
        background: #f5f5f5;
    }

    .mobi-toggler {
        display: block;
    }

    .notice-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .site-logo img {
        height: 48px;
    }

    .page-header-custom {
        padding: 22px 0;
    }

        .page-header-custom h1 {
            font-size: 25px;
        }

    .notice-section {
        padding: 25px 0 40px;
    }

    .notice-card {
        padding: 18px;
    }

    .crossword-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        text-align: center;
    }

    .footer-right {
        margin-top: 20px;
        text-align: center;
    }

    .social-footer {
        float: none !important;
    }
}

@media (max-width: 480px) {

    .crossword-results {
        grid-template-columns: 1fr;
    }

    .notice-card h2 {
        font-size: 17px;
    }

    .pdf-button {
        width: 100%;
        text-align: center;
    }
}
.header-navigation ul {
    flex-direction: column;
    gap: 5px;
}

.header-navigation a {
    width: 200px;
    text-align: right;
}

