/* =============================================================================
   Theme y2026_tcgc - single stylesheet
   Merged from the former main.css + custom.css + template.css.

   Order:
     1. Settings    - custom properties
     2. Base        - element defaults
     3. Utilities   - bootstrap compat, spacing, visibility helpers
     4. Layout      - topbar, header, menu (incl. mobile drawer), footer
     5. Components  - boxes, news/video/paper lists, forms
     6. Responsive  - all @media overrides, grouped by breakpoint
   ========================================================================== */

/* =============================================================================
   1. Settings
   ========================================================================== */

:root {
    --color-main: #004175;
    --color-highlight: #00627e;
    --color-text: #333;
    --white: #fff;
    --black: #000;
    --red: #cc0000;
    --green: #009a45;
    --yellow: #FFBD5D;
    --light: #e5e5e5;
    --blue: #007bff;
    --purple: #6f42c1;
    --pink: #fb4e4e;
    --teal: #20c997;
    --orange: #f39406;
    --cyan: #00c2ff;
    --gray: #898989;
    --font-1: 'Noto Serif', serif;
    --font-2: 'Roboto Condensed', sans-serif;
    --font-3: 'Roboto', sans-serif;
    --font-4: 'IBM Plex Serif', serif;
}

/* =============================================================================
   2. Base
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-4);
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: var(--color-text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

a:hover {
    text-decoration: none;
    color: var(--color-highlight);
}

/* Bootstrap 5 compatibility: keep original no-underline links */
body a,
body a:hover,
body a:focus {
    text-decoration: none;
}

input:focus {
    outline: none;
}

/* Headings promoted from <div> to <h2>/<h1> keep the inherited box styling */
.inner-title,
.box-title h2,
.box-title-2 h2,
.box-comments .inner-title,
.footer-contact .inner-title {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    background: transparent;
}

.box-title h2,
.box-title-2 h2 {
    display: block;
}

.inner-title a,
.box-title h2 a,
.box-title-2 h2 a {
    line-height: inherit;
}

/* =============================================================================
   3. Utilities
   ========================================================================== */

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light);
}

.bg-gray {
    background-color: var(--gray);
}

.swiper-container {
    overflow: hidden;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 8;
}

.sticky-box {
    position: sticky;
    top: 50px;
}

.page-shell {
    min-height: 100vh;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 9999;
    background: var(--color-main);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 6px;
}

.skip-link:focus {
    top: 16px;
    color: var(--white);
}

/* Custom Bootstrap */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    padding-right: 8px;
    padding-left: 8px;
}

.row {
    margin-right: -8px;
    margin-left: -8px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-right: 8px;
    padding-left: 8px;
}

.alert-blue {
    color: #055183;
    background-color: #68cdfe;
}

/* End Custom Bootstrap */

/* Margin */

.mt-0 {
    margin-top: 0px;
}

.mb-0 {
    margin-bottom: 0px;
}

.mt-5 {
    margin-top: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* End Margin */

/* Padding */

.pt-0 {
    padding-top: 0px;
}

.pb-0 {
    padding-bottom: 0px;
}

.pt-5 {
    padding-top: 5px;
}

.pb-5 {
    padding-bottom: 5px;
}

.pt-10 {
    padding-top: 10px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pt-15 {
    padding-top: 15px;
}

.pb-15 {
    padding-bottom: 15px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pt-25 {
    padding-top: 25px;
}

.pb-25 {
    padding-bottom: 25px;
}

.pt-30 {
    padding-top: 30px;
}

.pb-30 {
    padding-bottom: 30px;
}

/* End Padding */

/* =============================================================================
   4. Layout
   ========================================================================== */

/* header-topbar */

.header-topbar {
    background-color: #f4f4f4;
    font-size: 12px;
    color: #838383;
    border-bottom: 1px solid #ccc;
}

.header-topbar a {
    color: #838383;
}

.header-topbar .inner-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 6px 0;
}

.header-topbar .inner-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header-topbar .inner-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header-topbar .inner-item {
    border-right: 1px solid #e2e2e2;
    padding-right: 8px;
    margin-right: 8px;
}

.header-topbar .inner-item:last-child {
    border-right: 0;
    margin-right: 0;
}

.header-topbar .inner-hotline a {
    color: var(--red);
}

.header-topbar .form-search form {
    display: block;
    height: 25px;
    border: 1px solid #e2e2e2;
    width: 200px;
    background: #fff;
    position: relative;
}

.header-topbar .form-search form input {
    border: none;
    height: 100%;
    padding-left: 5px;
    width: 100%;
    padding-right: 20px;
}

.header-topbar .form-search form button {
    border: none;
    background: none;
    position: absolute;
    right: 0;
    top: 0;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #838383;
}

/* End header-topbar */

/* header-main */

.header-main {
    padding: 20px 0;
    background: var(--white);
}

.header-main .inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-main .inner-logo img {
    max-width: 430px;
    max-height: none;
    width: auto;
    height: auto;
}

.header-main .inner-banner {
    margin-left: 50px;
    flex: 1;
}

.header-main .inner-banner img {
    width: 100%;
    height: auto;
}

.search-button-open {
    display: none;
}

.search-mobile {
    display: none;
}

/* End header-main */

/* header-menu */

.menu-button-open,
.menu-button-close,
.menu-overlay {
    display: none;
}

.header-menu {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.header-menu .inner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header-menu .inner-list::-webkit-scrollbar {
    height: 3px;
    width: 3px;
    border: 1px solid #d5d5d5;
}

.header-menu .inner-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.header-menu .inner-list::-webkit-scrollbar-thumb {
    background: var(--color-highlight);
}

.header-menu .inner-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-main);
}

.header-menu .inner-list>li {
    padding: 0 7px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-menu .inner-list>li:after {
    content: "";
    display: block;
    width: 1px;
    height: 14px;
    background: #ccc;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -7px;
}

.header-menu .inner-list>li:first-child {
    padding-left: 0;
}

.header-menu .inner-list>li:last-child {
    padding-right: 0;
}

.header-menu .inner-list>li:last-child:after {
    content: none;
}

.header-menu .inner-list>li a {
    font-size: 15px;
    font-family: var(--font-2);
    font-weight: bold;
    white-space: nowrap;
    color: var(--black);
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.header-menu .inner-list>li:hover>a {
    color: var(--color-main);
}

.header-menu .inner-list>li>.inner-icon-down {
    margin-left: 4px;
}

.header-menu .inner-list>li.inner-home a {
    font-size: 18px;
    color: var(--red);
}

/* Home entry collapses to a house glyph on desktop only; the drawer keeps the label */

.header-menu .inner-list>li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: var(--white);
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-menu .inner-list>li:hover ul {
    display: block;
    border: 1px solid #e2e2e2;
}

.header-menu .inner-list>li ul li a {
    display: block;
    padding: 4px 10px;
    border-bottom: 1px solid #e2e2e2;
    white-space: nowrap;
}

.header-menu .inner-list>li ul li a:hover {
    color: var(--color-main);
}

/* End header-menu */

/* banner-full */

.banner-full img {
    width: 100%;
    height: auto;
}

/* End banner-full */

/* wrap-two-col */

.wrap-two-col>.inner-wrap {
    display: flex;
    justify-content: space-between;
}

.wrap-two-col>.inner-wrap>.inner-left {
    width: 70.8%;
}

.wrap-two-col>.inner-wrap>.inner-right {
    width: 27%;
}

/* End wrap-two-col */

/* wrap-two-col-2 */

.wrap-two-col-2>.inner-wrap {
    display: flex;
    justify-content: space-between;
}

.wrap-two-col-2>.inner-wrap>.inner-left {
    width: 60%;
}

.wrap-two-col-2>.inner-wrap>.inner-right {
    width: 37.5%;
}

/* End wrap-two-col-2 */

/* Footer */

.footer {
    font-size: 12px;
    background: #E0E0E0;
    border-top: 1px solid #bdbdbd;
}

.footer-head {
    height: 31px;
    border-bottom: 1px solid #bdbdbd;
    box-shadow: 0 1px #eaeaea;
    line-height: 30px;
}

.footer-head .inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-head .inner-left .inner-item a {
    font-family: var(--font-1);
    font-weight: bold;
    color: #4a4a4a;
}

.footer-head .inner-right {
    display: flex;
    align-items: center;
}

.footer-head .inner-right .inner-item {
    display: inline-block;
    line-height: 30px;
    border-left: 1px solid #bdbdbd;
    padding: 0 10px;
}

.footer-head .inner-right .inner-item:last-child {
    margin-right: 0;
}

.footer-head .inner-right .inner-item a {
    font-size: 13px;
    color: #4a4a4a;
}

.footer-head .inner-right .inner-item a:hover {
    color: var(--color-main);
}

.footer-main {
    padding: 22px 0;
}

.footer-list .inner-item {
    margin-bottom: 14px;
}

.footer-list .inner-item a {
    font-size: 12px;
    font-family: var(--font-1);
    font-weight: bold;
    color: #4a4a4a;
}

.footer-contact .inner-title {
    font-size: 14px;
    font-weight: bold;
    font-family: var(--font-1);
    margin-bottom: 5px;
}

.footer-contact .inner-list a {
    font-family: var(--font-1);
    font-size: 12px;
    color: var(--color-text);
    display: inline-block;
    margin-bottom: 5px;
}

.footer-contact .inner-list a i {
    color: #999;
}

.footer-contact .inner-info {
    margin-top: 10px;
}

.footer-desc .inner-legal {
    font-family: var(--font-1);
}

.footer-desc .inner-cms {
    margin-top: 5px;
    font-size: 10px;
    color: #999;
}

/* End Footer */

/* go-to-top */

.go-to-top {
    width: 40px;
    height: 40px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    bottom: 40px;
    right: 40px;
    font-size: 20px;
    color: #999;
}

/* End go-to-top */

/* =============================================================================
   5. Components
   ========================================================================== */

/* box-title */

.box-title {
    margin-bottom: 12px;
}

.box-title a,
.box-title a:not([href]):not([class]) {
    color: var(--red);
    font-family: var(--font-1);
    text-transform: uppercase;
    position: relative;
    font-size: 18px;
    font-weight: bold;
}

.box-title a:after {
    content: '/';
    margin-left: 3px;
}

/* End box-title */

/* box-title-2 */

.box-title-2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-title-2 .inner-title {
    display: block;
    color: var(--red);
    font-family: var(--font-1);
    text-transform: uppercase;
    position: relative;
    font-size: 18px;
    font-weight: bold;
}

.box-title-2 .inner-title:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-main);
    position: relative;
    top: 8px;
    left: 0;
}

.box-title-2 .inner-view-more {
    display: block;
    color: #999;
}

/* End box-title-2 */

/* box-title-3 */

.box-title-3 {
    background: #e3e3e3;
    padding: 13px 13px 13px 42px;
    position: relative;
}

.box-title-3:before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: 13px;
    top: 13px;
    font-size: 18px;
    color: var(--color-main);
}

.box-title-3 a {
    font-weight: bold;
    color: var(--color-main);
    font-size: 14px;
    text-transform: uppercase;
    font-family: var(--font-1);
}

.box-title-3 a:hover {
    color: var(--color-highlight);
}

/* End box-title-3 */

/* box-partners */

.box-partners .inner-wrap {
    margin-bottom: 30px;
}

.box-partners .inner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid #ebebeb;
    padding: 5px;
}

.box-partners .inner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* End box-partners */

/* news-type-1 */

.news-type-1 .inner-item {
    background-color: #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.news-type-1 .inner-item .inner-image {
    width: 65%;
}

.news-type-1 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-1 .inner-item .inner-content {
    width: 35%;
    padding: 20px;
}

.news-type-1 .inner-item .inner-content .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 22px;
    font-family: var(--font-1);
}

.news-type-1 .inner-item .inner-content .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-1 .inner-item .inner-content .inner-sapo {
    margin-top: 7px;
    color: #666;
    font-family: var(--font-3);
}

/* End news-type-1 */

/* news-type-2 */

.news-type-2 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-2 .inner-item .inner-content {
    margin-top: 5px;
}

.news-type-2 .inner-item .inner-content .inner-title {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.news-type-2 .inner-item .inner-content .inner-title:hover {
    color: var(--color-highlight);
}

/* End news-type-2 */

/* news-type-3 */

.news-type-3 .inner-item {
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ebebeb;
}

.news-type-3 .inner-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.news-type-3 .inner-item .inner-title {
    margin-bottom: 10px;
}

.news-type-3 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.news-type-3 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-3 .inner-item .inner-content {
    display: flex;
    align-items: flex-start;
}

.news-type-3 .inner-item .inner-content .inner-image {
    width: 40%;
    max-width: 190px;
}

.news-type-3 .inner-item .inner-content .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-3 .inner-item .inner-content .inner-sapo {
    flex: 1;
    color: #666;
    margin-left: 10px;
    font-family: var(--font-3);
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

/* End news-type-3 */

/* news-type-4 */

.news-type-4 .inner-item {
    counter-increment: step;
    position: relative;
    padding: 15px 15px 15px 50px;
    border-radius: 5px;
}

.news-type-4 .inner-item:nth-child(odd) {
    background: #f0f0f0;
}

.news-type-4 .inner-item:before {
    content: counter(step, decimal);
    font-size: 32px;
    color: #adadad;
    position: absolute;
    top: 50%;
    left: 15px;
    line-height: 1;
    font-family: var(--font-1);
    font-weight: bold;
    margin-top: -20px;
}

.news-type-4 .inner-item a {
    font-size: 16px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.news-type-4 .inner-item a:hover {
    color: var(--color-highlight);
}

/* End news-type-4 */

/* news-type-5 */

.news-type-5 .inner-list {
    padding: 20px;
    background: #d4d4d4;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between
}

.news-type-5 .inner-left {
    width: 68%;
}

.news-type-5 .inner-right {
    width: 30%;
}

.news-type-5 .inner-item {
    margin-bottom: 10px;
}

.news-type-5 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.news-type-5 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-5 .inner-item .inner-content {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.news-type-5 .inner-item .inner-content .inner-image {
    flex: 0 0 auto;
    width: 190px;
    max-width: 40%;
}

.news-type-5 .inner-item .inner-content .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-5 .inner-item .inner-content .inner-sapo {
    flex: 1;
    font-size: 14px;
    color: #666;
    text-align: justify;
    margin-left: 10px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

/* End news-type-5 */

/* news-type-6 */

.news-type-6 .inner-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ebebeb;
}

.news-type-6 .inner-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.news-type-6 .inner-item .inner-image {
    display: block;
    margin-bottom: 10px;
}

.news-type-6 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-6 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 14px;
    font-family: var(--font-1);
}

.news-type-6 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-6 .inner-item:first-child .inner-title a {
    font-size: 16px;
}

/* End news-type-6 */

/* news-type-7 */

.news-type-7 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-7 .inner-item .inner-content {
    margin-top: 5px;
}

.news-type-7 .inner-item .inner-content .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.news-type-7 .inner-item .inner-content .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-7 .inner-item .inner-content .inner-sapo {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: justify;
}

/* End news-type-7 */

/* news-type-8 */

.news-type-8 .inner-item .inner-image {
    display: block;
    margin-bottom: 5px;
}

.news-type-8 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-8 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.news-type-8 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-8 .inner-item .inner-sapo {
    font-size: 14px;
    color: #666;
    text-align: justify;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-type-8 .inner-list .inner-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ebebeb;
}

.news-type-8 .inner-list .inner-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

/* End news-type-8 */

/* news-type-9 */

.news-type-9 .inner-item-highlight .inner-image {
    display: block;
    margin-bottom: 5px;
}

.news-type-9 .inner-item-highlight .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-9 .inner-item-highlight .inner-content .inner-title a {
    font-size: 16px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.news-type-9 .inner-item-highlight .inner-content .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-9 .inner-item-highlight .inner-content .inner-sapo {
    font-size: 14px;
    color: #666;
    text-align: justify;
    margin-top: 5px;
}

.news-type-9 .inner-item {
    border-bottom: 1px dashed #ebebeb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.news-type-9 .inner-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-type-9 .inner-item .inner-image {
    float: left;
    margin-right: 10px;
    width: 40%;
    display: block;
    margin-bottom: 5px;
}

.news-type-9 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-9 .inner-item .inner-title a {
    font-size: 14px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.news-type-9 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-9 .inner-item .inner-sapo {
    font-size: 14px;
    color: #666;
    text-align: justify;
    margin-top: 5px;
}

/* End news-type-9 */

/* news-type-10 */

.news-type-10 {
    border: 1px solid #e3e3e3;
}

.news-type-10 .inner-item {
    position: relative;
    padding: 10px 15px 10px 100px;
}

.news-type-10 .inner-item:first-child {
    position: static;
    padding-left: 15px;
    min-height: 100px;
}

.news-type-10 .inner-item:nth-child(even) {
    background: #f6f6f6;
}

.news-type-10 .inner-item .inner-image {
    display: none;
}

.news-type-10 .inner-item:first-child .inner-image {
    display: block;
    float: left;
    margin-right: 10px;
    width: 142px;
}

.news-type-10 .inner-item:first-child .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-type-10 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 14px;
    font-family: var(--font-1);
}

.news-type-10 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.news-type-10 .inner-item .inner-time {
    display: inline-block;
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 13px;
    color: #7d7d7d;
    width: 76px;
    overflow: hidden;
    white-space: nowrap;
}

.news-type-10 .inner-item:first-child .inner-time {
    position: static;
}

/* End news-type-10 */

/* cate-type-1 */

.cate-type-1 .inner-item {
    margin-bottom: 15px;
}

.cate-type-1 .inner-item:last-child {
    margin-bottom: 0;
}

.cate-type-1 .inner-item img {
    width: 100%;
    height: auto;
}

/* End cate-type-1 */

/* videos-type-1 */

.videos-type-1 .inner-box {
    background: #e0e0e0;
}

.videos-type-1 .inner-item-highlight video,
.videos-type-1 .inner-item-highlight .inner-image img,
.videos-type-1 .inner-item-highlight iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.videos-type-1 .inner-item-highlight .ratio {
    width: 100%;
}

.videos-type-1 .inner-item-highlight .inner-content {
    padding: 10px 15px;
}

.videos-type-1 .inner-item-highlight .inner-content .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.videos-type-1 .inner-item-highlight .inner-content .inner-title a:hover {
    color: var(--color-highlight);
}

.videos-type-1 .inner-item-highlight .inner-content .inner-sapo {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: justify;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.videos-type-1 .inner-list {
    padding: 0 15px 15px 15px;
}

.videos-type-1 .inner-list .swiper-slide {
    height: auto;
}

.videos-type-1 .inner-list .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.videos-type-1 .inner-list .inner-item .inner-title {
    margin-top: 5px;
    color: var(--color-main);
    font-size: 14px;
    font-weight: normal;
    font-family: var(--font-3);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    min-height: 56px;
    height: 65px;
}

.videos-type-1 .swiper-button-next,
.videos-type-1 .swiper-button-prev {
    background: rgba(255, 255, 255, 0.588);
    width: 20px;
    height: 40px;
    color: #151515;
    top: 40px;
}

.videos-type-1 .swiper-button-next {
    right: 0;
}

.videos-type-1 .swiper-button-prev {
    left: 0;
}

.videos-type-1 .swiper-button-next:after,
.videos-type-1 .swiper-button-prev:after {
    font-size: 14px;
    font-weight: 700;
}

/* End videos-type-1 */

/* videos-type-2 */

.videos-type-2 .inner-item {
    display: flex;
    align-items: flex-start;
    background: #f7f7f7;
}

.videos-type-2 .inner-item .inner-video {
    width: 66%;
}

.videos-type-2 .inner-item .inner-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: var(--black);
}

.videos-type-2 .inner-item .inner-box {
    width: 34%;
    aspect-ratio: 8.22/9;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 20px;
}

.videos-type-2 .inner-item .inner-box::-webkit-scrollbar-track {
    background: transparent;
}

.videos-type-2 .inner-item .inner-box::-webkit-scrollbar-thumb {
    background: #d8d8d8;
}

.videos-type-2 .inner-item .inner-box::-webkit-scrollbar {
    width: 6px;
}

.videos-type-2 .inner-item .inner-box .inner-content .inner-title {
    font-size: 24px;
    font-family: var(--font-1);
    font-weight: bold;
}

.videos-type-2 .inner-item .inner-box .inner-content .inner-sapo {
    font-size: 14px;
    color: #666;
    text-align: justify;
    margin-top: 10px;
}

.videos-type-2 .inner-item .inner-box .inner-content .inner-author {
    text-align: right;
    font-style: italic;
    margin-top: 10px;
}

.videos-type-2 .inner-item .inner-box .inner-meta {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    color: #909090;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.videos-type-2 .inner-item .inner-box .inner-meta .inner-cate a {
    color: var(--color-main);
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 5px;
}

/* End videos-type-2 */

/* videos-type-3 */

.videos-type-3 .inner-item .inner-image {
    display: block;
    position: relative;
}

.videos-type-3 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.videos-type-3 .inner-item .inner-image>i {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: var(--white);
    font-size: 12px;
    background: var(--black);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.7;
}

.videos-type-3 .inner-item .inner-content {
    margin-top: 5px;
}

.videos-type-3 .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.videos-type-3 .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.videos-type-3 .inner-item .inner-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.videos-type-3 .inner-item .inner-meta li {
    display: block;
    float: left;
}

.videos-type-3 .inner-item .inner-meta li i {
    margin-right: 2px;
}

.videos-type-3 .inner-item .inner-meta li .inner-bor {
    margin-left: 5px;
    margin-right: 5px;
    color: #ccc;
}

.videos-type-3 .inner-item .inner-meta li:last-child .inner-bor {
    display: none;
}

.videos-type-3 .inner-item .inner-meta li a {
    color: #999;
}

/* End videos-type-3 */

/* videos-type-4 */

.videos-type-4 .inner-list .inner-item-highlight {
    position: relative;
}

.videos-type-4 .inner-list .inner-item-highlight img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.videos-type-4 .inner-list .inner-item-highlight .inner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 15px 25px 65px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74));
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    background: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    background: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    width: 100%;
}

.videos-type-4 .inner-list .inner-item-highlight .inner-content>i {
    position: absolute;
    left: 20px;
    bottom: 50%;
    margin-bottom: -16px;
    color: var(--white);
    font-size: 12px;
    background: var(--black);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.7;
}

.videos-type-4 .inner-list .inner-item-highlight .inner-content .inner-title {
    font-size: 16px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--white);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.videos-type-4 .inner-list .inner-item .inner-image {
    display: block;
    position: relative;
}

.videos-type-4 .inner-list .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.videos-type-4 .inner-list .inner-item .inner-image>i {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: var(--white);
    font-size: 12px;
    background: var(--black);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.7;
}

.videos-type-4 .inner-list .inner-item .inner-content {
    margin-top: 5px;
}

.videos-type-4 .inner-list .inner-item .inner-title a {
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    font-family: var(--font-1);
}

.videos-type-4 .inner-list .inner-item .inner-title a:hover {
    color: var(--color-highlight);
}

.videos-type-4 .inner-list .inner-item .inner-sapo {
    font-size: 14px;
    color: #666;
    text-align: justify;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    margin-top: 10px;
}

/* End videos-type-4 */

/* papers-type-1 */

.papers-type-1 .inner-item .inner-image {
    display: block;
    border: 1px solid #e8e8e8;
    margin-bottom: 5px;
}

.papers-type-1 .inner-item .inner-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 289/400;
    object-fit: cover;
}

.papers-type-1 .inner-item .inner-content .inner-title a {
    font-size: 16px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.papers-type-1 .inner-item .inner-content .inner-title a:hover {
    color: var(--color-highlight);
}

/* End papers-type-1 */

/* OJS public issue / archive (tcgc theme) */

.ojs-archive-page .ojs-empty-state,
.ojs-issue-page .ojs-empty-state {
    padding: 24px 0;
    font-size: 15px;
    color: var(--gray);
}

.ojs-issue-summary__cover {
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}

.ojs-issue-summary__cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 289/400;
    object-fit: cover;
}

.ojs-issue-summary__label {
    font-size: 13px;
    font-family: var(--font-1);
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-highlight);
    margin-bottom: 8px;
}

.ojs-issue-summary__title {
    margin: 0 0 12px;
    font-size: 24px;
    font-family: var(--font-1);
    font-weight: bold;
    line-height: 1.35;
    color: var(--color-main);
}

.ojs-issue-summary__desc {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray);
}

.ojs-issue-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ojs-issue-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #e8e8e8;
    font-size: 13px;
    font-family: var(--font-1);
    color: var(--color-main);
    background: #fff;
}

.ojs-issue-chip--alt {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
}

.ojs-issue-summary__galleys {
    margin-bottom: 16px;
}

.ojs-issue-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ojs-galleys,
.ojs-galley-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ojs-galley-button-item {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ojs-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    font-size: 14px;
    font-family: var(--font-1);
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.ojs-theme-btn i {
    font-size: 14px;
}

.ojs-theme-btn--primary {
    background: var(--color-highlight);
    border-color: var(--color-highlight);
    color: #fff;
}

.ojs-theme-btn--primary:hover {
    background: var(--color-main);
    border-color: var(--color-main);
    color: #fff;
}

.ojs-theme-btn--secondary {
    background: #fff;
    border-color: #d8d8d8;
    color: var(--color-main);
}

.ojs-theme-btn--secondary:hover {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
}

.ojs-issue-filter label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.ojs-issue-filter select {
    width: 100%;
    max-width: 360px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: var(--font-1);
    color: var(--color-main);
    background: #fff;
}

.ojs-issue-toc .ojs-section-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-family: var(--font-1);
    font-weight: bold;
    color: var(--color-main);
}

.ojs-issue-toc .ojs-article-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.ojs-issue-toc .ojs-article-item:last-child {
    border-bottom: 0;
}

.ojs-issue-toc .ojs-article-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-family: var(--font-1);
    font-weight: bold;
    line-height: 1.4;
}

.ojs-issue-toc .ojs-article-title a {
    color: var(--color-main);
}

.ojs-issue-toc .ojs-article-title a:hover {
    color: var(--color-highlight);
}

.ojs-issue-toc .ojs-meta {
    font-size: 13px;
    color: var(--gray);
}

.pagination-wrap {
    display: flex;
    justify-content: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* End OJS public issue / archive */

/* breadcrumbs */

.breadcrumbs {
    position: relative;
    padding-left: 10px;
    font-size: 16px;
    font-family: var(--font-1);
    font-weight: bold;
    color: #868686;
    margin-bottom: 15px;
}

.breadcrumbs:after {
    content: '';
    display: block;
    width: 2px;
    height: 16px;
    background: #ed1c24;
    position: absolute;
    top: 2px;
    left: 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs .inner-item {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-1);
    font-weight: bold;
    color: #868686;
}

.breadcrumbs .inner-item a,
.breadcrumbs .inner-item span:not(.inner-bor) {
    color: #868686;
    font-weight: bold;
}

.breadcrumbs .inner-item a:hover {
    color: #ed1c24;
}

.breadcrumbs .inner-item .inner-bor {
    margin: 0 5px;
    font-weight: normal;
}

.breadcrumbs .inner-item:last-child .inner-bor {
    display: none;
}

/* End breadcrumbs */

/* Paginations - static markup plus yii\widgets\LinkPager output */

.paginations {
    text-align: center;
}

.paginations-wrap {
    text-align: center;
}

ul.paginations {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.paginations>li {
    display: inline-block;
}

.paginations span,
.paginations a,
ul.paginations>li>a,
ul.paginations>li>span {
    display: inline-block;
    background: #e0e0e0;
    height: 28px;
    line-height: 28px;
    min-width: 28px;
    padding: 0 8px;
    text-align: center;
    border-radius: 3px;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 5px;
}

.paginations span.current,
.paginations a:hover,
ul.paginations>li.active>a,
ul.paginations>li.active>span,
ul.paginations>li>a:hover {
    background: var(--color-main);
    color: var(--white);
}

ul.paginations>li.disabled>a,
ul.paginations>li.disabled>span {
    opacity: 0.45;
    pointer-events: none;
}

/* End Paginations */

/* contact-info */

.contact-info {
    background: #f4f4f4;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.5;
}

/* End contact-info */

/* video player */

.video-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.plyr {
    height: 100%;
    width: 100%;
}

.plyrr-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: transparent;
}

.videos-type-2 .inner-item .plyrr-wrapper {
    width: 66%;
    flex-shrink: 0;
}

.plyr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
}

.plyr__video-wrapper iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* End video player */

/* figure */

.fig-picture {
    padding-bottom: 5px !important;
}

/* End figure */

/* Ads */

.ads-mobile {
    display: none;
}

.ads-desktop {
    display: block;
}

.ads-desktop .ads-gif-container {
    width: 100%;
    height: 200px;
}

.ads-desktop .ads-gif-container img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* End Ads */

/* Lazy images */

img.lazy,
img[loading="lazy"] {
    transition: opacity 0.25s ease;
}

img.lazy:not(.lazy-loaded)[data-src],
img.lazy:not(.lazy-loaded)[data-srcset] {
    opacity: 0.85;
}

/* End Lazy images */

/* Skeleton loading for server-rendered blocks */

.skeleton-block {
    position: relative;
    overflow: hidden;
}

.skeleton-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(245, 245, 245, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: theme-skeleton 1.5s ease-in-out infinite;
    pointer-events: none;
}

.skeleton-block.is-loaded::after,
.page-shell[data-ready="true"] .skeleton-block::after {
    display: none;
}

.skeleton-text {
    background: transparent;
}

@keyframes theme-skeleton {
    100% {
        transform: translateX(100%);
    }
}

/* End Skeleton */

/* partner-box */

.partner-box {
    background: var(--white);
    border: 1px solid #ddd;
}

.partner-box__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e5e5;
    background: #f7f9fc;
    text-decoration: none;
}

.partner-box__logo {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-box__brand-text {
    color: var(--color-main);
    font-family: var(--font-2);
    font-size: 15px;
    font-weight: 700;
}

.partner-box__featured-inner {
    padding: 12px 14px 14px;
}

.partner-box__featured a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.partner-box__featured img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 8px;
}

.partner-box__feat-title {
    display: block;
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.5;
}

.partner-box__list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.partner-box__list li {
    border-top: 1px solid #eee;
    padding: 8px 0;
}

.partner-box__list a {
    display: block;
    color: #222;
    line-height: 1.5;
    text-decoration: none;
}

.partner-box__list a:hover,
.partner-box__feat-title:hover {
    color: var(--red);
}

.partner-box__featured--loading,
.partner-box__list--loading {
    margin: 0;
    padding: 0;
}

.partner-box__list-item--loading {
    list-style: none;
    padding: 8px 0;
}

.partner-box__skeleton {
    display: block;
    background: linear-gradient(90deg, #eee 0%, #f7f7f7 50%, #eee 100%);
    background-size: 200% 100%;
    animation: partner-box-shimmer 1.35s ease-in-out infinite;
}

.partner-box__skeleton--media {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 8px;
}

.partner-box__skeleton--title,
.partner-box__skeleton--line {
    height: 12px;
    margin-top: 8px;
}

.partner-box__skeleton--title-short,
.partner-box__skeleton--line {
    width: 70%;
}

.partner-box--error .partner-box__featured,
.partner-box--error .partner-box__list {
    display: none;
}

@keyframes partner-box-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* End partner-box */

/* search-page */

.search-page-form {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd;
    background: var(--white);
}

.search-page-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    padding: 0 12px;
    height: 42px;
    font-family: var(--font-3);
    font-size: 15px;
    color: var(--color-text);
    background: transparent;
}

.search-page-form button {
    flex: 0 0 auto;
    border: 0;
    padding: 0 18px;
    height: 42px;
    background: var(--color-main);
    color: var(--white);
    font-family: var(--font-2);
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.search-page-form button:hover {
    background: var(--color-highlight);
}

.search-page-summary {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--gray);
}

.search-page-empty {
    font-size: 15px;
    line-height: 1.6;
}

.search-page-empty ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

/* End search-page */

/* market-box - sidebar vàng / bạc / ngoại tệ */

.market-box.is-loading {
    opacity: 0.6;
}

.market-card {
    padding: 12px 0;
    border-top: 1px solid var(--light);
}

.market-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.market-card:last-child {
    padding-bottom: 0;
}

.market-card__label {
    margin-bottom: 6px;
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-main);
}

.market-card__rows div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0;
    font-family: var(--font-3);
    font-size: 14px;
    color: var(--color-text);
}

.market-card__rows strong {
    font-weight: bold;
    color: var(--black);
    text-align: right;
}

/* End market-box */

/* weather-widget — sidebar scale (core util view keeps shared markup/JS) */
.weather-province-wrap {
    margin-bottom: 8px;
}

.weather-province-wrap .select2-container {
    margin-bottom: 15px;
}

.weather-province-wrap .select2-container .select2-selection--single {
    height: 34px;
    min-height: 34px;
    border-color: #ced4da;
    padding: 0 12px;
}

.weather-province-wrap .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    font-size: 13px;
}

.weather-province-wrap .select2-container .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.weather-widget {
    max-width: 100%;
    font-family: var(--font-3);
}

.weather-widget .weather-icon {
    width: 40px;
    height: 40px;
}

.weather-widget .weather-temp {
    font-family: var(--font-4);
    font-size: 28px;
    font-weight: 700;
}

.weather-widget .weather-sub {
    font-size: 13px;
}

.weather-widget .weather-sub-2 {
    font-size: 12px;
}

.weather-widget .weather-kpi {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 8px 10px;
}

.weather-widget .weather-kpi .label {
    font-size: 12px !important;
}

.weather-widget .weather-kpi .value {
    font-size: 14px !important;
    font-weight: 700;
}

.weather-widget .section-title {
    font-family: var(--font-2);
    font-size: 14px !important;
    font-weight: 700;
    color: var(--color-main);
    text-transform: uppercase;
}

.weather-widget .section-subtitle {
    font-size: 12px !important;
    color: var(--color-highlight);
}

.weather-widget .forecast-toggle button {
    padding: 5px 10px;
    font-size: 12px !important;
    font-weight: 700;
}

.weather-widget .weather-hour {
    width: 78px;
    padding: 8px 6px;
    background: #f7f7f7;
    border-radius: 8px;
}

.weather-widget .weather-hour .time {
    font-size: 12px !important;
}

.weather-widget .weather-hour .temp {
    font-size: 14px !important;
    color: var(--color-main);
}

.weather-widget .weather-hour .meta {
    font-size: 11px !important;
}

.weather-widget.glass-card {
    border-radius: 8px !important;
    padding: 0 !important;
}

/* End weather-widget */

/* =============================================================================
   6. Responsive
   All viewport overrides live here, grouped by breakpoint.
   Order: desktop-up → tablet range → mobile-down (large → small).
   ========================================================================== */

/* --- Desktop XL (≥1200px) --- */
@media (min-width: 1200px) {
    .container-2 {
        max-width: 1350px;
    }
}

/* --- Desktop (≥992px) --- */
@media (min-width: 992px) {
    .desktop-hidden {
        display: none;
    }

    .header-menu .inner-list>.menu-home>a {
        color: var(--red);
        font-size: 0;
    }
    .header-menu .inner-list>.menu-home>a::before {
        content: "\f015";
        font-family: "Font Awesome 6 Pro";
        font-size: 20px;
        font-weight: 900;
    }

    .header-menu.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9;
    }
}

/* --- Tablet only (576–991px) --- */
@media (min-width: 576px) and (max-width: 991px) {
    .table-hidden {
        display: none;
    }
}

/* --- Tablet & below (≤991px) --- */
@media (max-width: 991px) {
    .header-topbar {
        font-size: 10px;
    }

    .header-main .inner-logo img {
        max-height: 60px;
    }

    .menu-button-open {
        display: block !important;
        font-size: 20px;
        cursor: pointer;
        width: 20px;
    }
    .header-menu {
        --drawer-width: min(300px, 84vw);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        display: block;
        visibility: hidden;
        z-index: 1000;
        transition: visibility 0s linear 0.3s;
    }
    .header-menu.is-open {
        visibility: visible;
        transition-delay: 0s;
    }
    .header-menu>.container,
    .header-menu>.container>.inner-wrap {
        max-width: none;
        height: 100%;
        padding: 0;
        margin: 0;
    }
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.47);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .header-menu.is-open .menu-overlay {
        opacity: 1;
    }
    .header-menu .inner-list {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--drawer-width);
        max-width: 84vw;
        height: 100%;
        padding: 52px 0 20px;
        background: var(--white);
        display: block;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .header-menu.is-open .inner-list {
        transform: translateX(0);
    }
    .menu-button-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 6px;
        left: calc(var(--drawer-width) - 46px);
        width: 40px;
        height: 40px;
        z-index: 1;
        color: var(--color-text);
        font-size: 22px;
        cursor: pointer;
        transform: translateX(calc(-1 * var(--drawer-width)));
        transition: transform 0.3s ease;
    }
    .header-menu.is-open .menu-button-close {
        transform: translateX(0);
    }
    .header-menu .inner-list>li {
        padding: 0;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        flex-wrap: wrap;
    }
    .header-menu .inner-list>li:after {
        content: none;
    }
    /* Submenus only open on tap, never on hover */
    .header-menu .inner-list>li:hover ul {
        display: none;
        border: 0;
    }
    .header-menu .inner-list>li a {
        padding: 4px 12px;
        min-height: 42px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .header-menu .inner-list>li.has-children>a {
        width: calc(100% - 42px);
    }
    /* Caret rendered by MenuWidget inside the parent link */
    .header-menu .inner-list>li.has-children>a>.menu-toggle,
    .header-menu .inner-list>li>.inner-icon-down {
        position: absolute;
        right: 0;
        top: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        width: 42px;
        border-left: 1px solid #ddd;
        margin: 0;
        cursor: pointer;
    }
    .header-menu .inner-list>li.open>a>.menu-toggle,
    .header-menu .inner-list>li.open>.inner-icon-down {
        transform: rotate(180deg);
    }
    .header-menu .inner-list>li.open>ul,
    .header-menu .inner-list>li ul.active {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        border: 0;
        border-top: 1px solid #ddd;
        background: #f7f7f7;
    }
    .header-menu .inner-list>li ul li a {
        width: 100%;
        display: flex;
        padding-left: 24px;
    }
    .header-menu .inner-list>li ul li:last-child a {
        border-bottom: 0;
    }

    .footer-list .inner-item {
        margin-bottom: 8px;
    }
    .footer-list .inner-item a {
        font-size: 12px;
    }

    .go-to-top {
        width: 30px;
        height: 30px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    .box-title a,
    .box-title a:not([href]):not([class]) {
        font-size: 14px;
    }

    .box-title-2 .inner-title,
    .box-title-2 .inner-title:not([href]):not([class]) {
        font-size: 14px;
    }
    .box-title-2 .inner-view-more {
        font-size: 12px;
    }

    .news-type-1 .inner-item .inner-content .inner-title a {
        font-size: 14px;
    }
    .news-type-1 .inner-item .inner-content .inner-sapo {
        font-size: 12px;
    }

    .news-type-2 .inner-item .inner-content .inner-title {
        font-size: 13px;
    }

    .news-type-3 .inner-item .inner-title a {
        font-size: 13px;
    }
    .news-type-3 .inner-item .inner-content .inner-sapo {
        font-size: 12px;
    }

    .news-type-4 .inner-item {
        padding: 10px 10px 10px 40px;
    }
    .news-type-4 .inner-item:before {
        font-size: 20px;
    }
    .news-type-4 .inner-item a {
        font-size: 13px;
    }

    .news-type-5 .inner-item .inner-title a {
        font-size: 13px;
    }
    .news-type-5 .inner-item .inner-content .inner-sapo {
        font-size: 12px;
    }

    .news-type-6 .inner-item {
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    .news-type-6 .inner-item:first-child .inner-title a {
        font-size: 14px;
    }
    .news-type-6 .inner-item .inner-title a {
        font-size: 13px;
    }

    .news-type-8 .inner-item .inner-title a {
        font-size: 13px;
    }
    .news-type-8 .inner-item .inner-sapo {
        font-size: 12px;
    }

    .news-type-9 .inner-item-highlight .inner-content .inner-title a {
        font-size: 14px;
    }
    .news-type-9 .inner-item-highlight .inner-content .inner-sapo {
        font-size: 12px;
    }
    .news-type-9 .inner-item .inner-title a {
        font-size: 13px;
    }
    .news-type-9 .inner-item .inner-sapo {
        font-size: 12px;
    }

    .news-type-10 .inner-item {
        padding-left: 90px;
    }
    .news-type-10 .inner-item:first-child {
        min-height: 80px;
    }
    .news-type-10 .inner-item:first-child .inner-image {
        width: 107px;
    }
    .news-type-10 .inner-item .inner-title a {
        font-size: 13px;
    }
    .news-type-10 .inner-item .inner-time {
        font-size: 12px;
    }

    .cate-type-1 .inner-item {
        margin-bottom: 5px;
    }

    .videos-type-1 .inner-item-highlight .inner-content .inner-title a {
        font-size: 13px;
    }
    .videos-type-1 .inner-item-highlight .inner-content .inner-sapo {
        font-size: 12px;
    }

    .videos-type-2 .inner-item {
        flex-direction: column;
    }
    .videos-type-2 .inner-item .inner-video {
        width: 100%;
    }
    .videos-type-2 .inner-item .inner-box {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .videos-type-3 .inner-item .inner-title a {
        font-size: 13px;
    }
    .videos-type-3 .inner-item .inner-meta {
        font-size: 12px;
    }

    .videos-type-4 .inner-list .inner-item .inner-title a {
        font-size: 13px;
    }
    .videos-type-4 .inner-list .inner-item .inner-sapo {
        font-size: 12px;
    }

    .papers-type-1 .inner-item .inner-content .inner-title a {
        font-size: 13px;
    }

    .videos-type-2 .inner-item .plyrr-wrapper {
        width: 100%;
    }
}

/* --- Mobile (≤767px) --- */
@media (max-width: 767px) {
    .ojs-issue-summary__title {
        font-size: 20px;
    }

    .header-topbar {
        display: none;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 9;
    }
    .header-main {
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }
    .header-main .inner-wrap {
        flex-wrap: wrap;
    }
    .header-main .inner-banner {
        display: none;
    }
    .header-main .inner-logo {
        width: calc(100% - 40px);
        text-align: center;
    }
    .header-main .inner-logo img {
        max-height: 50px;
    }
    .search-button-open {
        display: block !important;
        font-size: 20px;
        cursor: pointer;
        width: 20px;
    }
    .search-mobile {
        width: 100%;
        padding-top: 10px;
    }
    .search-mobile.is-open {
        display: block;
    }
    .search-mobile form {
        display: block;
        height: 25px;
        border: 1px solid #e2e2e2;
        width: 100%;
        background: #fff;
        position: relative;
        font-size: 12px;
        color: #838383;
    }
    .search-mobile form input {
        border: none;
        height: 100%;
        padding-left: 5px;
        width: 100%;
        padding-right: 20px;
    }
    .search-mobile form button {
        border: none;
        background: none;
        position: absolute;
        right: 0;
        top: 0;
        height: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #838383;
    }

    .wrap-two-col-2>.inner-wrap {
        flex-wrap: wrap;
    }
    .wrap-two-col-2>.inner-wrap>.inner-left {
        width: 100%;
    }
    .wrap-two-col-2>.inner-wrap>.inner-right {
        width: 100%;
    }

    .news-type-1 .inner-item {
        flex-direction: column;
    }
    .news-type-1 .inner-item .inner-image {
        width: 100%;
    }
    .news-type-1 .inner-item .inner-content {
        width: 100%;
        padding: 15px;
    }

    .news-type-5 .inner-list {
        flex-direction: column;
    }
    .news-type-5 .inner-left {
        width: 100%;
    }
    .news-type-5 .inner-right {
        width: 100%;
    }

    .videos-type-2 .inner-item .inner-box .inner-content .inner-title {
        font-size: 16px;
    }
    .videos-type-2 .inner-item .inner-box .inner-content .inner-sapo {
        font-size: 12px;
    }
    .videos-type-2 .inner-item .inner-box .inner-content .inner-author {
        font-size: 14px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .ads-desktop {
        display: none;
    }
    .ads-mobile {
        display: block;
    }
    .ads-mobile .ads-gif-container {
        width: 100%;
        height: auto;
    }
    .ads-mobile .ads-gif-container img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* --- Mobile SM (≤575px) --- */
@media (max-width: 575px) {
    .mobile-hidden {
        display: none;
    }

    .wrap-two-col>.inner-wrap {
        flex-wrap: wrap;
    }
    .wrap-two-col>.inner-wrap>.inner-left {
        width: 100%;
    }
    .wrap-two-col>.inner-wrap>.inner-right {
        width: 100%;
    }

    .videos-type-2 .inner-item .inner-box {
        aspect-ratio: 4/3;
    }

    .videos-type-4 .inner-list .inner-item-highlight .inner-content {
        padding: 10px 10px 10px 50px;
    }
    .videos-type-4 .inner-list .inner-item-highlight .inner-content>i {
        left: 10px;
    }
    .videos-type-4 .inner-list .inner-item-highlight .inner-content .inner-title {
        font-size: 13px;
    }
}
