:root {
    --player-color: #ffffff;
    --player-bg: #495057;
    --player-hover: #ff9800;
}
a { color: var(--bs-emphasis-color-rgb); }
a:hover { color: var(--bs-dark-text) !important; }
.card { border: none; }
h2.title { padding-left: 20px; position: relative; font-size: 160%; }
h2.title:before { content: ''; left: 0; top: 0; position: absolute; height: 100%; width: 10px; background: var(--bs-dark-bg-subtle); }
h5.title { font-size: 120%; }
header { margin-bottom: 1.5rem; }
header nav { min-height: 90px; }
header nav .navbar-collapse, header nav .offcanvas { flex-grow: unset !important; }
nav .navbar-logo img { max-height: 70px; }
@media (max-width: 768px) { nav .navbar-logo img { max-height: 50px; } }
@media (min-width: 992px) {
    header nav .offcanvas { position: static !important; transform: none !important; visibility: visible !important; z-index: auto !important; background: transparent !important; border: none !important; width: auto !important; height: auto !important; }
    header nav .offcanvas .offcanvas-header { display: none !important; }
    header nav .offcanvas .offcanvas-body { overflow: visible !important; padding: 0 !important; display: flex !important; align-items: center; }
    header nav .offcanvas .navbar-nav { flex-direction: row !important; }
    header nav .offcanvas .nav-link { padding: 0.5rem 0.8rem !important; font-size: 15px !important; color: var(--bs-nav-link-color) !important; }
    header nav .offcanvas-backdrop { display: none !important; }
}
@media (max-width: 991.98px) {
    header nav .offcanvas { z-index: 99999 !important; }
    .offcanvas-backdrop { z-index: 99998 !important; }
}
header nav li { font-size: 115%; }
header nav .nav-link { position: relative; transition: color 0.3s; padding-bottom: 8px !important; }
header nav .nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--player-hover, #ff9800), #ff5722); border-radius: 2px; transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
header nav .nav-link:hover { color: var(--player-hover, #ff9800) !important; }
header nav .nav-link:hover::after { width: 100%; }
@media (max-width: 991.98px) {
    header nav .offcanvas .nav-link { padding-left: 20px !important; }
    header nav .offcanvas .nav-link::after { bottom: 0; height: 2px; background: var(--player-hover, #ff9800); }
    header nav .offcanvas .nav-link:hover { background: rgba(255,255,255,0.05); }
}
header nav .dropdown-menu { font-size: 80%; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bs-gray-200); }
::-webkit-scrollbar-thumb { background: var(--bs-gray-600); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--bs-gray-700); }
.b-play, .b-stop, .b-volume, .b-mute {
    border: none; background: none; text-decoration: none; -webkit-appearance: none; -moz-appearance: none; appearance: none;
    display: inline-block; vertical-align: middle; font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto;
    -webkit-transition: 0.2s; transition: 0.2s;
}
.b-play::before { content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.b-stop::before { content: '\f04d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.b-volume::before { content: '\f028'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.b-mute::before { content: '\f026'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

#player {
    background: var(--player-bg);
    color: var(--player-color);
    line-height: 1.2;
}

#player .player-radio {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.player-info {
    display: flex;
    flex: 1 1 auto !important;
    align-items: center;
    margin-right: 0.5rem;
    max-width: 892px;
    min-width: 0;
}

.player-info img, .player-cover-icon {
    height: 48px;
    width: 48px;
    margin-right: 0.5rem;
    border-radius: 0.375rem;
    object-fit: cover;
}
.player-cover-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255,255,255,0.1);
    color: var(--player-color);
}

.player-info .now {
    font-weight: 700;
    padding-bottom: 6px;
    font-size: 0.85rem;
}

.player-info marquee {
    font-size: 0.85rem;
}

.player-controls {
    display: flex;
    flex-shrink: 0;
}

.player-controls .b-play,
.player-controls .b-stop,
.player-controls .b-volume,
.player-controls .b-mute {
    border: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px;
    background: none;
}

.player-controls .b-play::before,
.player-controls .b-volume::before,
.player-controls .b-mute::before {
    color: var(--player-color);
}

.player-controls .b-stop::before {
    color: var(--player-hover);
}

.player-controls .b-play:hover::before,
.player-controls .b-stop:hover::before,
.player-controls .b-volume:hover::before,
.player-controls .b-mute:hover::before {
    color: var(--player-hover);
}

.player-controls .b-play::before,
.player-controls .b-stop::before,
.player-controls .b-volume::before,
.player-controls .b-mute::before {
    display: inline-block;
    vertical-align: middle;
    height: 28px;
    width: 28px;
    font-family: 'Font Awesome 6 Free';
    font-size: 28px;
    line-height: 28px;
    font-style: normal;
    text-decoration: none;
    -webkit-transition: .15s;
    transition: .15s;
}

.player-volume {
    position: relative;
    z-index: 1038;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    align-self: center;
    flex: 0 0 48px;
    margin-left: 1.2rem;
}

@media screen and (max-width: 767px) {
    .player-volume {
        display: none !important;
    }
}

.player-volume-slider {
    position: absolute;
    right: 0px;
    height: 0;
    width: 36px;
    overflow: hidden;
    top: 56px;
    border-radius: 4px 4px 0 0;
    background: var(--bs-emphasis-color);
    box-shadow: 0 -6px 8px -2px rgba(0, 9, 27, 0.36);
    transition: height 0.15s;
}

.player-volume:hover .player-volume-slider {
    height: 160px;
}

.player-volume .b-volume,
.player-volume .b-mute {
    position: relative;
}

.player-volume .b-slider {
    writing-mode: vertical-lr;
    width: 0px;
    height: 150px;
    padding: 0 5px;
    margin-top: 5px;
}
.carousel-caption { padding: 0; bottom: 8px; left: 0; right: 0; }
.carousel-caption h5 { padding: 10px 15px; font-size: 160%; color: #fff; background: rgba(0, 0, 0, 0.5); margin: 0; }
@media (max-width: 767px) {
    .carousel-caption h5 { font-size: 100%; padding: 6px 10px; }
}
.carousel-control-next .next, .carousel-control-prev .prev { background: rgb(0 0 0/45%); color: #fff !important; font-size: 18px; height: 32px; width: 32px; border-radius: 50%; line-height: 1.9; display: inline-block; }
.carousel-control-next, .carousel-control-prev { width: 10%; }
.carousel-item { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; }
.nav-pills .nav-link { color: var(--bs-emphasis-color-rgb) !important; }
.nav-pills .nav-link:hover { color: var(--bs-dark-text) !important; }
.nav-pills .nav-link.active { color: #fff !important; }
.nav-pills .nav-link.active:hover { color: #fff !important; }
.navbar-toggler { border: none; }
.navbar-toggler .fas { font-size: 24px; }
.navbar-toggler:focus { box-shadow: 0 0 0 0.08rem; }
header .dropdown { font-size: 16px; }
.app-card { align-items: center; text-decoration: none; color: var(--bs-card-color); margin-bottom: 0.5rem; }

.app-card .card-body { align-items: center; display: flex; }
.app-card .icon { width: 40px; }
.app-card:hover i { color: var(--bs-dark-text); }
.app-card .info { width: 145px; }
.top-music-card { margin-bottom: 0.5rem; }
.top-music-card .card-body { align-items: center; display: flex; }
.top-music-card .num { font-weight: 700; font-size: 180%; margin-right: 8px; width: 35px; text-align: center; }
.top-music-card .avatar { margin-right: 1rem; }
.top-music-card .avatar img { object-fit: cover; height: 70px; width: 70px; border: rgb(255 255 255 / 15%) solid 3px; }
.top-music-card .info { overflow: hidden; }
.top-music-card .info .track { display: block; font-size: 120%; font-weight: 700; padding-bottom: 0.5rem; white-space: nowrap; }
.top-music-card .info .artist { display: block; white-space: nowrap; }
.top-music-card .b-play, .top-music-card .b-stop, .top-music-card .b-stop-none { z-index: 2; background: rgb(0 0 0/45%); position: absolute; width: 70px; height: 70px; border-radius: 50%; border: var(--bs-dark-text) solid 3px; transition: all 0.3s ease; }
.top-music-card .b-play::before { color: #fff; width: 28px; height: 28px; font-size: 28px; line-height: 28px; }
.top-music-card .b-stop::before { color: var(--bs-orange); width: 28px; height: 28px; font-size: 28px; line-height: 28px; }
@media screen and (hover: hover) and (pointer: fine) { .top-music-card .b-play { opacity: 0; } .top-music-card .b-stop::before { color: #fff; } }
.top-music-card:hover .b-play, .top-music-card .b-play:focus { opacity: 1; }
.article-card { margin-bottom: 1rem; }
.article-card .card-body { height: 100%; }
.article-card .card-title { font-size: 120%; font-weight: 700; }
.article-card:hover .card-title { text-decoration: underline; color: var(--bs-dark-text); }
.article-card .card-info { display: flex; justify-content: space-between; align-items: center; }
.article-card .card-info a { position: relative; z-index: 3; text-decoration: none; }
.article-card .card-info a:hover { text-decoration: underline; }
.article-card a.link-article { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 2; }
.article-card img { object-fit: cover; height: 100%; width: 100%; transition: all 0.3s ease; max-height: 320px; }
.article-card img.news { max-height: 320px; }
.article-card .article-img { overflow: hidden; }
.article-card:hover.article-card img { transform: scale(1.05); }
.post1-card { margin-bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.post1-card .card-title { font-size: 100%; }
.post1-card img { object-fit: cover; width: 100%; height: 100%; transition: all 0.3s ease; position: absolute; inset: 0; }
.post1-card:hover img { opacity: 0.5; transform: scale(1.05); }
.post1-card .link-post { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 2; }
.post1-card .button { text-align: center; background: rgb(0 0 0/45%); position: absolute; width: 60px; height: 60px; border-radius: 50%; line-height: 60px; font-size: 28px; color: #fff; }
@media (max-width: 767px) {
    .article-card img { max-height: 200px; }
    .article-card .article-img { height: 200px; }
    .post1-card { aspect-ratio: 16/9; }
    .post1-card img { width: 100%; height: 100%; }
    .top-music-card .avatar img { height: 50px; width: 50px; }
    .announcer-air-card .avatar img { height: 50px; width: 50px; }
    .player-volume { display: none !important; }
    .carousel-item img { height: 200px; object-fit: cover; }
    h2.title { font-size: 130%; }
}
.announcer-air-card { margin-bottom: 0; }
.announcer-air-card .card-body { align-items: center; display: flex; }
.announcer-air-card .avatar { margin-right: 1rem; }
.announcer-air-card .avatar img { object-fit: cover; height: 70px; width: 70px; border: rgb(255 255 255 / 15%) solid 3px; }
.announcer-air-card .info .date { display: block; font-style: italic; }
.announcer-air-card .info .announcer { display: block; font-size: 120%; font-weight: 700; padding-bottom: 0.5rem; }
.announcer-air-card .info .program { display: block; margin-bottom: 0.5rem; }
.announcer-air-card .action { text-align: center; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.timetable .avatar { width: 60px; height: 60px; }
.timetable .just-now { font-size: 120%; font-weight: bold; display: block; margin-bottom: 8px; color: #0a58ca; }
.timetable table tr.active { background-color: var(--bs-primary-bg-subtle); }
[data-bs-theme='dark'] .timetable table tr.active { background: #3f5865; }
[data-bs-theme='dark'] .timetable .just-now { color: #dbfd2b; }
[data-bs-theme='dark'] tr.active th, [data-bs-theme='dark'] tr.active td { color: #fff; }
.events .datatime { font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.18px; padding-bottom: 8px; display: block; color: var(--bs-blue); }
[data-bs-theme='dark'] .events .datatime { color: var(--bs-emphasis-color); }
.events .card-title { font-size: 16px; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; }
.events .location { font-size: 12px; display: block; }
.events .divider { color: var(--bs-emphasis-color); padding-left: 5px; padding-right: 5px; }
#footer-info { display: flex; justify-content: space-between; align-items: center; flex-direction: column; background: var(--bs-gray-300); }
#footer-info li { height: 32px; width: 32px; padding: 4px; text-align: center; }
#footer-info li a { font-size: 20px; }
[data-bs-theme='dark'] #footer-info { background: #131517; }
.team-card ul { font-size: 18px; display: flex; justify-content: center; }
.team-card ul li { padding-right: 0.9rem; }
.team-card ul li:last-child { padding-right: 0; }
.pages { line-height: 1.2; }
.pages li { margin-top: 0; padding-bottom: 1rem; }
.comment .avatar { height: 60px; width: 60px; border: rgb(255 255 255 / 15%) solid 3px; }
.comment .author { font-size: 120%; display: block; margin-bottom: 0.5rem; font-weight: 700; }
[data-bs-theme='dark'] #footer-info { background: #131517; }
