html, body {
    height: 100%;
    width: 100%;
}

.w8 {
    width: 80%;
    margin-left: 10%;
}

body {
    margin: 0;
    font-family: "Open Sans", serif;
    background: #FFFFFF;
    color: #333333;
    line-height: 1.4;
    display: block;
    padding: 0;
}

.nowrap {
    white-space: nowrap;
}

.black {
    background: black;
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-bottom: 0 !important;
    display: inline-block;
}

div.logo {
    background-image: url("../image/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 399px;
    max-width: 100%;
    height: 105px;
}

.border-right {
    border-right: 3px solid #E0E0E0;
}

.border-bottom {
    border-bottom: 3px solid #E0E0E0;
    padding-bottom: 20px;
}

h2 {
    font-size: 25px;
    margin-bottom: 10px;
}

.most h2 {
    font-size: 20px;
    font-family: "Open Sans", serif;
}

.container {
    margin-top: 40px;
    margin-bottom: 40px;
    vertical-align: top;
}


.container-wide {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    vertical-align: top;
    border-bottom: solid thin #E0E0E0;
}

.container > * {
    display: block;
}

.content {
    margin: 20px auto;
    overflow: auto;
    padding: 0 20px 25px;
    max-width: 2990px;
}

.topbar {
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    vertical-align: bottom;
    padding-bottom: 12px;
    border-bottom: 3px solid #E0E0E0;
    z-index: 10;
    min-height: 166px;
    max-width: 2990px;
    width: 80%;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 2990px;
    text-align: center;
}

.topbar .left {
    width: 280px;
    text-align: left;
}

.topbar .center {
    top: 0;
    display: inline-block;
    width: 400px;
    text-align: center;
}

.topbar .right {
    width: 280px;
    text-align: right;
    margin-bottom: 7px;
}

.logo:hover,
.logo:focus,
.logo:active {
    text-decoration: none;
}

a.logo, a.logo:hover {
    font-size: 90px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    color: #333333;
    display: inline-block;
    line-height: 70px;
    margin-top: 20px;
}

.logo .b {
    color: #0002f5;
}

a {
    text-decoration: none;
    color: #007bff;
}

.red {
    color: #dc3545;
}

a h1, a h2, a h3, a h4, a h5, a h6 {
    color: #333333;
}


article a:visited {
    text-decoration: none;
}

.breadcrumb a {
    text-decoration: none;
}

.main-nav {
    padding-top: 2px;
    text-align: center;
}

.main-nav a:hover {
    text-decoration: none;
}

.submenu {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.submenu-trigger {
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 3px;
    margin-bottom: 12px;
    padding: 1px 8px;
    background: black;
    color: white;
    font-size: 13px;
    border-radius: 4px;
    user-select: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.submenu:hover .submenu-trigger {
    background: #333;
}

.sub-nav {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    background: #222;
    z-index: 100;
    border-radius: 4px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sub-nav a {
    display: block !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 0 !important;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.sub-nav a:hover {
    background: #444 !important;
    color: #fff !important;
}

.sub-nav a:first-child {
    border-radius: 4px 4px 0 0 !important;
}

.sub-nav a:last-child {
    border-radius: 0 0 4px 4px !important;
}

.submenu:hover .sub-nav {
    display: block;
}

.main-article-text a.category, .main-nav a, .split-column a.category, span.category {
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    margin-left: 3px;
    margin-bottom: 12px;
    padding: 1px 8px;
    background: black;
    color: white;
    font-size: 13px;
    border-radius: 4px;
}

a.category, a.category:focus, a.category:visited {
    color: white !important;
}

.top-sections {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: solid 3px #E0E0E0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.weather {
    background-image: url("../image/weather-icon-17.png");
    height: 17px;
    width: 21px;
    /*margin-top: 2px;*/
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
}

.main-article {
    display: flex;
    width: 64%;
    gap: 0;
    margin-bottom: 0;
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 0;
}

.main-article-text {
    width: 46%; /* (30 / 64) * 100 */
    padding-right: 20px;
    box-sizing: border-box;
}

.main-article a:has(img) {
    width: 53%; /* (34 / 64) * 100 */
}

.main-article img {
    width: 100%;
    border-radius: 4px;
}

.most {
    margin-top: -34px;
    margin-bottom: 0;
    height: 115px;
    overflow: hidden;
}

.most table {
    display: inline-block;
}

.most-image {
    width: 50px;
    height: 50px;
    margin: 5px;
}

.most-articles {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.most-articles * {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.most-articles table {
    min-width: 280px;
}

.most-track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.most-track::-webkit-scrollbar {
    display: none;
}

.most-read-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.arrow {
    flex: 0 0 auto;
    width: 23px;
    height: 32px;
    padding: 0;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.arrow:disabled {
    background-color: transparent;
    cursor: not-allowed;
}

.red-arrow-left {
    background-image: url("../image/red_arrow_left.png");
}

.red-arrow-right {
    background-image: url("../image/red_arrow_right.png");
}

.white-arrow {
    width: 13px;
    height: 19px;
    display: inline-block;
    background-image: url("../image/white_arrow.png");
}

.right-articles {
    display: flex;
    width: 36%;
}

.first-article, .second-article {
    width: 48%;
    padding-left: 1%;
    padding-right: 1%;
    box-sizing: border-box;
}

.main-article-text p, .category-header p, .category-header-page p, .text p, article p {
    font-size: 15px;
    color: #444;
}

.article-grid {
    margin-top: 30px;
    margin-bottom: 10px;
}

.card, .article-grid article {
    padding: 20px;
    display: block;
}

.card.first {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.article-right {
    flex: 1;
}

.card a, .card img {
    display: inline-block;
    color: #333333;
}

.card a:hover p, .card a:visited p {
    color: #333333;
}


p {
    margin-bottom: 18px;
    font-size: 1.12rem;
    line-height: 1.68;
    margin-top: 0;
}

.split-layout {
    display: flex;
    gap: 20px;
}

.split-column {
    flex: 1;
}

.r20 {
    padding-right: 20px;
}

.split-column article {
    padding-top: 2px;
    padding-bottom: 2px;
}

.category-header {
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 1px;
    white-space: nowrap;
    min-width: 268px;
}

.category-header-page {
    padding-left: 10px;
}

.category-header-page h1 {
    font-size: 2.5rem;
    margin-top: 25px !important;
}

.category-header-page p {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-top: 16px;
}

.little {
    background-image: url("../image/little_arrow.png");
    background-repeat: repeat-x;
    height: 11px;
    display: block;
    width: 80%;
    margin-left: 10%;
}


.double {
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    text-align: left;
}

.half {
    width: 45%;
    display: inline-block;
    vertical-align: middle;
}

.half.left {
    margin-right: 20px;
}

.first img {
    width: 200px;
}

footer {
    height: auto;
    width: 100%;
    vertical-align: bottom;
    margin-top: auto;
    position: absolute;
    bottom: 0;
    background: #1a1a2e;
    color: #aaaaaa;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 0 24px;
}

.site-footer__logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #f6f4ef;
    text-decoration: none;
}

.site-footer__logo:hover {
    color: #ffffff;
}

.site-footer__tagline {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: #666688;
}

.site-footer__nav {
    display: flex;
    gap: 48px;
}

.site-footer__col h3 {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #f6f4ef;
}

.site-footer__col a {
    display: block;
    color: #888899;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.6;
}

.site-footer__col a:hover {
    color: #f6f4ef;
}

.site-footer__bottom {
    border-top: 1px solid #2a2a42;
    text-align: center;
    padding: 16px 0;
    font-size: 0.78rem;
    color: #555570;
}

.video-holder {
    position: relative;
    width: 100%;
    max-width: 497px;
    margin: 0 auto;
    overflow: hidden;
}

.video {
    width: 100%;
    height: auto;
    display: block;
}

div.all {
    width: 100%;
    position: relative;
    min-height: 100%;
    padding-bottom: 220px;
    box-sizing: border-box;
}

.search button, .search input {
    display: inline-block;
    background: none;
}

.search button {
    height: 40px;
    width: 40px;
    border: none !important;
    cursor: pointer;
}

.search input {
    border: 2px solid #ccc;
    border-radius: 4px;
    height: 40px;
    width: 200px;
    padding-left: 10px;
    font-size: 25px;
}

.search-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url('../image/search-50.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-bottom: 7px;
}

div.right {
    text-align: right;
}


div.relative {
    position: relative;
}

div.bottom {
    position: absolute;
    bottom: 0;
    right: 0;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

a.button, button, a.button:visited, a.button:hover {
    color: white;
    border-radius: 4px;
    background-color: #037afa;
    padding: 1px 4px;
    text-decoration: none;
    display: inline-block;

    white-space: nowrap;
    width: auto;
}

.move-right {
    margin-left: 20px;
}

.logout {
    margin-top: 10px;
    display: inline-block
}

.a-image {
    width: fit-content;
}

.a-title {
    flex: 1;
    min-width: 0;
}

.a-text {
    width: 100%;
    margin-bottom: 20px;
}

