/* ATL - CSS - SITE PUBLICO - OpenEdx LMS  V1.0 */

.site-header-desktop, header.global-header {
    border: none !important;
    padding: 29px 0 !important;
    min-height: 90px !important;
    position: relative;
    overflow: visible;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    background-color: #EFF9FA !important;
}

.global-header .header-actions .mobile-nav-item.hidden-mobile.nav-item {
    margin: 0;
}

.latest-news .news-list .news-item .href-new {
    display: flex;
    align-items: stretch;
}

.latest-news .news-list .news-item .href-new img.img-new {
    height: 60px !important;
    width: 56px !important;
    flex: 1;
}

.logo-images img {
    height: 33px;
}

.global-header .nav-links .header-actions .icon-btn.icon-btn-favs {
    padding-left: 12px;
    padding-right: 6px;
    top: -1px;
}

/* CSS for section section:Header */
.player-bar-section {
    background-color: #f0f0f0;
    padding: 10px 0;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
}

.player-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 20px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.listen-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    padding: 14px 12px 14px 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
}

.player-cover {
    width: 73px;
    height: 49px;
    border-radius: 3px;
}

.player-title {
    font-weight: 800;
    font-size: 16px;
    margin: 0;
}

.player-subtitle {
    font-size: 14px;
    margin: 0;
}

.player-bar-section .spotify,
.player-bar-section .youtube{
    min-width: 200px;
    max-width: 650px;
    width: 650px;
}

.player-bar-container .player-info p.player-title,
.player-bar-container .player-info .player-subtitle {
    max-width: 650px;
    min-width: 200px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.progress-bar {
    width: 624px;
    height: 4px;
    background-color: var(--white-color);
    border-radius: 2px;
}

.progress {
    width: 10%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.controls {
    display: flex;
    gap: 20px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.play-btn {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pause-btn {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.site-header {
    background-color: var(--white-color);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
    padding: 25px 0;
    border-bottom: 1px solid #dfdfdf;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: block;
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 3px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
}

.lang-btn {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* Header dropdown labels must match menu item weight. */
.global-header .nav-links .toggle-opts1-dropdown .opts1name,
.global-header .nav-links .toggle-opts2-dropdown .opts2name {
    font-weight: 700 !important;
}

@media (max-width: 1200px) {
    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .player-controls, .player-subtitle {
        display: none;
    }

    .header-container {
        padding: 0 20px;
    }
}

/* CSS for section section:Hero */
.hero-section {
    position: relative;
    height: 468px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(265deg, #d9d9d9 0%, #626262 31.23%, #3d3d3d 58.7%);
    opacity: 0.3;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(99, 195, 209, 0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 20px;
    margin-left: -400px; /* Adjust to push content to the left */
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 545px;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: all;
}

.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 40px;
}

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

@media (max-width: 992px) {
    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        max-width: 100%;
    }
}

/* CSS for section section:News */
.news-section {
    padding-top: 70px;
}

.search-bar {
    display: flex;
    margin-bottom: 50px;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
    border: 1px solid #f2f2f2;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-icon {
    margin-right: 10px;
}

.search-input-wrapper input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 18px;
}

.search-bar .btn {
    border-radius: 0 10px 10px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
}

.latest-news h2, .featured-articles h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item .href-new {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    padding: 0;
    text-decoration: none !important;
}

.news-item {
    display: flex;
    gap: 15px;
    background-color: var(--white-color);
    border: 1px solid #f4f4f4;
    border-radius: 4px;
    padding: 10px;
}

.news-item img,
.news-item .href-new img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 112px;
    justify-self: end;
}

.news-item .img-new,
.news-item .href-new .img-new {
    margin: 0;
}

#agenda .event-list .event-item .href-item-url {
    display: flex;
    gap: 16px;
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: 0 0 1px rgba(23, 26, 31, 0.07), 0 0 2px rgba(23, 26, 31, 0.12);
    cursor: pointer;
}

.href-new .news-content .tag,
.news-content .tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2px 8px;
    border-radius: 13px;
    display: inline-block !important;
    margin-bottom: 5px;
}

.news-item .news-content,
.href-new .news-content {
    flex: 1 1 auto;
    min-width: 0;
}

.href-new .news-content .news-tag-one-line,
.news-content .news-tag-one-line {
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: top;
}

.href-new .news-content h3,
.news-content h3 {
    font-size: 14px;
    line-height: 17px;
    margin: 0 0 5px;
    font-weight: 800;
    color: #000;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.href-new .news-content .tag:hover,
.news-content .tag:hover,
.href-new .news-content h3:hover,
.news-content h3:hover {
    text-decoration: none;
}

.news-content time,
.href-new .news-content time {
    font-size: 12px;
    color: var(--light-text-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.article-card {
    background-color: var(--white-color);
    border: 1px solid #f4f4f4;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.article-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.article-card .card-content {
    padding: 15px;
}

.featured-articles .articles-grid .article-card .card-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-card .tag {
    font-size: 12px;
    font-weight: 800;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 10px;
    border-radius: 13px;
    display: inline-block;
    margin-bottom: 8px;
}

.article-card time {
    font-weight: 400;
    line-height: 20px;
    display: block;
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

.featured-articles .articles-tit {
    position: relative;
}

.featured-articles .btns {
    position: relative;
    text-align: center;
}


.featured-articles .btn-secondary {
    display: block;
    width: fit-content;
    margin-top: 20px;
}

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

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

    .phone-mockup {
        display: none;
    }
}

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

    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-wrapper {
        border-radius: 10px;
    }

    .search-bar .btn {
        border-radius: 10px;
    }
}

/* CSS for section section:FeaturedCourses */
.courses-section {
    cursor: pointer;
}

.courses-section .section-title {
    font-size: 30px;
    margin-bottom: 50px;
    font-weight: 700;
}

.breadcrumb-item-ellipsis {
    width: 50%;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: none;
    overflow: hidden;
    display: inline-block;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.courses-grid .detail-grid {
    gap: 24px;
}

.courses-grid .home-grid {

}

.course-card {
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: 0px 0px 2px 0px rgba(23, 26, 31, 0.08), 0px 0px 1px 0px rgba(23, 26, 31, 0.05);
    overflow: hidden;
    cursor: pointer;
}

.card-image-container {
    position: relative;
}

.card-image-container img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-image-container .tag {
    text-transform: uppercase;
    font-weight: 800;
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 12px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
}

.fav-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card .card-content {
    padding: 24px;
}

.course-card h3,
.course-card h3:hover {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 16px;
    height: 48px;
    font-weight: 700;
    text-decoration: none;
}

.course-code {
    font-size: 14px;
    color: var(--light-text-color);
    margin: 0 0 16px;
    font-weight: 400;
    line-height: 20px;
}

.course-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--light-text-color);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

#practical-pharmacy,
#practical-pharmacy .container,
#practical-pharmacy .container .carousel-slide-podcast.carousel-slide.media-card {
    position: relative;
}

.featured-articles .articles-btns {
    text-align: center;
}

#practical-pharmacy .container .carousel-slide-podcast.carousel-slide.media-card .fav-btn {

}

#practical-pharmacy .carousel-slide-podcast.carousel-slide.media-card .tags .tag {
    background-color: #63C3D1;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* CSS for section section:PracticalPharmacy */
#practical-pharmacy .content .course-card h3 {
    height: auto;
    margin-bottom: 8px;
}

/* CSS for section section:Videos */
.media-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.media-section .section-title {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
}

.nav-arrows {
    display: flex;
    gap: 10px;
}

.list-page-grid.list-page-practical-pharmacy .card-image-wrapper {
    /* width: 160px; */
    margin-left: auto;
    margin-right: auto;
}

.list-page-grid.list-page-practical-pharmacy {
    grid-template-columns: repeat(4, 1fr) !important;
}

.list-page-grid.list-page-books {
    grid-template-columns: repeat(4, 1fr) !important;
}

.list-page-grid.list-page-practical-pharmacy .card-img {
    width: auto;
    height: 160px;
}

.list-page-grid.list-page-books .card-image-wrapper {
    height: 200px;
}

.list-page-grid.list-page-books .list-item-card {
    max-width: 190px;
    text-align: center;
}

.list-page-grid.list-books .card-image-wrapper {
    height: 200px;
    text-align: center;
}

.list-page-grid.list-page-books .card-image-wrapper .card-img {
    width: auto;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.media-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.media-scroller::-webkit-scrollbar {
    display: none;
}

.carousel-caption span,
.carousel-caption .href-sider {
    color: #fff !important;
}

.carousel-slide-curator.media-card {
    flex: 0 0 180px;
    max-width: 180px;
    margin-left: 10px;
    margin-right: 10px;
    border: none;
    box-shadow: none;
    aspect-ratio: 0;
}

#practical-pharmacy .carousel-slide-podcast.carousel-slide.media-card {
    text-align: center;
}

#practical-pharmacy .photo-pp {
    width: 250px;
}

.list-page-grid.list-page-grid-results .tags {
}

#archives .article-tags .tag.tag-up {
    background-color: #63C3D1;
    color: #fff;
    font-weight: 800 !important;
    font-size: 10.87px;
    text-transform: uppercase;
}

.list-page-grid.list-page-grid-results .tags .tag {
    text-transform: uppercase;
}

#agenda .btn-secondary {
    font-size: 18px;
    color: #000;
    line-height: 22px;
}

#practical-pharmacy .card-content {
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
}

#practical-pharmacy .card-content h3 {
    padding: 0;
}

#practical-pharmacy .carousel-slide-podcast.carousel-slide.media-card {
    aspect-ratio: 0 !important;
}

#practical-pharmacy .card-content .course-code {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    padding-right: 0;
    padding-left: 0;
}

#trustees {
    padding-top: 0;
}

#trustees .section-title {
    padding-bottom: 40px;
}

.card-content .curator-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center;
    color: #171A1F !important;
    text-transform: none;
    text-decoration: none !important;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    min-height: 40px;
}

#partners2 {
    padding-top: 0;
}

.carousel-slide-curator.media-card .card-content {
    padding-top: 12px;
}

.carousel-slide-curator.media-card .card-curator {
    text-align: center;
}

.section-carousel .carousel-container .carousel-slide-curator.media-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.carousel-slide-curator.media-card img {
    width: 120px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.media-card {
    flex: 0 0 250px;
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: 0px 0px 2px rgba(23, 26, 31, 0.08), 0px 0px 1px rgba(23, 26, 31, 0.08);
    cursor: pointer;
}

.media-image-container {
    position: relative;
}

.media-image-container img {
    width: 100%;
    height: 142px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.media-image-container .fav-btn img {
    width: 19px;
    height: 17px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.media-image-container .play-btn-overlay img {
    width: 19.2px;
    height: 19.2px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.media-image-container .tags {
    position: absolute;
    top: 16px;
    left: 16px;
}

.media-image-container .tags .tag {
    position: relative;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 12px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

#magazine-details .description img {
    max-width: 90%;
}

.media-card .fav-btn {
    top: 12px;
    right: 12px;
}

.play-btn-overlay {
    position: absolute;
    bottom: -24px;
    right: 12px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 1px rgba(23, 26, 31, 0.07), 0px 0px 2px rgba(23, 26, 31, 0.12);
}

.media-card h3 {
    font-size: 18px;
    line-height: 21px;
    padding: 16px;
    margin-top: 20px;
    font-weight: 700;
}

#practical-pharmacy .content .media-card h3 {
    padding: 0 24px;
}

/* CSS for section section:Books */
.book-card h3 {
    margin-top: 0;
}

/* CSS for section section:Agenda */
.agenda-section .section-title {
    font-size: 30px;
    margin-bottom: 50px;
    font-weight: 700;
}

.agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.main-event {
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: 0 0 1px rgba(23, 26, 31, 0.07), 0 0 2px rgba(23, 26, 31, 0.12);
    overflow: hidden;
}

.main-event img {
    width: 100%;
    height: 247px;
    object-fit: cover;
}

.main-event-content {
    padding: 24px;
}

.main-event h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.main-event .event-date, .main-event .event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--light-text-color);
}

.courses-grid.home-grid-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.courses-grid.home-grid-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

#featured-courses .container {
    padding: 0 !important;
}

.main-event .event-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    color: #171A1F;
}

.main-event .btn-secondary,
.main-event .btn-secondary:hover {
    width: 100%;
    margin-top: 16px;
    background-color: #ffffff;
    color: #171A1F;
    display: inline-block;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #DEE1E6;
    padding: .375rem .75rem;
    font-size: 18px;
    line-height: 22px;
    border-radius: 1px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-item {
    display: flex;
    gap: 16px;
    background-color: var(--white-color);
    border-radius: 4px;
    box-shadow: 0 0 1px rgba(23, 26, 31, 0.07), 0 0 2px rgba(23, 26, 31, 0.12);
    cursor: pointer;
}

.event-item .photo {
    width: 139px;
    height: 152px;
    object-fit: cover;
    border-radius: 3px 0 0 3px;
}

.main-event-content .icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px 0 0 3px;
}

.event-item .icon {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px 0 0 3px;
}

.event-item img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px 0 0 3px;
}

.event-item-content {
    padding: 16px;
}

.event-item h4 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.event-item .event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--light-text-color);
    margin-bottom: 8px;
}

.event-item .event-description,
.event-item .event-description p {
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    color: #171A1F;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.event-list .btn {
    width: 100%;
    margin-top: 16px;
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

/* CSS for section section:Archive */
.archive-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.archive-section .section-title {
    font-size: 30px;
    margin: 0;
}

.year-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-scroller-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.archive-scroller {
    display: flex;
    gap: 24px;
    overflow: hidden;
    flex-grow: 1;
}

.archive-item {
    flex: 0 0 286px;
    cursor: pointer;
}

.archive-image-container {
    position: relative;
    margin-bottom: 16px;
}

.archive-image-container img {
    width: 100%;
    height: 351px;
    object-fit: cover;
    border-radius: 4px;
}

.archive-image-container .tag,
.archive-image-container .tag .btn-href-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800 !important;
}

.archive-item p, .btn-href, .btn-href:hover {
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: left;
    color: #171A1F !important;
    text-transform: none;
    text-decoration: none !important;
}

/* CSS for section section:Partners */
.partners-section {
    padding: 80px 0;
}

.partners-section .section-title {
    font-size: 30px;
    text-align: left;
    margin-bottom: 50px;
}

.logos-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logos-container img {
    max-height: 120px;
    object-fit: contain;
}

/* CSS for section section:Newsletter */
.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 36px;
    line-height: 1.2;
    max-width: 287px;
}

.newsletter-form-wrapper {
    max-width: 557px;
}

.newsletter-form-wrapper p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray-text);
    border-radius: 5px 0 0 5px;
    font-size: 18px;
}

.newsletter-form .btn {
    border-radius: 0 5px 5px 0;
}

@media (max-width: 768px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
}

/* CSS for section section:Footer */
@import url("/static/farmacia-clinica/frontend-v2/footer.58479722e12b.css");

/* Content */

.href-url, .href-url:hover {
    color: #212529 !important;
    text-transform: none;
    text-decoration: none !important;
}


.section-carousel .carousel-arrow {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    bottom: 64px;
    margin-block: auto;
    height: fit-content;
    width: 48px;
    background-color: transparent;
    border: none;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
}

.section-carousel .carousel-arrow:hover,
.section-carousel .carousel-arrow:focus {
    opacity: 1;
}

.section-carousel .carousel-arrow--prev {
    left: -80px;
}

#podcasts {
    background-color: #F8F8F8;
}

.section-carousel .carousel-arrow--next {
    right: -80px;
}

.section-carousel .carousel-container {
    width: 100%;
    padding-block: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    scroll-snap-type: x mandatory;
    flex-flow: row nowrap;
    scroll-behavior: smooth;
    overflow: hidden;
    padding-top: 1px;
    padding-bottom: 1px;
}

.carousel-slide-podcast.carousel-slide.media-card {
    min-height: 290px;
    display: inline-block;
    width: 250px;
}

.carousel-slide-podcast.carousel-slide.media-card .tags {
    position: absolute;
    left: 16px;
    top: 16px;
}

.carousel-slide-podcast.carousel-slide.media-card .tags .tag {

}

.carousel-container::-webkit-scrollbar {
    height: 14px;
    width: calc(100% - 48px);
}

.carousel-container::-webkit-scrollbar-track {
    background: #b1b3b399;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: #29AB87;
}

.carousel-container::-webkit-scrollbar-track-piece:start {
    background: #29AB87;
}

.section-carousel {
    display: block;
    position: relative;
}

.carousel-slide {
    aspect-ratio: 1;
    flex-flow: column nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
    position: relative;
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 1 0 90%;
    }
}

.course-details-section {
    padding-top: 25px;
    padding-bottom: 80px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.breadcrumbs a {
    color: #000;
}

.breadcrumbs span {
    color: var(--text-primary);
}

.course-layout {
    display: flex;
    gap: 95px;
    margin-top: 34px;
}

.course-main-content {
    flex: 1;
    min-width: 0;
}

.course-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.course-tags {
    display: flex;
    gap: 13px;
    margin-bottom: 29px;
}

.tag {
    background-color: rgba(224, 224, 224, 0.4);
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.tag.tag-up {
    text-transform: uppercase;
}

.course-tags.detail-course-tags .tag,
.course-tags.detail-course-tags .tag:hover {
    background-color: rgba(224, 224, 224, 0.4);
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: none;
    text-decoration: none;
}

.article-tags .tag {
    padding: 4px 13px;
    background-color: rgba(224, 224, 224, 0.4);
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--color-text-black) !important;
    text-decoration: none;
}

.course-title {
    color: var(--primary-color);
    font-size: 48px;
    font-weight: 800;
    line-height: 54px;
    margin-bottom: 27px;
    text-align: left;
    margin-top: 30px;
}

.course-description {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-secondary);
    max-width: 733px;
}

.course-info-list {
    margin-top: 27px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    line-height: 28px;
}

.course-info-list li strong {
    font-weight: 700;
    color: var(--text-primary);
}

.course-info-list li span {
    color: var(--text-secondary);
}

.course-content-tabs {
    margin-top: 85px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    padding: 10px 13px;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #565D6D !important;
    position: relative;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}

.tab-link.active {
    color: var(--primary-color);
    background-color: #f7feff;
    border: 1px solid var(--border-color);
    border-bottom: none;
    font-weight: 700;
    font-size: 14px;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ffffff;
}

.tab-content {
    padding: 31px 24px;
}

.tab-content h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 13px;
}

.tab-content p {
    font-size: 18px;
    line-height: 26px;
    color: rgba(23, 26, 31, 0.9);
}

.tab-content p + p {
    margin-top: 20px;
}

.details-card {
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 10px;
    box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
    overflow: hidden;
}

.details-card-image {
    width: 100%;
    height: 162px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.details-card-body {
    padding: 24px;
}

.details-card.details-detail-1 .details-card-body {
    padding: 0;
}

.details-card.details-detail-1 .detail-item.detail-item-2 {
    padding-left: 24px;
    padding-right: 24px;
}

.details-card.details-detail-1 .detail-item.detail-item-2 {
    padding-top: 10px;
    padding-bottom: 0;
    margin: 0;
}

.details-card.details-detail-1 .detail-item.detail-item-2 span {
    width: 90%;
    font-weight: 700;
}

.details-card.details-detail-1 .detail-item.detail-item-2 strong {
    width: 100%;
    font-weight: 400;
}

.details-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 32px;
    margin-bottom: 21px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    line-height: 24px;
    color: rgba(23, 26, 31, 0.9);
    margin-bottom: 9px;
}

.detail-item span {
    font-weight: 700;
}

.detail-item strong {
    font-weight: 400;
}

.btn-enroll {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    line-height: 28px;
    margin-top: 31px;
}

.ad-banner {
    margin-top: 21px;
}

.ad-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .course-layout {
        flex-direction: column;
    }

    .course-sidebar {
        width: 100%;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .course-title {
        font-size: 36px;
        line-height: 44px;
    }
}

@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }

    .course-title {
        font-size: 32px;
        line-height: 40px;
    }

    .course-description, .course-info-list li, .tab-content p {
        font-size: 16px;
    }
}

.tabs {
    display: flex;
}

.tab-button {
    border: none;
}

.tab-button.active {
    background: #eff9fa;
    color: #63C3D1 !important;
    border-color: #DEE1E6;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.article-content {
    flex: 1;
    min-width: 0;
}


.article-content .article-tags {
    display: flex;
    gap: 7px;
    margin-top: 30px;
}

.sidebar-widget.sponsor-widget img {

}

.article-content .article-tags .tag,
.article-content .article-tags .tag:hover,
.article-content .article-tags .tag:active,
.article-content .article-tags .tag:focus {
    padding: 4px 13px;
    background-color: rgba(224, 224, 224, 0.4);
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: var(--color-text-black);
    text-decoration: none;
}

.course-details-section .title {
    margin-top: 30px;
    font-size: 48px;
    font-weight: 800;
    line-height: 54px;
    color: var(--color-primary);
    text-align: left;
}

.article-content .article-title {
    margin-top: 30px;
    font-size: 48px;
    font-weight: 800;
    line-height: 54px;
    color: var(--color-primary);
    text-align: left;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.author-info.author-info--carousel {
    align-items: center;
}

.author-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #fff;
    padding: 0;
    border: 1px solid #d6d9de;
}

.author-avatar.author-avatar--logo {
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 8px;
    border: 1px solid #d6d9de;
}

.author-details {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-details.author-details--carousel {
    min-height: 72px;
    justify-content: center;
    gap: 8px;
}

.author-details .author-name {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    color: var(--color-text-black);
}

.author-details .author-bio {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-text-light);
}

.author-carousel__main {
    display: flex;
    align-items: center;
}

.author-carousel__viewport {
    width: 72px;
    height: 72px;
    overflow: hidden;
}

.author-carousel__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease;
}

.author-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-carousel__slide .author-avatar {
    width: 72px;
    height: 72px;
    margin: 0;
}

.author-carousel__slide .author-avatar:not(.author-avatar--logo) {
    object-fit: cover;
    padding: 0;
}

.author-carousel__name:focus,
.author-carousel__name:focus-visible {
    outline: none;
    box-shadow: none;
}

.author-carousel__names {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    min-height: 72px;
}

.author-carousel__name {
    padding: 0 0 4px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color-text-black);
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.author-carousel__name.is-active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.article-content .article-date {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-text-body);
}

#practical-pharmacy .content .carousel-slide-podcast.carousel-slide.media-card .tags {
    position: absolute;
    display: inline-grid;
    left: 16px;
    top: 16px;
    z-index: 1;
}

#practical-pharmacy .content .practical-pharmacy .carousel-slide-podcast.carousel-slide.media-card .tags {
    background-color: #63C3D1;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

#practical-pharmacy .content .course-code {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: #565D6D;
    text-transform: uppercase;
}

.art-cover {
    margin: 45px 0 0 0;
    padding: 0;
    display: block;
    position: relative;
}

.main-article-image,
.art-cover img {
    width: 100%;
    max-width: 716px;
}

.main-article-image {
    margin-top: 20px;
    border-radius: 10px;
    display: block;
}

.article-body {
    margin-top: 35px;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    width: 100%;
    max-width: 716px;
    overflow-wrap: anywhere;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    float: none !important;
}

.article-body figure.image img,
.article-body img[style*="margin-left: auto"],
.article-body img[style*="margin-right: auto"] {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.article-body figure,
.article-body .image {
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.main-body-container .article-divider {
    border-top: 1px solid #d5d5d5;
    margin: 0;
    padding: 0;
}

.author-details span {

    white-space: pre-wrap;
}

.social-share {
    display: flex;
    gap: 41px;
    padding-top: 12px;
}

.social-share .icons {
    position: relative;
    display: flex;
}

.social-share .icons a {
    display: block;
    width: 35px;
    height: 35px;
    margin-right: 8px;
}

.social-share .icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-widget {
    margin-bottom: 24px;
    border-radius: 10px;
}

.sidebar-widget img {
    width: 300px;
}

.sponsor-widget {
    margin-top: 170px;
}

.widget-title-small {
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 5px;
}

.ad-widget {
    margin-top: 20px;
}

.related-articles-widget {
    padding: 18px 16px;
    box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
}

.widget-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 32px;
    margin-bottom: 8px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 0 14px;
}

.related-item img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.related-item-text .related-item-tag {
    display: inline-block;
    border: 1px solid var(--color-border);
    border-radius: 11px;
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    margin-bottom: 4px;
    color: #171A1F;
}

.related-item-text {
    min-width: 0;
}

.related-item-text .related-news-tag-one-line {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-item-text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-block .related-item-text .related-item.related-item-link {
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #171A1F;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.card-title-related-article {
    padding: 24px;
}

.card-title-related-article .card-title-related-article-item {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
    color: var(--color-text-dark);
}

.related-courses-section.related-articles-section .favorite-btn img {
    width: 19px;
    height: 17px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.related-courses-section.related-articles-section .card-title {
    height: auto;
}

.btn-more {
    display: block;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800 !important;
    line-height: 22px;
    margin-top: 24px;
}

.sidebar-widget.related-articles-widget .btn-more,
.sidebar-widget.related-articles-widget .btn-more:hover {
    display: block;
    width: 100%;
    background-color: var(--color-primary) !important;
    color: var(--color-white);
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 22px;
    margin-top: 24px;
    font-weight: 600 !important;
    text-decoration: none;
}

.categories-widget {
    padding: 11px 14px;
}

.sidebar-widget.categories-widget .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-widget.categories-widget .category-tags .category-tag {
    border: 1px solid var(--color-border);
    border-radius: 13px;
    padding: 2px 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: #171A1F;
}

@media (max-width: 992px) {
    .main-body-container {
        flex-direction: column;
        gap: 40px;
    }

    .sidebar {
        width: 100%;
    }

    .sponsor-widget, .ad-widget {
        margin-top: 0;
    }

    .article-title {
        font-size: 36px;
        line-height: 44px;
    }

    .author-info, .article-date {
        margin-top: 40px;
    }

    .author-info.author-info--carousel {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .author-details.author-details--carousel {
        width: 100%;
        min-height: auto;
        justify-content: flex-start;
    }

    .author-carousel__name {
        font-size: 16px;
        line-height: 20px;
    }

    .article-divider {
        margin-top: 40px;
    }

    .breadcrumb-item-ellipsis {
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .breadcrumb-item-ellipsis span,
    .article-content .article-title,
    .article-body,
    .article-body p,
    .article-body li,
    .article-body h2,
    .article-body h3,
    .article-body h4,
    .article-body blockquote {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .article-body {
        overflow-x: hidden;
    }

    .article-body table:not(.fc-keep-table-mobile),
    .article-body table.fc-stack-mobile,
    .article-body table.fc-colunas-mobile {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-body iframe,
    .article-body video,
    .article-body embed,
    .article-body object {
        width: 100% !important;
        max-width: 100%;
    }
}

/* CSS for section section:RelatedCourses */
.related-courses-section {
    background-color: var(--color-background-light);
    padding: 46px 0 53px;
}

.related-courses-section .container {
    width: 100%;
    padding: 0 !important;
}

.related-courses-section .container {
    width: 100%;
    padding: 0 !important;
    gap: 128px;
    max-width: 1132px;
    margin: 0 auto;
}

.sidebar-widget.related-articles-widget .related-item-text p,
.sidebar-widget.related-articles-widget .related-item-text p:hover {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #171A1F;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 36px;
    color: var(--color-text-dark);
    margin-bottom: 44px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-item-block {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.related-item-block .related-item-photo {
    position: relative;
    display: block;
}

.related-item-block .related-item-text {
    position: relative;
    display: block;
}

.course-card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
    overflow: hidden;
}

.card-image-container {
    position: relative;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.favorite-btn,
.favorite-filter-btn,
.fav-btn,
.favorite-btn:focus,
.favorite-btn:focus-visible,
.favorite-btn:active,
.favorite-btn:hover,
.favorite-btn:visited,
.favorite-filter-btn:focus,
.favorite-filter-btn:focus-visible,
.favorite-filter-btn:active,
.favorite-filter-btn:hover,
.favorite-filter-btn:visited,
.fav-btn:focus,
.fav-btn:focus-visible,
.fav-btn:active,
.fav-btn:hover,
.fav-btn:visited {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.favorite-btn img,
.favorite-filter-btn img,
.fav-btn img,
.favorite-btn .img-favorite,
.favorite-filter-btn .img-favorite,
.fav-btn .img-favorite,
.favorite-btn img:focus,
.favorite-btn img:focus-visible,
.favorite-filter-btn img:focus,
.favorite-filter-btn img:focus-visible,
.fav-btn img:focus,
.fav-btn img:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.card-title {
    padding: 24px;
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
    color: var(--color-text-dark);
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
}

.main-body-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 128px;
    max-width: 1132px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs li:not(:last-child) a {
    color: var(--color-text-body);
    font-weight: 500;
}

.breadcrumbs li:last-child {
    color: var(--color-text-dark);
    font-weight: 500;
}

/* CSS for section section:list-page */
.list-page-section .list-page-section {
    padding-top: 20px;
    padding-bottom: 100px;
}

.list-page-section .container {
    width: 100%;
}

.list-page-section .container,
.list-page-section .list-page-layout,
.list-page-section .breadcrumbs {
    max-width: 1224px;
}

.list-page-section .list-page-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.list-page-section .filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 4px;
    box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
    padding: 24px;
}

.list-page-section .filters-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 31px;
}

.list-page-section .filters-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.list-page-section .filter-group {
    margin-bottom: 30px;
}

.list-page-section .filter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    margin-bottom: 28px;
}

.list-page-section .filter-label span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
}

.list-page-section .checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-page-section .checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #565D6D;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.list-page-section .checkbox-item span {
    color: #171A1F;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.list-page-section .checkbox-item input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.list-page-section .checkbox-item label {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-dark);
}

.list-page-section .list-page-content {
    flex-grow: 1;
}

.list-page-section .list-page-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    margin-bottom: 35px;
}

.list-page-controls.list-page-controls-sub-title {
    background-color: #eff9fa;
    font-size: 22px;
    font-weight: 800;
    line-height: 32px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    margin: 0 0 19px 0;
}

.list-page-section .list-page-controls h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.list-page-section .controls-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.list-page-section .search-form {
    position: relative;
    width: 303px;
}

.list-page-section .search-form input {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 0 45px 0 11px;
    font-size: 14px;
    color: var(--text-placeholder);
    font-family: var(--font-secondary);
    -webkit-appearance: none;
    -moz-box-sizing: revert !important;
    -webkit-box-sizing: revert !important;
    box-sizing: revert;
}

.list-page-section .search-form button {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-page-section .sort-btn {
    display: flex;
    align-items: center;
    gap: 17px;
    height: 40px;
    padding: 0 18px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.list-page-section .list-page-grid.list-page-grid-results {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px 24px;
    margin-bottom: 65px;
}

.list-page-section .list-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 24px;
    margin-bottom: 65px;
}

.list-page-section .list-item-card {
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 4px;
    box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.list-page-section .list-item-card .card-image-wrapper {
    text-align: center;
}

.list-page-section .card-image-wrapper {
    position: relative;
    height: 160px;
}

.list-page-section .card-img, .card-img-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

/* Default fallback logo should be fully visible inside list cards */
.list-page-section .card-image-wrapper img[src*="fc-preto-sem-fundo"] {
    object-fit: contain !important;
    background-color: #fff;
    padding: 12px;
}

.list-page-section .card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
}

.list-page-grid-results .list-item-card.card-item-archive .card-image-wrapper {
    text-align: center;
}

.list-page-grid-results .list-item-card.card-item-archive .card-img,
.list-page-grid-results .list-item-card.card-practical-pharmacy .card-img,
.list-page-grid-results .list-item-card.card-item-book .card-image-wrapper .card-img {
    height: 160px;
    width: auto;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    display: inherit;
}

.list-page-section .tags {
    position: absolute;
    top: 16px;
    left: 16px;
    text-align: left;
    width: 70%;
    display: inline-table;
}

.list-page-grid.list-page-grid-results .list-page-section .tags .tag {
    text-transform: uppercase;
}

.list-page-section .tag,
.list-page-section .tag:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3px 14px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    position: relative;
    display: ruby;
    text-transform: uppercase;
}

.list-page-section .favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-page-section .card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.list-page-section .card-content h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
    color: #000000;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.list-item-card.card-item-article a,
.list-page-section .card-content h3:hover {
    text-decoration: none;
}

.list-item-card.card-item-article .href-item-url .card-content .date {
    color: #565D6D;
    font-size: 14px;
    font-weight: 700;
}

.list-page-grid.list-page-books .card-content h3 {
    text-align: left;
}

.list-page-section .load-more-container {
    text-align: center;
}

.list-page-section .load-more-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    padding: 6px 28px;
    font-size: 18px;
    font-weight: 800;
    line-height: 28px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .list-page-section .list-page-layout {
        flex-direction: column;
    }

    .list-page-section .filters-sidebar {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .list-page-section .list-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .list-page-section .list-page-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .list-page-section .controls-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .list-page-section .search-form {
        width: 100%;
        overflow: hidden;
    }

    .list-page-section .list-page-grid {
        grid-template-columns: 1fr;
    }
}

.nav-item.hidden-mobile.nav-item-dropdown.nav-fp .ref-dropdown {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    padding: 20px 0;
    color: #000;
    margin: 0 16px 0 0;
    border-bottom: 2px solid transparent;
}

#archives .btn-secondary.year-selector {
    background-color: #fff;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #171A1F;
    border-color: #DEE1E6;
}

.news-list {
    scrollbar-color: #C8C8C8;
}

.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: var(--light);
}

.news-list::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 6px;
}

.featured-articles .article-card .tags {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 72%;
}

.news-section .courses-container {
    max-width: 549px;
}

#discovery-form {
    padding: 0;
    margin: 0;
    margin-bottom: 58px;
}

.news-section .button.postfix.discovery-submit {
    border-radius: 0 10px 10px 0 !important;
    text-transform: uppercase;
}

#podcasts .content-webkit,
#videos .content-webkit {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
}

#podcasts .content-webkit .play-btn-overlay,
#videos .content-webkit .play-btn-overlay {
    position: absolute;
    top: 10px;
}

#trustees .carousel-arrow.carousel-arrow--next.arrow-btn,
#trustees .carousel-arrow.carousel-arrow--prev.arrow-btn {
    bottom: 30px;
}

#podcasts .content-webkit .webkit-line-clamp-2,
#podcasts .content-webkit .webkit-line-clamp-3,
#videos .content-webkit .webkit-line-clamp-3 {
    padding: 0;
    width: 170px;
}

.carousel-item .href-sider .first-slide.slide-trat,
.carousel-item .href-sider .second-slide.slide-trat {
    width: inherit;
    position: relative;
}

.second-slide.slide-trat {
    object-fit: cover;
    /* object-position: center; */
    /* object-position: top; */
    object-position: 50% 20%;
}


.second-slide.slide-trat {
    object-fit: cover;
    /* object-position: center; */
    /* object-position: top; */
    object-position: 50% 20%;
}

.carousel-item,
.carousel-inner {
    height: 350px !important
}

#content #books {
    background-color: #EFF9FA;
}

#books .media-image-container {
    text-align: center;
    height: 200px;
}

.course-sidebar.book-sidebar .details-card-body {
    position: relative;
    text-align: center;
}

.course-sidebar.book-sidebar .details-card-body .book-img {
    text-align: center;
    position: relative;
    width: 100%;
}

.course-sidebar.book-sidebar .details-card-body .book-img img {
    height: 400px;
    width: auto;
    border: 0;
    margin-left: auto;
    margin-right: auto;
}

.book-basket-notice {
    max-width: 640px;
    margin-top: 12px;
    border-radius: 8px;
}

.book-basket-notice-toast {
    position: fixed;
    top: 96px;
    right: 20px;
    z-index: 21000;
    margin: 0;
    max-width: 420px;
    background-color: #63c3d1;
    color: #ffffff;
    border: 1px solid #4aaebb;
    box-shadow: 0 14px 34px rgba(18, 56, 90, 0.24);
    border-radius: 10px;
    font-weight: 700;
}

.book-basket-notice-toast a {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .book-basket-notice-toast {
        top: 84px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

.course-sidebar.book-sidebar .js-add-book-form {
    display: block;
    width: 100%;
}

.course-sidebar.book-sidebar .js-add-book-form .book-buy-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.course-sidebar.book-sidebar .js-add-book-form .book-qty-input {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    margin: 0;
}

.course-sidebar.book-sidebar .js-add-book-form .book-buy-row .btn {
    margin: 0;
    white-space: nowrap;
}

.book-format-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(16, 23, 36, 0.62);
    backdrop-filter: blur(2px);
    padding: 20px;
}

.book-format-modal.is-open {
    display: flex;
}

.book-format-modal__dialog {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
    border: 1px solid #e3eaef;
    padding: 22px 22px 18px;
    position: relative;
}

.book-format-modal__dialog h4 {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
}

.book-format-modal__dialog p {
    margin: 0 0 16px;
    color: #4e5b67;
    font-size: 15px;
    line-height: 1.45;
}

.book-format-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.book-format-modal__actions .btn {
    min-height: 44px;
    border-radius: 10px;
    font-weight: 700;
}

.book-format-modal__close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #f4f7fb;
    color: #202936;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

#books .media-image-container .img-book {
    width: auto;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}


.list-page-section.list-page-archives .card-image-wrapper {
    height: 351px;
    width: 100%;
    text-align: center;
}

.list-page-section.list-page-archives .card-image-wrapper img {
    width: 286px;
    height: 351px;
    object-fit: cover;
    border-radius: 0;
}

.list-page-section.list-page-archives .card-image-wrapper img[src*="fc-preto-sem-fundo"] {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 20px;
}

.list-page-section.list-page-archives .card-content h3 {
    padding: 0;
    margin: 0;
}

.list-page-section.list-page-practical-pharmacy .card-image-wrapper {
    text-align: center;
}

.list-page-grid.list-page-practical-pharmacy .card-image-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.list-page-grid.list-page-practical-pharmacy .card-img {
    width: auto;
    height: 160px;
}

.list-page-grid.list-page-grid-results .card-content h3 {
    margin: 0;
}

.list-page-grid.list-page-grid-results .list-item-card.card-practical-pharmacy .course-code {
    margin-bottom: 0;
    text-transform: uppercase;
}

.list-page-grid.list-page-grid-results .list-item-card.card-practical-pharmacy .course-author {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #4a4a4a;
}

#magazine-details .course-layout {
    align-items: flex-start;
}

#magazine-details .course-main-content {
    min-width: 0;
}

#magazine-details .course-main-content .description img,
#magazine-details .course-main-content .description figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
}

/* Mobile: stack TinyMCE tables vertically by default on practical-pharmacy details.
   Use class `fc-keep-table-mobile` on a table to keep original tabular layout. */
@media (max-width: 1024px) {
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile),
    #magazine-details .course-main-content .description table.fc-stack-mobile,
    #magazine-details .course-main-content .description table.fc-colunas-mobile {
        width: 100% !important;
        table-layout: auto !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) tbody,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) thead,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) tr,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) th,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) td,
    #magazine-details .course-main-content .description table.fc-stack-mobile tbody,
    #magazine-details .course-main-content .description table.fc-stack-mobile thead,
    #magazine-details .course-main-content .description table.fc-stack-mobile tr,
    #magazine-details .course-main-content .description table.fc-stack-mobile th,
    #magazine-details .course-main-content .description table.fc-stack-mobile td,
    #magazine-details .course-main-content .description table.fc-colunas-mobile tbody,
    #magazine-details .course-main-content .description table.fc-colunas-mobile thead,
    #magazine-details .course-main-content .description table.fc-colunas-mobile tr,
    #magazine-details .course-main-content .description table.fc-colunas-mobile th,
    #magazine-details .course-main-content .description table.fc-colunas-mobile td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) tr,
    #magazine-details .course-main-content .description table.fc-stack-mobile tr,
    #magazine-details .course-main-content .description table.fc-colunas-mobile tr {
        margin-bottom: 12px;
    }

    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) th,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) td,
    #magazine-details .course-main-content .description table.fc-stack-mobile th,
    #magazine-details .course-main-content .description table.fc-stack-mobile td,
    #magazine-details .course-main-content .description table.fc-colunas-mobile th,
    #magazine-details .course-main-content .description table.fc-colunas-mobile td {
        padding-left: 0 !important;
        padding-right: 0 !important;
        white-space: normal !important;
        word-break: break-word;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) th *,
    #magazine-details .course-main-content .description table:not(.fc-keep-table-mobile) td *,
    #magazine-details .course-main-content .description table.fc-stack-mobile th *,
    #magazine-details .course-main-content .description table.fc-stack-mobile td *,
    #magazine-details .course-main-content .description table.fc-colunas-mobile th *,
    #magazine-details .course-main-content .description table.fc-colunas-mobile td * {
        font-size: inherit !important;
        line-height: inherit !important;
    }
}

#magazine-details .practical-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

#magazine-details .practical-author-photo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

#magazine-details .practical-author-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.detail-item .btn-item-detail {
    display: inline-block;
    font-weight: 400 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    border-radius: .25rem;
    background-color: var(--primary-color);
    background-image: none;
    color: #fff !important;
    width: 100%;
    text-decoration: none !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
}

.course-details-section .course-sidebar .detail-item > form {
    width: 100%;
    margin: 0;
}

.course-details-section .course-sidebar .detail-item .main-cta {
    width: 100%;
    display: block;
}

.course-details-section .course-sidebar .detail-item .btn-item-detail {
    display: flex !important;
    width: 100% !important;
    min-height: 46px;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.course-details-section .course-sidebar .detail-item .main-cta > a.btn-item-detail,
.course-details-section .course-sidebar .detail-item .main-cta > button.btn-item-detail {
    width: 100% !important;
}

.course-details-section .course-sidebar .detail-item .btn-item-detail strong {
    width: auto;
    font-weight: 700;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;

}

.modal-open .modal.show .modal-dialog {
    margin-left: auto;
    margin-right: auto;
}

.modal-open .modal .modal-dialog {
    height: 100%;
}

.modal-open .modal #myModalLabel {
    width: 100%;
    text-align: center;
    font-weight: 800;
    font-size: 30px;
    line-height: 22px;
}

.modal-open .modal-body p {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    padding-bottom: 32px;
}

.modal-content {
    margin-top: 50%;
    padding: 47px;
    width: 680px;
    border-radius: 10px;
}

.modal-content .modal-header,
.modal-content .modal-footer {
    border: none;
}

.modal-open .modal-body {
    padding: 0;
}

.modal-content .close {
    position: absolute;
    top: 35px;
    right: 35px;
    border-color: #D8D8D880 !important;
    background-color: #D8D8D880;
    border-radius: 50%;
    width: 27px;
    height: 27px;
}

.modal-content .close span {
    font-size: 26px;
    position: absolute;
    top: 1px;
    left: 8px;
}

/* Remove any focus ring on the modal container itself (Bootstrap/Paragon tabindex focus). */
.modal[tabindex="-1"]:focus,
.modal[tabindex="-1"]:focus-visible,
#myModal:focus,
#myModal:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.modal[tabindex="-1"]:focus::before,
.modal[tabindex="-1"]:focus-visible::before,
#myModal:focus::before,
#myModal:focus-visible::before {
    content: none !important;
    border: 0 !important;
}

/* Remove pseudo focus ring generated by generic button rules inside modal. */
#myModal .btn:focus::before,
#myModal .btn:focus-visible::before,
#myModal .btn:active::before,
#myModal .btn:active:focus::before,
#myModal .btn:active:focus-visible::before,
.modal .modal-footer .btn:focus::before,
.modal .modal-footer .btn:focus-visible::before,
.modal .modal-footer .btn:active::before,
.modal .modal-footer .btn:active:focus::before,
.modal .modal-footer .btn:active:focus-visible::before {
    content: none !important;
    border: 0 !important;
}

/* Nuclear fallback: any focused element inside modal must never draw ring/overlay. */
#myModal *:focus,
#myModal *:focus-visible,
#myModal *:active,
#myModal *:active:focus,
#myModal *:active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

#myModal *:focus::before,
#myModal *:focus-visible::before,
#myModal *:active::before,
#myModal *:active:focus::before,
#myModal *:active:focus-visible::before,
#myModal *:focus::after,
#myModal *:focus-visible::after,
#myModal *:active::after,
#myModal *:active:focus::after,
#myModal *:active:focus-visible::after {
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.modal-footer .btn.btn-register {
    background-color: #fff;
    color: #63C3D1;
    border: 0 !important;
}

.href-modal {
    cursor: pointer;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 680px !important;
    }
}

.modal-content .modal-footer {
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
}


@media only screen and (min-width: 1024px) {
    .modal-open .modal .modal-dialog .modal-content {
        margin-top: 50%;
    }
}

@media only screen and (min-width: 768px) {
    .modal-open .modal .modal-dialog .modal-content {
        margin-top: 25%;
    }
}

#newsletter .newsletter-form {
    border-radius: 5px;
    border-color: #999999;
}

#newsletter .newsletter-form input {
    height: 40px;
    text-decoration: none;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}

#newsletter .newsletter-form .btn {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 800;
    margin-left: 9px;
    border-radius: 5px;
    min-width: 40px;
}

#newsletter .container.newsletter-container .newsletter-form-wrapper p {
    font-size: 18px;
    font-weight: 400;
}

#modal-btn-register,
#modal-btn-login {
    text-transform: uppercase;
}

.href-item-url {
    text-decoration: none !important;
}

#agenda h3,
#agenda h4,
#books h3,
#podcasts h3,
#videos h3,
#practical-pharmacy h3,
#featured-courses h3,
.featured-articles h3 {
    color: #000000;
}

#books .book-card .tags {
    position: absolute;
    left: 16px;
    top: 16px;
}

#news .href-new .img-new {
    position: relative;
    margin-top: 30px;
    width: 56px;
    height: 60px;
}

#books .book-card .tags .tag {
    position: relative;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3px 12px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Keep books cards visually aligned in homepage carousel. */
#books .section-carousel .carousel-container {
    align-items: stretch;
}

#books .carousel-slide.carousel-slide-book {
    aspect-ratio: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

#books .book-card {
    min-height: 390px;
}

#books .book-card .href-item-url {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#books .book-card h3 {
    min-height: 63px;
    margin-top: 0;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-page-controls.list-page-controls-results {
    margin-top: 39px;

    background-color: #eff9fa;
    padding-left: 14px;
    padding-top: 8px;
    margin-bottom: 39px;
    padding-bottom: 8px;
}

#df_manual_book {
    background-color: #fff !important;
    height: 650px !important;
}

.df-3dcanvas {
    width: 100% !important;
    height: 650px !important;
}

.container.container-archive-consult .course-layout {
    padding: 0;
    margin: 0;
}

.container.container-archive-consult .course-title {
    padding-top: 0;
    margin-bottom: 0;
}

#course-details.archive-detail-section {
    padding-bottom: 24px;
}

#course-details.archive-detail-section #df_manual_book {
    height: calc(100vh - 115px) !important;
    min-height: 820px;
    max-height: 1500px;
}

#course-details.archive-detail-section .df-3dcanvas {
    height: calc(100vh - 115px) !important;
    min-height: 820px;
    max-height: 1500px;
}

@media (max-width: 768px) {
    #course-details.archive-detail-section #df_manual_book,
    #course-details.archive-detail-section .df-3dcanvas {
        height: 72vh !important;
        min-height: 420px;
        max-height: 720px;
    }
}

.list-page-section .list-page-course .list-item-card.card-item-course {
    position: relative;
}

.favorite-filter-btn {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    background-color: transparent;
}

.favorite-filter-btn img {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
}

.list-page-section .filters-sidebar ul {
    cursor: pointer;
}

.plus, .minus {
    display: inline-block;
    background-repeat: no-repeat;
    width: 10px;
    height: 6px;
    cursor: pointer;
}

#bs_area_1 li {
    padding: 13px 0 2px 0;
}

#bs_main li {
    padding-top: 8px;
}

.tree_main {
    position: relative;
}

.tree_main .plus.minus,
.tree_main .plus {
    position: absolute;
    right: 0;
}

.plus {
    background-image: url("/static/farmacia-clinica/images/drop-filter-1.7458cabf05b5.png");
}

.minus {
    background-image: url("/static/farmacia-clinica/images/drop-filter-2.a47c83c94745.png");
}

ul {
    list-style: none;
    padding: 0 0 0 20px;
}

ul.inner_ul li:before {
    content: "├";
    font-size: 18px;
    margin-left: -11px;
    margin-top: -5px;
    vertical-align: middle;
    float: left;
    width: 8px;
    color: #41424e;
}

.list-page-section .filters-sidebar ul .li-children {
    padding-left: 18px;
}

.list-page-section.list-page-course .list-item-card.card-item-course .card-img {
    height: 160px;
}

ul.inner_ul li:last-child:before {
    content: "└";
}

.inner_ul {
    padding: 0px 0px 0px 35px;
}

.js-min3-search {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 0;
    align-items: center;
}

.js-min3-search input[type="search"] {
    width: 100%;
}

.js-min3-search .search-hint {
    grid-column: 1 / -1;
    display: none;
    margin-top: 6px;
    font-size: 12px;
}

.list-page-section .filters-sidebar ul li .sub_ul {
    padding-left: 20px;
}

.nav-links .nav-item.hidden-mobile.nav-item-dropdown #opts1-menu {
    max-width: 178px;
    padding: 0 !important;
}

.nav-item.hidden-mobile.nav-item-dropdown #user-menu .mobile-nav-item.dropdown-item.dropdown-nav-item a,
#opts2-menu .mobile-nav-item.dropdown-item.dropdown-nav-item a,
.nav-links .nav-item.hidden-mobile.nav-item-dropdown #opts1-menu .mobile-nav-item.dropdown-item.dropdown-nav-item {
    padding: 12px !important;
}

#opts2-menu .mobile-nav-item.dropdown-item.dropdown-nav-item {
    padding: 0 !important;
}

.site-header-desktop .nav-links .secondary .dropdown-user-menu .mobile-nav-item.dropdown-item.dropdown-nav-item:not(:last-child),
header.global-header .nav-links .secondary .dropdown-user-menu .mobile-nav-item.dropdown-item.dropdown-nav-item:not(:last-child),
.mobile-nav-item.dropdown-item.dropdown-nav-item:not(:last-child) {
    border-bottom: 1px solid #ccc !important;
}

header.global-header .nav-links .secondary .toggle-user-dropdown,
.nav-item.hidden-mobile.nav-item-dropdown .toggle-user-dropdown.open {
    padding: 5px 15px !important;
    border-radius: 10px;
    background-color: #63c3d1;
    color: #fff;
}

.site-header-desktop .nav-links .secondary .dropdown-user-menu,
header.global-header .nav-links .secondary .dropdown-user-menu {
    padding: 0 !important;
}

/* FC hard overrides: guest spacing + no blue focus ring around authn/header actions */
.site-header-desktop .nav-links .secondary .header-actions .nav-item-login-guest,
header.global-header .nav-links .secondary .header-actions .nav-item-login-guest {
    margin-left: 18px !important;
}

.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login,
.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login:focus,
.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login:focus-visible,
.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login:active,
.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login:active:focus,
.site-header-desktop .nav-links .secondary .header-actions .btn.btn-login:active:focus-visible,
header.global-header .nav-links .secondary .header-actions .btn.btn-login,
header.global-header .nav-links .secondary .header-actions .btn.btn-login:focus,
header.global-header .nav-links .secondary .header-actions .btn.btn-login:focus-visible,
header.global-header .nav-links .secondary .header-actions .btn.btn-login:active,
header.global-header .nav-links .secondary .header-actions .btn.btn-login:active:focus,
header.global-header .nav-links .secondary .header-actions .btn.btn-login:active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

#root .pgn__tabs.nav.nav-tabs .nav-link,
#root .pgn__tabs.nav.nav-tabs .nav-link:focus,
#root .pgn__tabs.nav.nav-tabs .nav-link:focus-visible,
#root .pgn__tabs.nav.nav-tabs .nav-link:active,
#root .pgn__tabs.nav.nav-tabs .nav-link:active:focus,
#root .pgn__tabs.nav.nav-tabs .nav-link:active:focus-visible,
#root .nav.nav-tabs .nav-link,
#root .nav.nav-tabs .nav-link:focus,
#root .nav.nav-tabs .nav-link:focus-visible,
#root .nav.nav-tabs .nav-link:active,
#root .nav.nav-tabs .nav-link:active:focus,
#root .nav.nav-tabs .nav-link:active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
}

#root .pgn__tabs.nav.nav-tabs .nav-link.active,
#root .pgn__tabs.nav.nav-tabs .nav-link.active:focus,
#root .pgn__tabs.nav.nav-tabs .nav-link.active:focus-visible,
#root .nav.nav-tabs .nav-link.active,
#root .nav.nav-tabs .nav-link.active:focus,
#root .nav.nav-tabs .nav-link.active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
}

/* Explicit ids to suppress any border ring on authn tabs/buttons from downstream CSS. */
#root [id="controlled-tab-tab-/register"],
#root [id="controlled-tab-tab-/register"]:focus,
#root [id="controlled-tab-tab-/register"]:focus-visible,
#root [id="controlled-tab-tab-/register"]:active,
#root [id="controlled-tab-tab-/register"]:active:focus,
#root [id="controlled-tab-tab-/register"]:active:focus-visible,
#root [id="controlled-tab-tab-/login"],
#root [id="controlled-tab-tab-/login"]:focus,
#root [id="controlled-tab-tab-/login"]:focus-visible,
#root [id="controlled-tab-tab-/login"]:active,
#root [id="controlled-tab-tab-/login"]:active:focus,
#root [id="controlled-tab-tab-/login"]:active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-color: transparent !important;
    border-width: 0 !important;
    border-bottom: 2px solid transparent !important;
    background-color: transparent !important;
}

#root [id="controlled-tab-tab-/register"]:focus::before,
#root [id="controlled-tab-tab-/register"]:focus-visible::before,
#root [id="controlled-tab-tab-/register"]:active::before,
#root [id="controlled-tab-tab-/register"]:active:focus::before,
#root [id="controlled-tab-tab-/register"]:active:focus-visible::before,
#root [id="controlled-tab-tab-/login"]:focus::before,
#root [id="controlled-tab-tab-/login"]:focus-visible::before,
#root [id="controlled-tab-tab-/login"]:active::before,
#root [id="controlled-tab-tab-/login"]:active:focus::before,
#root [id="controlled-tab-tab-/login"]:active:focus-visible::before {
    content: none !important;
    border: 0 !important;
}

#root [id="controlled-tab-tab-/register"].active,
#root [id="controlled-tab-tab-/register"].active:focus,
#root [id="controlled-tab-tab-/register"].active:focus-visible,
#root [id="controlled-tab-tab-/login"].active,
#root [id="controlled-tab-tab-/login"].active:focus,
#root [id="controlled-tab-tab-/login"].active:focus-visible {
    border: 0 !important;
    border-color: transparent !important;
    border-width: 0 !important;
    border-bottom: 2px solid #63c3d1 !important;
}

#root [id="controlled-tab-tab-/register"].active:focus::before,
#root [id="controlled-tab-tab-/register"].active:focus-visible::before,
#root [id="controlled-tab-tab-/login"].active:focus::before,
#root [id="controlled-tab-tab-/login"].active:focus-visible::before {
    content: none !important;
    border: 0 !important;
}

#modal-btn-register,
#modal-btn-register:focus,
#modal-btn-register:focus-visible,
#modal-btn-register:active,
#modal-btn-register:active:focus,
#modal-btn-register:active:focus-visible,
#modal-btn-login,
#modal-btn-login:focus,
#modal-btn-login:focus-visible,
#modal-btn-login:active,
#modal-btn-login:active:focus,
#modal-btn-login:active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-color: transparent !important;
    border-width: 0 !important;
}

#myModal #modal-btn-register,
#myModal #modal-btn-login {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

#modal-btn-register:focus::before,
#modal-btn-register:focus-visible::before,
#modal-btn-register:active::before,
#modal-btn-register:active:focus::before,
#modal-btn-register:active:focus-visible::before,
#modal-btn-login:focus::before,
#modal-btn-login:focus-visible::before,
#modal-btn-login:active::before,
#modal-btn-login:active:focus::before,
#modal-btn-login:active:focus-visible::before {
    content: none !important;
    border: 0 !important;
}

/* FC: mobile hardening for the public front office */
.list-page-section .list-form {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.list-page-section .filters-sidebar-shell {
    width: 280px;
    flex: 0 0 280px;
    min-width: 0;
}

.list-page-section .list-page-content,
.list-page-section .list-page-layout,
.main-body-container,
.course-layout {
    min-width: 0;
}

.list-page-section .filters-header {
    justify-content: space-between;
}

.list-page-section .filters-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-page-section .filters-mobile-toggle,
.list-page-section .filters-mobile-close,
.list-page-section .filter-group-toggle {
    border: 0;
    background: transparent;
    padding: 0;
}

.list-page-section .filters-mobile-toggle,
.list-page-section .filters-mobile-close {
    display: none;
}

.list-page-section .filters-mobile-close {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.list-page-section .filters-sidebar ul,
.list-page-section .filters-sidebar .main_ul,
.list-page-section .filters-sidebar .sub_ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-page-section .filters-sidebar li {
    padding: 0;
}

.list-page-section .fc-filter-group + .fc-filter-group {
    margin-top: 18px;
}

.list-page-section .fc-filter-group-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.list-page-section .fc-filter-checkbox,
.list-page-section .filters-sidebar .sub_ul label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.list-page-section .fc-filter-checkbox {
    flex: 1;
}

.list-page-section .filters-sidebar .sub_ul {
    padding-top: 10px;
    padding-left: 26px;
}

.list-page-section .filters-sidebar .sub_ul li + li {
    margin-top: 10px;
}

.list-page-section .filters-sidebar .sub_ul.is-collapsed {
    display: none;
}

.list-page-section .filters-sidebar input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 3px 0 0;
    border: 1px solid #565D6D;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    position: relative;
}

.list-page-section .filters-sidebar input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.list-page-section .filters-sidebar input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.list-page-section .filters-sidebar .name,
.list-page-section .filters-sidebar .sub_ul span {
    flex: 1;
    font-size: 14px;
    line-height: 22px;
    color: #171A1F;
}

.list-page-section .filter-group-toggle {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.list-page-section .filter-group-toggle:hover,
.list-page-section .filter-group-toggle:focus {
    background-color: rgba(99, 195, 209, 0.12);
}

.list-page-section .filter-group-toggle .plus,
.list-page-section .filter-group-toggle .plus.minus {
    position: static;
}

.list-page-section .controls-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    min-height: 40px;
}

.list-page-section .controls-right-actions .favorite-filter-btn {
    position: relative;
    right: auto;
    top: auto;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-page-section .controls-right-actions .favorite-filter-btn img {
    position: static;
}

.fc-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.fc-table-scroll > table {
    margin: 0;
    border-collapse: collapse;
}

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

.course-sidebar.book-sidebar .details-card-body .book-img img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .list-page-section .list-page-grid.list-page-grid-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    body.fc-mobile-filters-open {
        overflow: hidden;
    }

    .list-page-section .list-form {
        flex-direction: column;
        gap: 20px;
    }

    .list-page-section .filters-sidebar-shell {
        width: 100%;
        flex-basis: auto;
        position: relative;
    }

    .list-page-section .filters-mobile-toggle {
        width: 100%;
        min-height: 46px;
        padding: 11px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.05), 0px 0px 2px 0px rgba(23, 26, 31, 0.08);
    }

    .list-page-section .filters-mobile-toggle img {
        width: 18px;
        height: 18px;
    }

    .list-page-section .filters-mobile-toggle span {
        font-size: 14px;
        font-weight: 700;
        color: #171A1F;
    }

    .list-page-section .filters-sidebar-shell::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 149;
        opacity: 0;
        pointer-events: none;
        background: rgba(23, 26, 31, 0.42);
        transition: opacity 0.2s ease;
    }

    .list-page-section .filters-sidebar-shell.is-mobile-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .list-page-section .filters-sidebar {
        position: fixed;
        top: 0;
        left: auto;
        right: 0;
        bottom: 0;
        z-index: 150;
        width: 90vw;
        max-width: 90vw;
        height: 100vh;
        margin: 0;
        padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(32px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border-radius: 24px 0 0 24px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        box-shadow: -12px 0 32px rgba(23, 26, 31, 0.18);
    }

    .list-page-section .filters-sidebar-shell.is-mobile-open .filters-sidebar {
        transform: translateX(0);
    }

    .list-page-section .filters-mobile-close {
        display: inline-flex;
        align-items: center;
    }

    .list-page-section .list-page-grid.list-page-grid-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-bar-container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 16px;
    }

    .player-info {
        width: 100%;
        min-width: 0;
    }

    .player-bar-section .spotify,
    .player-bar-section .youtube,
    .player-bar-container .player-info p.player-title,
    .player-bar-container .player-info .player-subtitle {
        width: auto;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body.fc-mobile-filters-open {
        overflow: hidden;
    }

    .list-page-section .container {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .list-page-section .list-page-layout,
    .list-page-section .breadcrumbs,
    .list-page-section .list-page-content,
    .list-page-section .list-page-grid,
    .list-page-section .list-page-grid.list-page-grid-results,
    .list-page-section .opts-search-results,
    #global-search-content,
    #global-search-results {
        width: 100%;
        max-width: none;
    }

    .list-page-section .list-item-card,
    .list-page-section .list-item-card > .href-url,
    .list-page-section .list-item-card > .href-item-url {
        display: block;
        width: 100%;
    }

    .list-page-grid-results .list-item-card.card-item-archive .card-img,
    .list-page-grid-results .list-item-card.card-practical-pharmacy .card-img,
    .list-page-grid-results .list-item-card.card-item-book .card-image-wrapper .card-img {
        width: 100%;
    }

    #featured-courses .container,
    .related-courses-section .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #featured-courses .courses-grid.home-grid-1,
    #practical-pharmacy .courses-grid.home-grid-2,
    .featured-articles .articles-grid,
    .related-courses-section .courses-grid.detail-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(250px, 82vw);
        grid-template-columns: none !important;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    #featured-courses .courses-grid.home-grid-1::-webkit-scrollbar,
    #practical-pharmacy .courses-grid.home-grid-2::-webkit-scrollbar,
    .featured-articles .articles-grid::-webkit-scrollbar,
    .related-courses-section .courses-grid.detail-grid::-webkit-scrollbar {
        display: none;
    }

    #featured-courses .courses-grid.home-grid-1 > *,
    #practical-pharmacy .courses-grid.home-grid-2 > *,
    .featured-articles .articles-grid > *,
    .related-courses-section .courses-grid.detail-grid > * {
        min-width: 0;
        scroll-snap-align: start;
    }

    .section-carousel .carousel-arrow {
        display: none;
    }

    .section-carousel .carousel-container {
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 0 12px;
        scroll-snap-type: x proximity;
        scroll-behavior: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .section-carousel .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .section-carousel .carousel-slide,
    .section-carousel .carousel-slide-podcast.carousel-slide.media-card,
    .section-carousel .carousel-slide.carousel-slide-book.media-card.book-card,
    .section-carousel .carousel-slide.archive-item,
    .section-carousel .carousel-slide-curator.media-card,
    .section-carousel .media-card {
        flex: 0 0 clamp(240px, 78vw, 300px);
        width: clamp(240px, 78vw, 300px);
        scroll-snap-align: start;
    }

    .carousel-slide-curator.media-card {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .section-carousel .carousel-container .carousel-slide-curator.media-card img,
    .carousel-slide-curator.media-card img {
        width: 120px;
        height: 120px;
    }

    .course-layout,
    .main-body-container {
        gap: 32px;
    }

    .course-title,
    .course-details-section .title,
    .article-content .article-title {
        font-size: 32px;
        line-height: 38px;
    }

    .course-tags,
    .article-content .article-tags,
    .social-share {
        flex-wrap: wrap;
        gap: 12px;
    }

    .course-info-list li {
        align-items: flex-start;
    }

    .course-info-list li img {
        margin-top: 5px;
        flex: 0 0 auto;
    }

    .tab-nav {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .tab-content {
        padding: 24px 18px;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-item strong,
    .details-card.details-detail-1 .detail-item.detail-item-2 strong,
    .details-card.details-detail-1 .detail-item.detail-item-2 span {
        width: 100%;
    }

    .main-article-image iframe,
    .main-article-image video,
    .article-content iframe,
    .article-content video,
    .course-main-content iframe,
    .course-main-content video {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 16 / 9;
    }

    .article-content iframe[src*="spotify"],
    .course-main-content iframe[src*="spotify"] {
        aspect-ratio: auto;
        min-height: 352px;
    }

    .main-body-container {
        padding: 0 16px;
    }

    .breadcrumbs ol {
        align-items: flex-start;
    }

    .fc-table-scroll {
        margin: 24px 0;
        border: 1px solid #DEE1E6;
        border-radius: 12px;
        background-color: #fff;
    }

    .fc-table-scroll > table {
        width: max-content !important;
        min-width: 100%;
    }

    .fc-table-scroll th,
    .fc-table-scroll td {
        min-width: 140px;
        padding: 12px 14px;
        white-space: normal;
        word-break: break-word;
        vertical-align: top;
    }

    .fc-table-scroll td img,
    .fc-table-scroll th img {
        max-width: 100%;
        height: auto;
    }

    .newsletter-container {
        padding: 32px 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .list-page-section .list-page-controls {
        gap: 12px;
        margin-bottom: 24px;
    }

    .list-page-section .list-page-controls.list-page-filtrs {
        width: 100%;
    }

    .list-page-section .controls-right {
        gap: 12px;
    }

    .list-page-section .search-form {
        width: 100%;
    }

    .list-page-section .list-page-grid.list-page-grid-results,
    .list-page-section .list-page-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .list-page-section.list-page-archives .card-image-wrapper {
        height: auto;
    }

    .list-page-section.list-page-archives .card-image-wrapper img {
        width: 100%;
        max-width: 100%;
        height: 260px;
    }

    .modal-content {
        width: auto;
        margin-top: 20vh;
        padding: 32px 20px;
    }

    .modal-open .modal #myModalLabel {
        font-size: 24px;
        line-height: 30px;
    }
}

.news-grid > *,
.featured-articles {
    min-width: 0;
}

@media (max-width: 991px) {
    body.fc-mobile-menu-open {
        overflow: hidden;
    }

    body.fc-mobile-menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 120;
        background: rgba(23, 26, 31, 0.2);
        backdrop-filter: blur(6px);
    }

    header.global-header {
        position: relative;
        z-index: 130;
    }

    .global-header .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 78px;
        padding: 14px 16px;
    }

    .global-header .logo {
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100vw - 132px);
    }

    .global-header .logo-images {
        display: block;
        line-height: 0;
    }

    .global-header .logo-images img {
        display: block;
        width: auto;
        max-width: min(200px, 50vw);
        height: clamp(34px, 8vw, 48px);
    }

    .global-header .main-nav.main-header {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        width: auto !important;
        margin-left: auto;
        flex: 0 0 auto;
        height: auto;
        min-width: 0;
    }

    .global-header .main-nav.main-header .header-logo,
    .global-header .main-nav.main-header .nav-links .main,
    .global-header .main-nav.main-header .nav-links .secondary .header-actions {
        display: none !important;
    }

    .global-header .main-nav.main-header .nav-links,
    .global-header .main-nav.main-header .nav-links .secondary {
        display: flex !important;
        align-items: center;
        width: auto !important;
        min-width: 0;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .global-header .main-nav.main-header .nav-links {
        order: 1;
        justify-content: flex-end;
    }

    .global-header .main-nav.main-header .nav-links .secondary {
        gap: 12px;
        justify-content: flex-end !important;
        max-height: none;
    }

    .global-header .main-nav.main-header .nav-links .secondary > * {
        flex: 0 0 auto;
    }

    .global-header .main-nav.main-header .nav-links .secondary .nav-item-shopping-cart {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        order: 1;
        flex: 0 0 auto;
    }

    .global-header .main-nav.main-header .nav-links .secondary .nav-item-shopping-cart .shopping-cart,
    .global-header .main-nav.main-header .hamburger-menu {
        position: relative;
        left: auto;
        top: auto;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(99, 195, 209, 0.22);
        border-radius: 12px;
        background: #F2F8FA;
        box-shadow: 0 8px 18px rgba(23, 26, 31, 0.06);
    }

    .global-header .main-nav.main-header .nav-links .secondary .nav-item-shopping-cart .shopping-cart {
        color: #156d98;
    }

    .global-header .main-nav.main-header .hamburger-menu {
        order: 2;
        transform: none;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .global-header .main-nav.main-header .hamburger-menu.open {
        background: #F2F8FA;
        border-color: rgba(99, 195, 209, 0.35);
    }

    .global-header .main-nav.main-header .hamburger-menu:focus,
    .global-header .main-nav.main-header .hamburger-menu:focus-visible,
    .global-header .main-nav.main-header .nav-links .secondary .nav-item-shopping-cart .shopping-cart:focus,
    .global-header .main-nav.main-header .nav-links .secondary .nav-item-shopping-cart .shopping-cart:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 195, 209, 0.25);
    }

    .global-header .main-nav.main-header .hamburger-menu .line {
        width: 18px;
        left: 11px;
        right: auto;
        height: 2px;
        border-radius: 999px;
        background: #171A1F;
    }

    .global-header .main-nav.main-header .hamburger-menu .line:nth-child(1) {
        top: 13px;
    }

    .global-header .main-nav.main-header .hamburger-menu .line:nth-child(2),
    .global-header .main-nav.main-header .hamburger-menu .line:nth-child(3) {
        top: 20px;
    }

    .global-header .main-nav.main-header .hamburger-menu .line:nth-child(4) {
        top: 27px;
    }

    .global-header .main-nav.main-header .hamburger-menu.open .line:nth-child(1),
    .global-header .main-nav.main-header .hamburger-menu.open .line:nth-child(4) {
        top: 20px;
    }

    .global-header .mobile-menu {
        position: fixed;
        top: 86px;
        right: 12px;
        left: 12px;
        z-index: 140;
        width: auto;
        max-height: calc(100vh - 100px);
        margin: 0;
        padding: 16px;
        overflow-y: auto;
        border: 1px solid rgba(99, 195, 209, 0.12);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 60px rgba(23, 26, 31, 0.16);
        overscroll-behavior: contain;
    }

    .global-header .mobile-menu .mobile-menu-body {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .global-header .mobile-menu .mobile-menu-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .global-header .mobile-menu .mobile-menu-group + .mobile-menu-group {
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid rgba(222, 225, 230, 0.9);
    }

    .global-header .mobile-menu .mobile-menu-group-title {
        padding: 0 8px 2px;
    }

    .global-header .mobile-menu .mobile-menu-group-title a,
    .global-header .mobile-menu .mobile-menu-group-title span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }

    .global-header .mobile-menu .mobile-menu-group-title a::after,
    .global-header .mobile-menu .mobile-menu-group-title span::after {
        content: none !important;
    }

    .global-header .mobile-menu .mobile-nav-link {
        margin: 0;
        padding: 0;
    }

    .global-header .mobile-menu .mobile-nav-link a,
    .global-header .mobile-menu .mobile-nav-link .btn.btn-login {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 14px 16px;
        border: 1px solid #D6E6EB;
        border-radius: 18px;
        background: #F2F8FA;
        box-shadow: 0 8px 18px rgba(23, 26, 31, 0.04);
        color: #171A1F !important;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.3;
        text-decoration: none !important;
    }

    .global-header .mobile-menu .mobile-nav-link a::after,
    .global-header .mobile-menu .mobile-nav-link .btn.btn-login::after {
        content: "\203A";
        flex: 0 0 auto;
        font-size: 20px;
        line-height: 1;
        color: var(--primary-color);
    }

    .global-header .mobile-menu .mobile-nav-link--sub a {
        padding: 13px 16px 13px 18px;
        border-color: #D6E6EB;
        background: #F2F8FA;
        box-shadow: none;
        font-size: 15px;
        font-weight: 600;
    }

    .global-header .mobile-menu .mobile-nav-link--sub a::after {
        font-size: 18px;
    }

    .global-header .mobile-menu .mobile-nav-link--cta a,
    .global-header .mobile-menu .mobile-nav-link--cta .btn.btn-login {
        justify-content: center;
        border-color: #D6E6EB;
        background: #F2F8FA;
        box-shadow: 0 8px 18px rgba(23, 26, 31, 0.04);
        color: #171A1F !important;
    }

    .global-header .mobile-menu .mobile-nav-link--cta a::after,
    .global-header .mobile-menu .mobile-nav-link--cta .btn.btn-login::after {
        content: none;
    }

    .global-header .mobile-menu .mobile-nav-link--cta img {
        filter: none;
    }

    .global-header .mobile-menu .mobile-nav-link a:hover,
    .global-header .mobile-menu .mobile-nav-link a:focus,
    .global-header .mobile-menu .mobile-nav-link .btn.btn-login:hover,
    .global-header .mobile-menu .mobile-nav-link .btn.btn-login:focus {
        background: #EAF4F7;
        color: #171A1F !important;
    }

    .global-header .mobile-menu .mobile-nav-link--sub a:hover,
    .global-header .mobile-menu .mobile-nav-link--sub a:focus {
        background: #EAF4F7;
    }

    .global-header .mobile-menu .mobile-nav-link--cta a:hover,
    .global-header .mobile-menu .mobile-nav-link--cta a:focus,
    .global-header .mobile-menu .mobile-nav-link--cta .btn.btn-login:hover,
    .global-header .mobile-menu .mobile-nav-link--cta .btn.btn-login:focus {
        background: #EAF4F7;
        color: #171A1F !important;
    }

    .featured-articles {
        min-width: 0;
        overflow: hidden;
    }

    .featured-articles .articles-grid {
        display: flex !important;
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 2px 12px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .featured-articles .articles-grid::-webkit-scrollbar {
        display: none;
    }

    .featured-articles .articles-grid > * {
        flex: 0 0 min(82vw, 290px);
        min-width: 0;
        scroll-snap-align: start;
    }

    .featured-articles .article-card {
        height: 100%;
    }
}
