:root {
    --icon-font: "Font Awesome 6 Pro";
}

html,
body {
    min-height: 100%;
}

body {
    overflow-x: hidden;
}

.hs-toast {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hs-toast-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
}

.hs-toast-error {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}

.footer-wrapper.footer-layout26 {
    background-color: #000000;
}

.news-events-page .footer-layout26 .copyright-wrap {
    background-color: #000000 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.news-events-page .footer-layout26 .copyright-text,
.news-events-page .footer-layout26 .copyright-text a,
.news-events-page .footer-layout26 .footer-menu li a,
.news-events-page .footer-layout26 .th-social a {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.news-events-page .footer-layout26 .footer-menu li a:hover,
.news-events-page .footer-layout26 .th-social a:hover {
    color: var(--theme-color) !important;
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.home-footer-shell,
.home-footer-shell .footer-wrapper.footer-layout26 {
    background-color: #000000;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.header-layout31 .sticky-wrapper.sticky {
    background-color: transparent;
    background: #000;
}

.header-layout31 .sticky-wrapper.sticky .menu-area {
    max-width: 100%;
    border-radius: 0;
    margin-top: 0;
}

.header-layout31 .menu-area {
    width: 100%;
    display: block;
    margin: auto;
    background: rgba(0, 0, 0, 0);
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 15px 5px;
    margin-top: 0;
}

.header-layout31 .header-logo img {
    width: auto;
    max-width: 100%;
    max-height: 72px;
}

.header-layout31 .main-menu.style2 > ul {
    display: flex;
    align-items: center;
}

.header-layout31 .main-menu.style2 > ul > li {
    margin: 0 4px;
}

.header-layout31 .main-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: var(--white-color);
}

.header-layout31 .main-menu > ul > li > a:hover {
    color: var(--theme-color) !important;
    background: linear-gradient(180deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.header-layout31 .main-menu > ul > li > a:hover::before {
    opacity: 0.1;
}

.header-layout31 .main-menu > ul > li > a:hover::after {
    color: var(--theme-color) !important;
    background: linear-gradient(180deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.header-layout31 .main-menu.style2 ul.sub-menu {
    min-width: 310px;
}

.main-menu ul.sub-menu li a:before {
    content: "\f649";
    position: absolute;
    top: 8px;
    left: 0;
    font-family: var(--icon-font);
    width: 11px;
    height: 11px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    font-size: 0.9em;
    line-height: 1;
    color: var(--theme-color);
    font-weight: 500;
}

.header-layout31 .header-button .th-btn {
    padding: 17px 24px;
    white-space: nowrap;
}

.header-layout31 .main-menu ul li.menu-item-has-children > a::after {
    content: "+";
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    background: none !important;
    -webkit-text-fill-color: currentColor;
    text-fill-color: currentColor;
}

.header-layout31 .main-menu ul li.menu-item-has-children:hover > a::after,
.header-layout31 .main-menu ul li.menu-item-has-children:focus-within > a::after {
    content: "-";
    color: var(--theme-color);
}

.th-menu-wrapper .th-mobile-menu > ul,
.th-mobile-menu ul {
    padding-left: 0;
}

.th-mobile-menu {
    overflow-x: hidden;
}

.th-mobile-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding-right: 34px;
    white-space: normal;
}

.th-mobile-menu ul li a::before {
    content: "";
    position: static;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 22 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ff7a18'/%3E%3Cstop offset='100%25' stop-color='%234f8cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='11' cy='11' r='10' fill='white' stroke='url(%23g)' stroke-width='2'/%3E%3Cpath d='M8 7.5h4.2L10 5.3a1 1 0 0 1 1.4-1.4l3.9 3.9a1 1 0 0 1 0 1.4l-3.9 3.9A1 1 0 0 1 10 11.7l2.2-2.2H8a1 1 0 0 1 0-2z' fill='url(%23g)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.th-mobile-menu ul .th-item-has-children > a::after,
.th-mobile-menu ul .menu-item-has-children > a::after {
    content: "+";
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--title-color);
    width: auto;
    height: auto;
    background: none;
    border: 0;
    box-shadow: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.th-mobile-menu ul .th-item-has-children.th-active > a::after,
.th-mobile-menu ul .menu-item-has-children.th-active > a::after {
    content: "-";
    color: var(--theme-color);
}

.th-mobile-menu ul .th-item-has-children > a .th-mean-expand,
.th-mobile-menu ul .menu-item-has-children > a .th-mean-expand {
    display: none !important;
}

.th-mobile-menu .sub-menu li a {
    white-space: normal;
}

@media (max-width: 1399px) {
    .header-layout31 .menu-area {
        padding-inline: 20px;
    }

    .header-layout31 .main-menu > ul > li {
        margin: 0 2px;
    }
}

@media (max-width: 375px) {
    .header-layout31 .menu-area {
        padding: 16px 15px;
    }
}

@media (max-width: 991px) {
    .header-layout31 .menu-area {
        padding-block: 12px;
    }

    .header-layout31 .header-logo img {
        max-height: 58px;
    }
}
.breadcumb-wrapper {
    background-image: url("../images/breadcumb-bg.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.admin-shell {
    min-height: 100vh;
    background: #f5f7fb;
    padding: 48px 20px;
}

.admin-card {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dfe5f2;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(20, 29, 56, 0.08);
    padding: 28px;
}

.admin-login {
    max-width: 420px;
    margin: 0 auto;
}

.admin-header,
.admin-toolbar,
.admin-post-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
    gap: 28px;
}

.admin-shell h1,
.admin-shell h2 {
    margin-bottom: 8px;
    color: #141d38;
}

.admin-shell p {
    color: #60697b;
}

.admin-shell label {
    display: grid;
    gap: 8px;
    color: #141d38;
    font-weight: 600;
    margin-bottom: 16px;
}

.admin-shell input,
.admin-shell textarea {
    width: 100%;
    border: 1px solid #cfd7e6;
    border-radius: 6px;
    padding: 11px 12px;
    color: #1f2937;
    font: inherit;
}

.admin-check {
    display: flex !important;
    align-items: center;
    grid-template-columns: auto 1fr;
}

.admin-check input {
    width: auto;
}

.admin-primary,
.admin-secondary,
.admin-danger {
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.admin-primary {
    background: #2f63f6;
    color: #fff;
}

.admin-secondary {
    background: #eef3ff;
    color: #1f4fd0;
}

.admin-danger {
    background: #fff0f0;
    color: #c62626;
}

.admin-alert {
    border-radius: 6px;
    padding: 12px 14px;
    margin: 16px 0;
}

.admin-alert-error {
    background: #fff0f0;
    color: #b42318;
}

.admin-alert-success {
    background: #edf9f1;
    color: #16703c;
}

.admin-post-list {
    display: grid;
    gap: 10px;
}

.admin-post-row {
    border: 1px solid #dfe5f2;
    border-radius: 6px;
    padding: 10px;
}

.admin-post-row.active {
    border-color: #2f63f6;
    background: #f7faff;
}

.admin-post-row button:first-child {
    display: grid;
    gap: 4px;
    text-align: left;
    border: 0;
    background: transparent;
    color: #141d38;
    cursor: pointer;
}

.admin-post-row span {
    color: #697386;
    font-size: 13px;
}

@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}
