:root {
    --navy: #041E42;
    --red: #BF0D3E;
    --white: #FFFFFF;
    --light-navy: #14325f;
    --gray: #333333;
    --light-gray: #a09e9eff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
}

body {
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
}

ul {
    margin-left: 20px;
    padding-left: 0px;
    padding-top: 15px;
    padding-bottom: 25px;
}

header {
    background-color: var(--light-navy);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: var(--white);
    font-size: 1.5rem;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu > li {
    position: relative;
    margin-left: 20px;
}

.main-menu > li > a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    transition: color 0.3s;
}

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

.dropdown {
    position: absolute;
    top: 100%;
    right: -100px;
    background-color: var(--light-navy);
    width: 270px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    list-style: none;
    transition: all 0.3s;
    z-index: 100;
    text-align: center;
}

.main-menu li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s;
}

.dropdown li a:hover {
    background-color: var(--navy);
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--light-navy);
    width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.dropdown li:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-toggle {
    display: none;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .main-menu {
        margin-right: 100px;
    }
}

@media (max-width: 768px) {
  .main-menu > li {
        position: relative; 
        display: inline-flex; 
        align-items: center;
        gap: 5px; 
    }
}

@media (max-width: 768px) {
  .dropdown {
        position: absolute;
        top: 100%; 
        left: 0;    
        width: 270px; 
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        background-color: var(--light-navy);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 100;
    }
}

@media (max-width: 768px) {
  .main-menu > li > a {
        display: inline-block; 
        white-space: nowrap; 
    }
}

@media (max-width: 768px) {
  .main-menu li:hover > .dropdown,
    .main-menu li .dropdown.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
  .main-menu > li.dropdown-open {
        margin-bottom: 270px; 
    }
}

@media (max-width: 768px) {
  .dropdown-toggle {
        display: inline-block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.6rem;
        cursor: pointer;
        margin-left: 5px;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    color: var(--white);
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--red);
}

.section-header .section-title::after {
    left: 0;
    transform: none;
}

.view-all-btn {
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.view-all-btn:hover {
    background-color: #a00b33;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.categories-tags-section .view-all-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    background-color: transparent;
    border: 1px solid var(--red);
    box-shadow: none;
}

.lead {
    font-size: 18px;
    margin-bottom: 20px;
}

.featured-video {
    margin-bottom: 40px;
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.featured-video.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.two-columns .featured-video-container {
    margin-bottom: 0;
}

.video-clickable {
    cursor: pointer;
}

.video-clickable:hover img {
    opacity: 0.7;
}

.video-clickable:hover .play-icon-large {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.featured-video-info p {
    color: #ccc;
    margin-bottom: 15px;
}

.play-video-btn {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
}

.play-video-btn:hover {
    background-color: #a00b33;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.play-video-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.play-video-btn::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    margin-right: 10px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.video-grid.video-grid-1col {
    grid-template-columns: 1fr;
}

.video-grid.video-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
  .video-grid.video-grid-2col {
        grid-template-columns: 1fr;
    }
}

.video-card {
    background-color: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.video-clickable:hover img {
    opacity: 0.7;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(191, 13, 62, 0.8);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.video-clickable:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-info {
    padding: 15px;
}

.video-title-link {
    text-decoration: none;
    color: var(--white);
    display: block;
}

.video-title-link:hover h3 {
    color: var(--red);
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    transition: color 0.3s;
   
}

.video-info p {
    color: #ccc;
    font-size: 0.9rem;
}

.featured-video-info {
  padding: 20px;
    padding-top: 20px;
}

@media (max-width: 767px) {
  .video-info h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        transition: color 0.3s;
    }
}

@media (max-width: 767px) {
  .video-info p {
        color: #ccc;
        font-size: 1rem;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 80%;
    max-width: min(1200px, calc((100vh - 80px) * 1.778));
    position: relative;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.modal-video-container iframe,
.modal-video-container #modalVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: var(--light-navy);
    padding: 50px 0 20px;
    text-align: center;
    position: relative;
}

.memorial-section {
    margin-bottom: 40px;
}

.memorial-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.memorial-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.memorial-years {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 15px;
}

.memorial-quote {
    font-style: italic;
    font-size: 24px;
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

@media (max-width: 480px) {
  .memorial-quote br {
        display: none;
    }
}

.memorial-message {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.memorial-message-legacy {
    max-width: 800px;
    font-size: 24px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.footer-divider {
    width: 100px;
    height: 2px;
    background-color: var(--red);
    margin: 0 auto 30px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
  .main-menu {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background-color: var(--light-navy);
        width: 100%;
        min-width: 290px;
        max-width: 400px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 100;
    }
}

@media (max-width: 768px) {
  .main-menu.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
  .main-menu > li {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
  .main-menu ul {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
  .dropdown {
        text-align: left;
    }
}

@media (max-width: 768px) {
  .dropdown, .sub-dropdown {
        position: absolute;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }
}

@media (max-width: 768px) {
  .dropdown.active, .sub-dropdown.active {
        display: block;
    }
}

@media (max-width: 768px) {
  .dropdown li a, .sub-dropdown li a {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
  .sub-dropdown li a {
        padding-left: 45px;
    }
}

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

@media (max-width: 768px) {
  .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
  .view-all-btn {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
  .section-title::after {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
  .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
  .featured-video {
        margin-bottom: 20px;
        background-color: var(--light-navy);
        padding: 0px;
    }
}

@media (max-width: 768px) {
  .desktop-br {
        display: none;
    }
}

.featured-category-video {
    margin-bottom: 30px;
}

.featured-video-info .video-title-link {
    display: block;
    color: var(--white);
    text-decoration: none;
}

.featured-video-info .video-title-link:hover h3 {
    color: var(--red);
}

.featured-video-info .video-title-link:hover .fa-arrow-right {
    transform: translateX(5px);
}

.fa-arrow-right {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.featured-video-info h3 {
    transition: color 0.3s;
}

.section-header + .video-grid {
    margin-top: 20px;
}

.cka-slot {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cka-inner {
    position: relative;
    max-width: 100%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cka-info {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-bottom-left-radius: 4px;
}

.cka-label {
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cka-slot {
    display: block;
    width: 100%;
    margin: 20px 0;
    position: relative;
    text-align: center;
}

.cka-inner {
    display: inline-block;
    position: relative;
}

.cka-info {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
    padding: 2px 5px;
    font-size: 10px;
}

.cka-label {
    color: #fff;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}

.top-banner .cka-slot {
    margin: 0 0 20px 0;
}

.sidebar .cka-slot {
    margin-bottom: 30px;
}

.sidebar .cka-img {
    width: 300px;
    height: 250px;
}

@media (max-width: 768px) {
  .sidebar .cka-img {
        width: 100%;
        height: auto;
    }
}

.ad-placeholder {
    height: 120px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    color: #777;
}

.admin-edit-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding-right: 6px;
    transition: all 0.2s ease;
}

.admin-edit-link:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.7);
}

.admin-edit-link .video-duration {
    background: transparent;
    margin: 0;
    padding: 0 5px;
    position: static;
}

.admin-edit-link .edit-icon {
    margin-left: 3px;
    font-size: 0.8em;
    color: #4CAF50;
}

.admin-edit-link:hover .edit-icon {
    color: #fff;
}

.social-sharing {
    background-color: var(--light-navy);
    padding: 30px 0;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sharing-content {
    text-align: center;
}

.sharing-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white);
}

.sharing-content p {
    margin-bottom: 20px;
    color: var(--white);
}

.sharing-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.share-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    min-width: 120px;
    justify-content: center;
}

.share-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.facebook:hover {
    background-color: #2d4373;
}

.share-btn.x-twitter {
    background-color: #000000;
}

.share-btn.x-twitter:hover {
    background-color: #333333;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.whatsapp:hover {
    background-color: #128c7e;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.linkedin:hover {
    background-color: #005582;
}

.share-btn.telegram {
    background-color: #0088cc;
}

.share-btn.telegram:hover {
    background-color: #006699;
}

.share-btn.reddit {
    background-color: #ff4500;
}

.share-btn.reddit:hover {
    background-color: #cc3700;
}

.share-btn.email {
    background-color: #3498db;
}

.share-btn.email:hover {
    background-color: #2980b9;
}

.share-btn.pinterest {
    background-color: #bd081c;
}

.share-btn.pinterest:hover {
    background-color: #8c0615;
}

.share-btn.copy-link {
    background-color: #555;
}

.share-btn.copy-link:hover {
    background-color: #333;
}

@media (max-width: 768px) {
  .sharing-buttons {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
  .share-btn {
        min-width: 110px;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
  .sharing-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
  .share-btn {
        width: 95%;
        justify-content: center;
        margin-bottom: 5px;
    }
}

.copy-message.show {
    display: block;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

.book-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}

.book-card {

border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.book-thumbnail {
position: relative;
overflow: hidden;
border-radius: 8px 8px 0 0;
}

.book-thumbnail img {
width: 100%;
height: 600px;
object-fit: cover;
transition: transform 0.3s;
}

.book-card:hover .book-thumbnail img {
transform: scale(1.05);
}

.book-pages {
background: rgba(255,255,255,0.2);
padding: 2px 6px;
border-radius: 3px;
color: white;
}

.bestseller-badge {
background: #ab0000;
color: white;
padding: 2px 6px;
border-radius: 3px;
font-weight: 600;
font-size: 0.85rem;
}

.book-info {
padding: 1rem;
background: var(--white);
min-height: 270px;
}

.book-title {
font-size: 1.1rem;
margin-bottom: 0.4rem;
font-weight: 600;
color: var(--navy);
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

.book-title-link {
color: inherit;
text-decoration: none;
display: block;
}

.book-title-link:hover {
color: var(--red);
}

.author-name {
font-size: 0.85rem;
color: #666;
margin-bottom: 0.6rem;
font-style: italic;
}

.author-name .author-link {
color: var(--navy);
text-decoration: none;
font-style: normal;
font-weight: 600;
display: inline;
}

.author-name .author-link:hover {
color: var(--red);
}

.featured-book-info .author-name .author-link {
color: var(--white);
text-decoration: none;
font-style: normal;
font-weight: 600;
display: inline;
}

.book-description {
color: #555;
font-size: 0.875rem;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 1rem;
}

.amazon-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: #ff9900;
font-weight: 600;
text-decoration: none;
font-size: 0.95rem;
transition: color 0.3s;
}

.amazon-link:hover {
color: #cc7a00;
}

.amazon-link i {
font-size: 1.2rem;
}

@media (max-width: 768px) {
  .book-title {
        -webkit-line-clamp: unset;
        overflow: visible;
        display: block;
    }
}

.book-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 4rem;
}

.author-name .author-link {
color: var(--navy);
text-decoration: none;
font-style: normal;
font-weight: 600;
}

.author-name .author-link:hover {
color: var(--red);
}

.load-more-books-wrap {
    text-align: center;
    margin: -20px 0 30px;
}

.load-more-books-btn {
    background: transparent;
    border: 2px solid var(--white, #fff);
    color: var(--white, #fff);
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.load-more-books-btn:hover {
    background: var(--red, #BF0D3E);
    color: #fff;
    border: 2px solid var(--red, #BF0D3E);
}

.compact-book-thumbnail-2 {
  flex-shrink: 0;
  width: 250px;
  height: 375px; 
  overflow: hidden;
  border-radius: 4px;
}

.compact-book-thumbnail-3 {
  flex-shrink: 0;
  width: 120px;
  height: 180px; 
  overflow: hidden;
  border-radius: 4px;
}

.compact-book-thumbnail-4 {
  flex-shrink: 0;
  width: 80px;
  height: 120px; 
  overflow: hidden;
  border-radius: 4px;
}

@media (max-width: 998px) {
  .compact-book-thumbnail-2 img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        display: block;
    }
}

@media (max-width: 998px) {
  .compact-book-thumbnail-2 {
        width: 30%; 
        height: auto; 
        min-width: 30%;
        flex-shrink: 0;
    }
}

@media (max-width: 998px) {
  .compact-book-thumbnail-3 {
        flex-shrink: 0;
        width: 180px;
        height: 270px; 
        overflow: hidden;
        border-radius: 4px;
    }
}

@media (max-width: 768px) {
  .compact-book-thumbnail-2 img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        display: block;
    }
}

@media (max-width: 768px) {
  .compact-book-thumbnail-2 {
        width: 30%; 
        height: auto; 
        min-width: 30%;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
  .compact-book-thumbnail-3 {
        flex-shrink: 0;
        width: 180px;
        height: 270px; 
        overflow: hidden;
        border-radius: 4px;
    }
}

@media (max-width: 500px) {
  .compact-book-thumbnail-2 img {
        width: 120px;
        height: 180px;
        border-radius: 4px;
        display: block;
    }
}

@media (max-width: 500px) {
  .compact-book-thumbnail-2 {
        height: 180px;
        min-width: 30%;
        flex-shrink: 0;
        width: 120px;
    }
}

@media (max-width: 500px) {
  .compact-book-thumbnail-3 {
        flex-shrink: 0;
        width: 120px;
        height: 180px; 
        overflow: hidden;
        border-radius: 4px;
    }
}

.compact-book-title-2 {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3em * 4);
    word-break: break-word;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 6px 0;
    line-height: 1.5;
    margin-right: 30px;
}

.compact-book-title-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 3);
    word-break: break-word;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 6px 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
  .compact-book-title-2 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(2em * 3);
        word-break: break-word;
        font-size: 1rem;
        font-weight: 600;
        color: var(--navy);
        margin: 0 0 6px 0;
        line-height: 1.5;
        margin-right: 30px;
    }
}

@media (max-width: 768px) {
  .compact-book-title-3 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.2em * 4);
        word-break: break-word;
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
  .compact-book-title-3 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1em * 4);
        word-break: break-word;
        font-size: 1rem;
    }
}

.compact-book-title-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 4); 
    word-break: break-word;

    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.compact-book-link {
    font-size: 1rem;
    font-weight: 600;
    color: #ff9900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.compact-book-link:hover {
  color: #cc7a00;
}

.compact-book-link i {
  
  font-size: 1.3rem;
  margin-top: 3px;
}

.compact-book-link-2 {
  
  font-weight: 600;
  
  text-decoration: none;
  
  align-items: center;
  gap: 6px;
}

.compact-book-link-2 {
  display: inline-block;
  margin-top: 8px;
  color: #e47911; 
  font-size: 0.9em;
}

.compact-book-link-2:hover {
  color: #cc7a00;
}

.compact-book-link-2 i {
  font-size: 1.6em;
  margin-top: 3px;
}

.compact-book-link-3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ff9900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}

.compact-book-link-3:hover {
  color: #cc7a00;
}

.compact-book-link-3 i {
    font-size: 1.3rem;
    margin-top: 3px;
}

.compact-book-link-4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff9900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compact-book-link-4:hover {
  color: #cc7a00;
}

.compact-book-link-4 i {
  font-size: 1.1rem;
}

.columns-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.columns-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 998px) {
  .columns-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 998px) {
  .columns-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 759px) {
  .columns-2 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

@media (max-width: 759px) {
  .columns-4 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 16px;
}

@media (min-width: 768px) {
  .columns-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.charlie-kirk-book-list {
    counter-reset: book-counter;
    padding-left: 30px;
    margin-left: 0px;
    background-color: var(--navy);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
    list-style-type: none; 
}

.charlie-kirk-book-list li {
    counter-increment: book-counter;
    margin-bottom: 15px;
    position: relative;
    padding: 5px 20px;
}

.charlie-kirk-book-list li::before {
    content: counter(book-counter) ".";
    position: absolute;
    top: 4px;
    left: -35px;
    margin-right: 20px;
    color: var(--light-navy);
    font-weight: bold;
    font-size: 1.6em;
}

.charlie-kirk-book-list li p {
    margin: 5px 0;
}

.charlie-kirk-book-list li:nth-child(even) {
    background-color: var(--light-navy);
}

.compact-book-title-2 {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
  margin-right: 10px;
}

.compact-book-author-2 {
  font-size: 0.9em;
  margin: 4px 0;
  color: #666;
}

.home-intro {
  color: #f0f0f0;
  padding: 40px 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.home-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #BF0D3E;
  text-align: center;
  font-weight: 700;
}

.home-intro h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #204680;
  text-align: center;
  font-style: italic;
}

.home-intro p {
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.home-intro blockquote {
  font-size: 1.55rem;
  font-style: italic;
  color: #a3a3a3;
  border-left: 5px solid #BF0D3E;
  padding-left: 20px;
  margin-bottom: 30px;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .home-intro {
    padding: 30px 30px;
  }
}

@media (max-width: 768px) {
  .home-intro h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .home-intro h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .home-intro blockquote {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home-intro h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .home-intro h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home-intro p {
    font-size: 1.05rem;
  }
}

/* Prose links (About/Contact/Privacy/Terms/Advertise body copy) — themed
   instead of the browser's default blue/purple-when-visited, which looked
   inconsistent from link to link. */
.content-section a,
.intro-section a,
.contact-form p a,
.ad-showcase a,
.content-guidelines a,
.faq-section a,
.checkbox-group a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.25s ease;
}

.content-section a:hover,
.intro-section a:hover,
.contact-form p a:hover,
.ad-showcase a:hover,
.content-guidelines a:hover,
.faq-section a:hover,
.checkbox-group a:hover {
    color: var(--white);
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.inline {
    display: inline !important;
}

.inline-block {
    display: inline-block !important;
}

.flex {
    display: flex !important;
}

.no-decoration {
    text-decoration: none !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.m-0 {
    margin: 0 !important;
}

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

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

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

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

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

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

.p-0 {
    padding: 0 !important;
}

.w-100 {
    width: 100% !important;
}

.w-auto {
    width: auto !important;
}

.relative {
    position: relative !important;
}

.absolute {
    position: absolute !important;
}

.fixed {
    position: fixed !important;
}

.breadcrumb-container {
    background-color: var(--light-navy);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--light-gray);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb .active {
    color: var(--light-gray);
}

@media (max-width: 768px) {
  .modal-content {
        width: 95%;
    }
}

@media (max-width: 768px) {
  .close-modal {
        font-size: 1.5rem;
        top: -35px;
    }
}

#player-sentinel {
    height: 1px;
}

:root {
    --docked-video-width: min(33%, 360px);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon i {
    color: white;
    font-size: 1.5rem;
}

.video-thumbnail:hover .play-icon {
    opacity: 1;
}

.video-clickable {
    cursor: pointer;
}

.video-title-link {
    text-decoration: none;
    color: var(--white);
}

.video-title-link:hover h3 {
    color: var(--red);
}

.video-info h3 {
    color: var(--white);
    margin: 10px 0 5px;
    font-size: 1.1rem;
    padding-bottom: 4px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info p {
    color: var(--light-gray);
    font-size: 1rem;
    margin: 0;
    padding-top: 7px;
    border-top: 3px solid rgba(4, 30, 67, 0.2);
}

.video-info h3, .video-info p {
    text-decoration: none;
}

.video-card {
    margin-bottom: 20px;
}

div.video-description {
    padding: 30px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative; 
}

div.video-description.expanded {
    
}

div.video-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; 
    background: linear-gradient(to bottom, rgba(19, 28, 49, 0.01), var(--light-navy) 95%); 
    pointer-events: none; 
    opacity: 1;
    transition: opacity 0.3s ease;
}

div.video-description.expanded::after {
    opacity: 0;
}

div.video-description .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.6;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 30px;
    
}

.tag-label {
    font-weight: bold;
    color: var(--light-gray);
}

.tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: var(--red);
}

@media (max-width: 576px) {
  .tag-label {
        width: 100%;
        text-align: center;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 15px;
    background-color: var(--dark-navy);
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: var(--red);
}

.back-button i {
    margin-right: 8px;
}

.comments-section.visible {
    
}

.comments-section.visible {
    
}

.comment {
    display: flex;
    gap: 15px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

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

@media (max-width: 768px) {
  .video-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
  div.video-description {
        padding: 20px;
    }
}

@media (max-width: 768px) {
  .comment {
        flex-direction: column;
    }
}

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

@media (max-width: 576px) {
  .video-meta-categories,
    .video-tags {
        justify-content: center;
    }
}

.video-info a.video-link h3,
.video-info a.video-link p {
    text-decoration: none!important;
}

.video-info a.video-link:hover {
    text-decoration: none!important;
}

.video-info a.video-link:hover h3 {
    color: var(--red); 
}

.related-videos {
    margin-top: 40px;
    border-top: 1px solid #dddddd56;
    padding-top: 20px;
}

.video-end-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-end-screen.show {
    display: flex;
    opacity: 1;
}

.end-screen-content {
    max-width: 900px;
    width: 90%;
    padding: 30px;
    text-align: center;
}

.end-screen-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: bold;
}

.end-screen-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.end-screen-video-card {
    background: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.end-screen-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.end-screen-thumbnail {
    position: relative;
    padding-bottom: 56.25%; 
    overflow: hidden;
}

.end-screen-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.end-screen-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.end-screen-video-card:hover .end-screen-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.end-screen-play-icon i {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 3px; 
}

.end-screen-video-info {
    padding: 15px;
}

.end-screen-video-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.end-screen-video-info p {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin: 0;
}

.replay-video-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-weight: 600;
}

.replay-video-btn:hover {
    background: var(--dark-red);
    transform: scale(1.05);
}

.replay-video-btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
  .end-screen-videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
  .end-screen-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
  .end-screen-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
  .end-screen-video-info h4 {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
  .replay-video-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
  .end-screen-content {
        padding: 12px 14px;
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 600px) {
  .end-screen-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
  .end-screen-videos {
        grid-template-columns: 1fr;
        gap: 2px;
        margin-bottom: 35px;
    }
}

@media (max-width: 600px) {
  .end-screen-video-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        border-radius: 6px;
    }
}

@media (max-width: 600px) {
  .end-screen-thumbnail {
        width: 80px;
        height: 45px;
        flex-shrink: 0;
        padding-bottom: 0;
        margin-left: 10px;
    }
}

@media (max-width: 600px) {
  .end-screen-play-icon {
        display: none;
    }
}

@media (max-width: 600px) {
  .end-screen-video-info {
        padding: 2px 10px;
    }
}

@media (max-width: 600px) {
  .end-screen-video-info h4 {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 3px;
    }
}

@media (max-width: 600px) {
  .end-screen-video-info p {
        font-size: 0.72rem;
    }
}

@media (max-width: 600px) {
  .replay-video-btn {
        display: none;
    }
}

@media (max-width: 600px) {
  .autoplay-countdown-overlay {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
  .autoplay-countdown-overlay .countdown-text {
        font-size: 0.95rem;
    }
}

.autoplay-toggle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

@media (min-width: 769px) {
  .autoplay-toggle-row {
        display: none;
    }
}

.autoplay-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.autoplay-toggle-text {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.autoplay-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.autoplay-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.autoplay-slider {
    position: absolute;
    inset: 0;
    background: #555;
    border-radius: 26px;
    transition: background 0.25s ease;
}

.autoplay-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.autoplay-checkbox:checked + .autoplay-slider {
    background: var(--red);
}

.autoplay-checkbox:checked + .autoplay-slider::before {
    transform: translateX(22px);
}

.autoplay-checkbox:focus-visible + .autoplay-slider {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

#fsp-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9100;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1a1a2e;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 4px 18px rgba(0,0,0,.5);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

#fsp-trigger:hover,
#fsp-trigger.fsp-active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.07);
}

#fsp-panel {
    position: fixed;
    bottom: 80px;
    left: 24px;
    z-index: 9099;
    width: 260px;
    background: #12122a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    overflow: hidden;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#fsp-panel::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 16px;
    border: 8px solid transparent;
    border-top-color: #12122a;
    border-bottom: none;
}

#fsp-panel.fsp-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.fsp-header {
    padding: 11px 16px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fsp-row:last-child { border-bottom: none; }

.fsp-row-label {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.autoplay-countdown-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    pointer-events: none;
    z-index: 10;
}

.autoplay-countdown-overlay .countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.autoplay-countdown-ring {
    transform: rotate(-90deg);
    transform-origin: center;
}

.autoplay-countdown-ring circle.progress {
    fill: none;
    stroke: var(--red);
    stroke-width: 4;
    stroke-linecap: round;
}

.end-screen-video-card.autoplay-active {
    box-shadow: 0 0 0 3px var(--red);
    transform: translateY(-3px);
}

.videos-header {
    position: relative;
    margin-top: 15px;
    margin-bottom: 2rem;
    text-align: center;

}

.page-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.videos-description {
    max-width: 950px;
    margin: 0 auto 1.5rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.videos-header .read-more-btn {
    display: inline-block;
    margin: 10px auto 20px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.videos-header .read-more-btn:hover {
    background-color: #a00b33;
}

@media screen and (max-width: 768px) {
  .videos-header .read-more-btn {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .videos-header .read-more-btn::before {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  .videos-header .read-more-btn {
    font-size: 0;
  }

  /* Admin-typed manual <br> in an SEO title (safe_seo_title_html()) is a deliberate
     line break for desktop's wider layout — on narrow mobile it just adds an extra
     forced wrap on top of natural wrapping, so drop it here and let the title reflow. */
  .page-title br {
    display: none;
  }
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--light-navy);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-box {
    flex: 1;
    max-width: 500px;
    margin-right: 1rem;
}

.search-box form {
    display: flex;
}

.search-box input[type="text"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-box .search-btn {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-box .search-btn:hover {
    background-color: #0d62cb;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn {
    background-color: #fff;
    color: #444;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 130px;
}

.filter-btn:hover {
    border-color: #aaa;
}

.filter-btn.active {
    background-color: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.filter-btn.active:hover {
    opacity: 0.9;
    border-color: var(--navy);
}

.filter-btn i {
    font-size: 0.9rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    min-width: 250px;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
}

.dropdown-content a.active {
    background-color: #e8f0fe;
    color: var(--navy);
    font-weight: 500;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-card {
    background-color: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.play-icon i {
    color: white;
    font-size: 1.25rem;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-info {
    padding: 1rem;
}

.video-info p {
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 500px) {
  .video-info p {
        display: -webkit-box;
        -webkit-line-clamp: 5; 
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 4px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-videos {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--light-navy);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.no-videos i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.no-videos h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.no-videos p {
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-videos .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.no-videos .btn:hover {
    background-color: #0d62cb;
}

.error-message {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.error-message h2 {
    color: #d32f2f;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.error-message p {
    color: #555;
    margin-bottom: 0;
}

.pagination {
    margin: 2rem 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
    transition: all 0.2s;
}

.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.pagination a.active {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.pagination .pagination-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination .ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    color: #777;
}

@media (max-width: 768px) {
  .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
  .search-box {
        max-width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
  .filter-controls {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
  .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
  .page-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
  .page-title {
        font-size: 1.25rem;
    }
}

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

@media (max-width: 576px) {
  .filter-controls {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 576px) {
  .filter-dropdown {
        width: 100%;
    }
}

@media (max-width: 576px) {
  .filter-btn {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
  .dropdown-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
  .pagination a {
        padding: 0.4rem 0.8rem;
        min-width: 36px;
    }
}

.no-results-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.btn.primary-btn {
    background-color: #1a73e8;
    color: white;
    border: 1px solid #1a73e8;
}

.btn.primary-btn:hover {
    background-color: #0d62cb;
}

.btn.secondary-btn {
    background-color: #fff;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn.secondary-btn:hover {
    background-color: #e8f0fe;
}

@media (min-width: 576px) {
  .no-results-options {
        flex-direction: row;
        justify-content: center;
    }
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 80px; 
    margin-bottom: 20px; 
}

.videos-container {
    position: relative;
    min-height: 300px;
}

.loading-spinner i {
    font-size: 40px;
    color: #333;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.featured-video {
    margin-bottom: 30px;
    background: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.featured-video-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-video-info h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 3);
    word-break: break-word;
    line-height: 1.4;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.featured-video-info p.lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--light-gray);
}

.play-video-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-video-btn:hover {
    background: var(--red);
}

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

@media (max-width: 768px) {
  .featured-video-info h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
  .modal-content {
        width: 95%;
    }
}

.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-clickable {
    cursor: pointer;
}

.video-title-link {
    text-decoration: none;
    color: inherit;
}

.video-title-link:hover h3 {
    color: #e74c3c;
}

@media (max-width: 767px) {
  .featured-video {
        background-color: var(--light-navy, #f8f8f8);
        border-radius: 8px;
        overflow: hidden;
        padding: 0px;
    }
}

@media (max-width: 767px) {
  .video-card, .featured-video-info {
        background-color: var(--light-navy, #f8f8f8);
        color: var(--dark-text, #333);
    }
}

@media (max-width: 767px) {
  .video-title-link {
        text-decoration: none !important;
        color: var(--dark-text, #333) !important;
    }
}

@media (max-width: 767px) {
  .video-title-link:hover, 
    .video-title-link:visited,
    .video-title-link:active {
        text-decoration: none !important;
        color: var(--dark-text, #333) !important;
    }
}

@media (max-width: 767px) {
  .featured-video-info {
        padding-top: 0px;
        margin-top: -12px;
    }
}

@media (max-width: 767px) {
  .featured-video .featured-video-info h3 {
        color: var(--white);
        font-size: 1.5em;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
  .featured-video .featured-video-info p.lead {
        color: var(--white);
        font-size: 1em;
    }
}

@media (max-width: 767px) {
  .video-info h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        padding: 0;
    }
}

@media (max-width: 767px) {
  .video-info p {
        font-size: 1.1rem;
    }
}

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

@media (max-width: 767px) {
  .loading-spinner {
        height: 80px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
  .hidden-sm {
        display: none;
    }
}

@media (max-width: 767px) {
  .featured-video {
        background-color: var(--light-navy, #f8f8f8);
        border-radius: 8px;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
  .featured-video .featured-video-info h3 {
        color: var(--white);
        font-size: 1.2em;
        margin-bottom: 10px;
    }
}

.videos-container {
    position: relative;
    min-height: 300px;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 100px; 
    margin: 20px 0;
}

.loading-spinner i {
    font-size: 40px;
    color: var(--white);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-video-container {
    position: relative;
    width: 100%;
    padding-top: 15%; 
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.video-clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-clickable:hover::after {
    opacity: 1;
}

.category-tag-grid,
.info-card {
    height: 100%;
    background-color: var(--light-navy);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.info-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.info-card i {
    color: var(--white);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.info-card-description {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.info-card .btn {
    margin-top: auto;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-weight: bold;
}

.info-card .btn:hover {
    background-color: #c0392b;
}

.badge-exact { background: #16a34a; }

.badge-strong { background: #2563eb; }

.badge-related { background: #d97706; }

.badge-partial { background: #6b7280; }

.related-videos {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-navy);
}

.section-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--red);
    margin: 0.5rem auto 5px;
}

@media (max-width: 767px) {
  .video-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 767px) {
  .featured-video {
        background-color: var(--light-navy);
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
  .loading-spinner {
        height: 80px;
    }
}

@media (max-width: 767px) {
  .video-title, .video-description {
        color: var(--white) !important;
    }
}

@media (max-width: 767px) {
  .video-title-link h3, .video-title-link p {
        color: var(--white) !important;
    }
}

.end-of-content .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.end-of-content .btn:hover {
    background-color: #c0392b;
}

.book-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-name {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 0.75rem;
}

.book-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.amazon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff9900;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.amazon-link:hover {
    color: #cc7a00;
}

.amazon-link i {
    font-size: 1.3rem;
}

:root {
  
  
  --democrat-blue: #0044c9;
  --republican-red: #d81f29;

  --off-white: rgb(231, 231, 231);

  

    --far-left: #0044c9;          
    --far-left-mobile: #003399;   

    --left: #1a58d0;              
    --left-mobile: #0040b0;       

    --progressive: #346cd7;       
    --progressive-mobile: #0052c2; 

    --center-left: #4e80de;       
    --center-left-mobile: #2b5bc2; 

    --center: #f8f7f7;            
    --center-mobile: #e0e0e0;     

    --center-right: #e04c54;      
    --center-right-mobile: #b82028; 

    --conservative: #de353e;      
    --conservative-mobile: #b01c24; 

    --right: #da2831;             
    --right-mobile: #a8141c;      

    --far-right: #d81f29;         
    --far-right-mobile: #a10f18;  
}

.blockquote {
    margin: 30px 0;
    padding: 20px 40px 20px 20px;
    background: #f7f7f7;
    border-left: 5px solid var(--republican-red);
    font-style: italic;
    font-size: 1.8em;
    color: var(--gray);
}

.qa-container {
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.qa-question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.qa-answer {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    margin-left: 30px; 
}

.qa-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.qa-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-grow: 1;
}

.qa-content ul {
    margin-bottom: 15px;
    margin-left: 25px;
}

.qa-question .qa-content {
    background-color: var(--white);
    color: var(--gray);
    border-left: 4px solid var(--democrat-blue);
}

.qa-answer .qa-content {
    background-color: var(--white);
    color: var(--gray);
    border-left: 4px solid var(--republican-red);
}

.political-article {
    width: 100%;
    margin: 0 auto;
    font-family: Georgia, serif;
    line-height: 1.6;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd3a;
}

.article-title {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.article-subtitle {
    color: #b9b9b9;
    font-size: 18px;
    font-style: italic;
}

.article-section {
    margin-bottom: 25px;
}

@media only screen and (max-width: 760px) {
  .qa-question, .qa-answer {
    flex-direction: column;
    }
}

@media only screen and (max-width: 760px) {
  .qa-avatar {
    margin-bottom: 10px;
    }
}

@media only screen and (max-width: 760px) {
  .qa-answer {
    margin-left: 0;
    }
}

.position-tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

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

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

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

.section {
    margin-bottom: 25px;
}

@media only screen and (max-width: 760px) {
  .blockquote {
    margin: 30px 0;
    padding: 20px 30px 20px 20px;
    background: #f7f7f7;
    border-left: 5px solid var(--republican-red);
    font-style: italic;
    font-size: 1.6em;
    color: var(--gray);
    }
}

.books-header {
    margin-top: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(–white);
}

.books-description {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(–light-gray);
    line-height: 1.6;
}

.books-header .read-more-btn {
    display: inline-block;
    margin: 10px auto 20px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.books-header .read-more-btn:hover {
    background-color: #a00b33;
}

@media screen and (max-width: 768px) {
  .books-header .read-more-btn {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .books-header .read-more-btn::before {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
  }

  .books-header .read-more-btn {
    font-size: 0;
    margin-bottom: 20px;
  }
}

.search-box .search-btn {
    background-color: var(--navy);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-box .search-btn:hover {
    background-color: var(--navy);
}

.filter-btn {
    background-color: #fff;
    color: #444;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: #aaa;
}

.filter-btn i {
    font-size: 0.9rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 320px;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.book-card {
    
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.book-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-name, 
.author-name a {
    font-size: 0.95rem;
    color: var(--light-gray);
    
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.book-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.book-title-link {
    text-decoration: none;
    color: inherit;
}

.book-title-link:hover h3 {
    color: var(--red);
}

.books-container {
    position: relative;
    min-height: 300px;
}

.no-books {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--light-navy);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.no-books i {
    font-size: 3rem;
    color: var(–white);
    margin-bottom: 1rem;
}

.no-books h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(–white);
}

.no-books p {
    color: var(–white);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-books .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.no-books .btn:hover {
    background-color: #0d62cb;
}

@media (max-width: 768px) {
  .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
  .page-title {
        font-size: 2rem;
    }
}

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

.loading-spinner i {
    font-size: 40px;
    color: #fff;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.featured-book-info p.lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--light-gray);
}

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

@media (max-width: 450px) {
  .book-thumbnail img {
        height: 500px;
    }
}

.breadcrumb .active {
    color: var(--light-gray);
}

.product-detail-header .book-title-single {
    margin-bottom: 8px;
}

.product-detail-header .book-author {
    margin-bottom: 0;
}

.bestseller-badge.large {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.book-title-single {
    font-size: 2.3rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #333;
}

.book-details {
    position: absolute;
  bottom: 10px;
  left: 0px;
  color: var(--gray);
  font-size: 0.9rem;
  background: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  gap: 10px;
  align-items: center;
    
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.book-button {
    margin-top: auto;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    line-height: 1.7em;
    margin-top: 0px;
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.book-button i {
    margin-right: 8px;
}

.amazon-button {
    background: #ff9900;
}

.amazon-button:hover {
    background: #e68a00;
}

.share-button {
    background-color: var(--light-navy);
    min-width: 192px;
    font-size: inherit;
    font-weight: 500;
}

.share-button:hover {
    background-color: var(--navy);
}

.author-other-books {
    margin-top: 0px;
    padding-top: 0px;
    border-top: 0px solid #ddd;
}

.author-other-books h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 10px;
}

.author-other-books-grid {
    display: flex;
    gap: 10px;
    align-items: left;
    justify-content: left;
}

.other-book-thumb {
    position: relative;
    flex: 0 0 calc(25% - 8px);
    display: block;
    border-radius: 4px;
}

.other-book-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    transition: opacity 0.2s;
}

.product-thumbs-grid .other-book-thumb {
    aspect-ratio: 1 / 1;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumbs-grid .other-book-thumb img {
    height: 100%;
    object-fit: contain;
}

.other-book-thumb:hover img {
    opacity: 0.8;
}

.other-book-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.35;
    padding: 6px 8px;
    border-radius: 4px;
    width: 120px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 20;
}

.other-book-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.85);
}

.other-book-thumb:hover .other-book-tooltip {
    opacity: 1;
}

.product-inline-sharing .share-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    min-width: unset;
    border-radius: 20px;
}

.product-inline-sharing .share-btn i {
    font-size: 0.85rem;
    margin-right: 5px;
}

.ad-placeholder {
    background-color: var(--light-navy);
    border-radius: 8px;
    flex-grow: 1;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.share-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.share-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #333;
    text-align: center;
}

.sharing-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.back-to-books {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f5f5;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: #e0e0e0;
}

.copy-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ad-placeholder {
    background-color: var(--light-navy);
    border-radius: 8px;
    min-height: 300px; 
    flex-grow: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.book-short-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    font-weight: normal;
}

.product-sidebar .cka-slot .cka-img {
    
    margin-top: 35px;
    border-radius: 10px;

width: 100%;
height: 515px;
object-fit: cover;
transition: transform 0.3s;
}

.product-sidebar:hover .cka-slot img.cka-img {
transform: scale(1.05);
}

@media screen and (max-width: 1024px) {
  .ad-placeholder {
        min-height: 480px;
        background-color: transparent;
    }
}

@media screen and (max-width: 480px) {
  .action-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
  .book-title-single {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
  .sharing-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 480px) {
  .ad-placeholder {
        min-height: 480px;
    }
}

.error-container {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--navy);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--red);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.error-message {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.error-description {
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestion {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.search-box {
    
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.action-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-weight: bold;
}

.action-button:hover {
    background-color: #c0392b;
}

.action-button.secondary {
    background-color: var(--light-navy);
}

.action-button.secondary:hover {
    background-color: var(--navy);
}

.debug-info {
    background: #222;
    padding: 15px;
    border-radius: 5px;
    color: #ddd;
    margin-top: 20px;
    font-family: monospace;
    display: none;
}

.close-modal:hover {
    
    background: var(--light-navy);
}

@media (max-width: 767px) {
  .error-code {
        font-size: 5rem;
    }
}

@media (max-width: 767px) {
  .error-message {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
  .action-buttons {
        flex-direction: column;
    }
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    background: var(--light-navy);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 8px;
    width: auto;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.faq-section {
    margin: 40px 0;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee3f;
    padding-bottom: 20px;
}

.faq-item h4 {
    color: #fff;
    margin-bottom: 10px;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.submission-step.active {
    border-left: 4px solid #1a73e8;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--light-navy);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--red);
    outline: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e53935;
    background-color: #fff8f8;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    height: 1.1rem;
    margin-top: 0.2rem;
    margin-right: 0.75rem;
    padding: 0;
    background: none;
    border: none;
    accent-color: var(--red);
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group.error {
    color: #e53935;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn:hover {
    background-color: #0d62cb;
}

.btn.secondary-btn {
    background-color: #f1f3f4;
    color: #444;
    margin-right: 0.75rem;
}

.btn.secondary-btn:hover {
    background-color: #e3e6e8;
}

.btn.primary-btn {
    background-color: #1a73e8;
    color: white;
    font-weight: 500;
}

div.video-description-single.expanded {
    
}

div.video-description-single.expanded::after {
    opacity: 0;
}

div.video-description-single .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.6;
}

.video-meta-single .lead {
    padding-right: 30px;
}

@media (max-width: 768px) {
  .video-meta-single .lead,
    .video-title-single {
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
  .video-meta-single .lead,
    .video-title-single {
        padding-right: 0px;
    }
}

.select2-container--default .select2-selection--multiple {
    border-color: #ddd;
    padding: 0.25rem;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #1a73e8;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e8f0fe;
    border-color: #c6dafc;
    color: #1a73e8;
    padding: 0.25rem 0.5rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1a73e8;
}

.success-message,
.error-message {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.error-message {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
}

.success-message i,
.error-message i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.error-message i {
    color: #e53935;
}

.success-message h2,
.error-message h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.error-message h2 {
    color: #c62828;
}

.success-message p,
.error-message p {
    margin-bottom: 1.5rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
  .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
  .btn.secondary-btn {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
  button[type="submit"] {
        width: 100%;
    }
}

#video-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

#video-error .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f1f3f4;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

#video-error .btn:hover {
    background-color: #e3e6e8;
    border-color: #bbb;
}

#video-error .btn.secondary-btn {
    background-color: #e8f0fe;
    color: #1a73e8;
    border-color: #c6dafc;
}

#video-error .btn.secondary-btn:hover {
    background-color: #d2e3fc;
}

.search-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.tag-item.selected {
    background-color: #007bff;
    color: white;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 80px; 
    margin-bottom: 20px;
}

.breadcrumb .active {
    color: var(--light-gray);
}

.book-detail-header-action {
    flex-shrink: 0;
}

.book-detail-header .book-title-single {
    margin-bottom: 8px;
}

.book-detail-image .amazon-button {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.book-title {
    
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #333;
}

.book-inline-sharing .share-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    min-width: unset;
    border-radius: 20px;
}

.book-inline-sharing .share-btn i {
    font-size: 0.85rem;
    margin-right: 5px;
}

.book-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    -webkit-line-clamp: none;
}

.book-description p {
    margin-bottom: 20px;
}

.book-sidebar .cka-slot .cka-img { 
    
    margin-top: 35px;
    border-radius: 10px;

width: 100%;
height: 515px;
object-fit: cover;
transition: transform 0.3s;
}

.book-sidebar:hover .cka-slot img.cka-img {
transform: scale(1.05);
}

@media screen and (max-width: 1024px) {
  .ad-placeholder {
        min-height: 480px;
        background-color: transparent;
    }
}

@media screen and (max-width: 768px) {
  .book-detail-header-action {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
  .book-detail-header-action .amazon-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
  .action-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
  .book-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
  .book-details {
        grid-template-columns: 1fr;
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
  .page-title {
        font-size: 2rem;
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--light-navy);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.video-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    
    padding-top: 1rem;
}

.video-description p {
    margin-bottom: 0.75rem;
}

.video-description p:last-child {
    margin-bottom: 0;
}

.channel-banner-wrap {
    width: 100%;
    max-width: 1175px;
    margin: 14px auto 8px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a2e;
}

.channel-banner-img-row {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.channel-banner-img-row:hover .channel-banner-img {
    opacity: 0.9;
    transform: scale(1.01);
    transition: opacity 0.25s, transform 0.25s;
}

.channel-banner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.25s, transform 0.25s;
}

.channel-banner-img--fallback {
    height: 120px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3a6e 60%, #1a2a4e 100%);
}

.channel-banner-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px;
    padding: 0 24px 22px;
    background: var(--navy);
}

.channel-banner-avatar-wrap {
    flex-shrink: 0;
    margin-top: -33px;
    position: relative;
    z-index: 1;
}

.channel-banner-avatar-wrap a {
    display: block;
    border-radius: 50%;
}

.channel-banner-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--navy);
    display: block;
    transition: opacity 0.2s;
}

.channel-banner-avatar-wrap a:hover .channel-banner-avatar { opacity: 0.85; }

.channel-banner-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d3a6e;
    color: rgba(255,255,255,0.45);
    font-size: 3em;
}

.channel-banner-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 16px;
    flex: 1;
    min-width: 0;
}

.channel-banner-extended {
    flex-basis: 100%;
    margin-top: -55px;
    padding-left: calc(160px + 22px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.channel-banner-name-link {
    text-decoration: none;
    align-self: flex-start;
}

.channel-banner-name-link:hover .channel-banner-name {
    text-decoration: underline;
}

.channel-banner-name {
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.channel-banner-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
    margin: 3px 0 0;
}

.channel-banner-meta--secondary {
    margin-top: 5px;
    gap: 4px 24px;
}

.channel-banner-handle {
    color: rgba(255,255,255,0.7);
    font-size: 0.95em;
    font-weight: 500;
    text-decoration: none;
}

a.channel-banner-handle:hover {
    text-decoration: underline;
    color: rgba(255,255,255,0.9);
}

.channel-banner-stat {
    color: rgba(255,255,255,0.55);
    font-size: 0.88em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.channel-banner-stat--subs {
    color: rgba(255,255,255,0.75);
    font-size: 0.95em;
    font-weight: 500;
}

.channel-banner-stat i {
    font-size: 0.88em;
    opacity: 0.7;
}

.channel-banner-desc {
    color: rgba(255,255,255,0.55);
    font-size: 1em;
    line-height: 1.55;
    margin: 4px 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.channel-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 2px;
}

.channel-banner-link-btn {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.82em;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.channel-banner-link-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.channel-subscribe-btn {
    display: inline-block;
    margin-top: 8px;
    background-color: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 8px 22px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.92em;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    align-self: flex-start;
}

.channel-subscribe-btn:hover {
    background-color: #a00b33;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .channel-banner-img-row,
    .channel-banner-img { height: 80px; }
}

@media (max-width: 768px) {
  .channel-banner-img--fallback { height: 80px; }
}

@media (max-width: 768px) {
  .channel-banner-avatar-wrap { margin-top: -40px; }
}

@media (max-width: 768px) {
  .channel-banner-avatar { width: 100px; height: 100px; }
}

@media (max-width: 768px) {
  .channel-banner-info { gap: 14px; padding: 0 14px 16px; }
}

@media (max-width: 768px) {
  .channel-banner-name { font-size: 1.1em; }
}

@media (max-width: 768px) {
  .channel-banner-meta { gap: 4px 10px; }
}

@media (max-width: 768px) {
  .channel-banner-stat { font-size: 0.8em; }
}

@media (max-width: 768px) {
  .channel-banner-extended { padding-left: 0; margin-top: 0px; }
}

#back-to-top {
    display: none; 
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--red);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#back-to-top.btt-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
  #back-to-top {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.amazon-shop-btn {
  display: inline-block;
  background: #ff9900;
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.amazon-shop-btn-large {
  font-size: 1rem;
  padding: 12px 22px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.admin-thumb-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(191,13,62,0.85);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s;
    line-height: 1;
}

.admin-thumb-btn:hover { background: rgba(191,13,62,0.9); }

.admin-thumb-btn.atm-complete { background: rgba(34,197,94,0.85); }

.admin-thumb-btn.atm-complete:hover { background: rgba(34,197,94,1); }

.admin-thumb-menu {
    display: none;
    position: absolute;
    top: 38px;
    right: 6px;
    z-index: 20;
    background: #1a2035;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    min-width: 170px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    padding: 4px 0;
}

.admin-thumb-menu.atm-open { display: block; }

.atm-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    color: #dde;
    font-size: 0.84rem;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.atm-item:hover { background: rgba(255,255,255,0.08); color: #fff; }

.atm-item[disabled] { opacity: 0.55; pointer-events: none; }

.atm-item .atm-status { margin-left: auto; font-size: 11px; }

.atm-status.ok { color: #4caf50; }

.atm-status.err { color: #f44336; }

.cf-unit { display: block; }

.cf-img { display: none; width: 100%; height: auto; }

@media (min-width: 1025px) {
  .cf-unit .cf-img-desktop { display: block; }
}

@media (max-width: 1024px) {
  .cf-unit:not(.cf-has-tablet) { display: none; }
}

@media (max-width: 1024px) {
  .cf-unit.cf-has-tablet .cf-img-tablet {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
  .cf-unit:not(.cf-has-mobile) { display: none; }
}

@media (max-width: 480px) {
  .cf-unit.cf-has-mobile .cf-img-mobile {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
  .section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
  .compact-book-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
  .video-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
  .video-info p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
  .featured-video .featured-video-info h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
  .featured-video .featured-video-info p.lead {
        font-size: 1em;
    }
}

.btc-donate-hidden {
    display: none !important;
}

#btc-donate-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9100;
    height: 46px;
    padding: 0 18px;
    border-radius: 23px;
    background: var(--red);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(0,0,0,.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

#btc-donate-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(0,0,0,.6);
}

#btc-donate-modal {
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#btc-donate-modal.btc-donate-open {
    opacity: 1;
    pointer-events: all;
}

#btc-donate-modal-inner {
    position: relative;
    width: 90%;
    max-width: 380px;
    background: #12122a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    padding: 28px 24px 22px;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}

#btc-donate-modal.btc-donate-open #btc-donate-modal-inner {
    transform: translateY(0) scale(1);
}

#btc-donate-modal-inner h3 {
    color: var(--white);
    margin: 0 0 12px;
    font-size: 1.2rem;
}

#btc-donate-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

#btc-donate-close:hover {
    color: var(--white);
}

.btc-donate-intro {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
}

#btc-donate-body {
    margin-top: 6px;
}

#btc-donate-generate {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}

#btc-donate-generate:hover {
    transform: scale(1.02);
}

.btc-donate-loading {
    color: #e2e8f0;
    font-size: 0.9rem;
    text-align: center;
    margin: 10px 0;
}

.btc-donate-error {
    color: #f87171;
    font-size: 0.85rem;
    margin: 0 0 10px;
}

.btc-donate-qr {
    display: flex;
    justify-content: center;
    margin: 4px 0 16px;
}

.btc-donate-qr svg {
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
}

.btc-donate-address-row {
    display: flex;
    gap: 8px;
}

#btc-donate-address {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: monospace;
    font-size: 0.85rem;
}

#btc-donate-copy {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    cursor: pointer;
    white-space: nowrap;
}

#btc-donate-copy:hover {
    background: rgba(255,255,255,0.2);
}

.btc-donate-wallet-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: underline;
}

.btc-donate-wallet-link:hover {
    color: var(--white);
}

@media (max-width: 600px) {
  #btc-donate-trigger {
        bottom: 78px;
    }
}

/* Pre-footer nav (includes/pre_footer_nav.php) — used by footer.php on every
   front-end page, not just notfound.php. Misclassified into pages/notfound.css
   during the core/pages split; moved here since it's genuinely shared. */
.categories-tags-section {
    background-color: var(--light-navy);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.section-column {
    position: relative;
    background-color: var(--navy);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.section-column h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.section-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--red);
}

.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--navy);
}

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

.tag-list::-webkit-scrollbar-track {
    background: var(--navy);
}

.tag-list::-webkit-scrollbar-thumb {
    background-color: var(--red);
    border-radius: 3px;
}

.tag-list li {
    margin-bottom: 8px;
    position: relative;
}

.tag-list li a {
    color: var(--light-gray);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.tag-list li a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 15px;
}

.tag-list li a::before {
    content: '•';
    color: var(--red);
    margin-right: 8px;
    flex-shrink: 0;
}

/* Nested category sub-lists (includes/pre_footer_nav.php) carry both
   "tag-list" and "tag-sublist" classes. Selecting on both here (rather than
   .tag-sublist alone) gives this rule higher specificity than .tag-list, so
   it always wins regardless of source order — no scrolling independently of
   the outer .tag-list, and its own indent instead of .tag-list's margin:0. */
.tag-list.tag-sublist {
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 8px 0 4px 5px;
}

.category-column-icon, .tag-column-icon, .popular-column-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    border-radius: 50%;
    color: white;
    font-size: 14px;
}

@media (min-width: 993px) {
  .section-columns.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
  .section-columns {
        grid-template-columns: 1fr;
    }
  .section-column {
        margin-bottom: 20px;
    }
}

/* Compact book card component — used by index.php's homepage book sections as
   well as books.php; misclassified into pages/books.css during the core/pages
   split (only books.php's usage was picked up). */
.compact-books-grid {
    margin-bottom: 45px;
}

.compact-book-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  padding: 8px;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.compact-book-card:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.compact-book-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
}

.compact-book-thumbnail img,
.compact-book-thumbnail-2 img,
.compact-book-thumbnail-3 img,
.compact-book-thumbnail-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 998px) {
  .compact-book-thumbnail {
        overflow: hidden;
        border-radius: 4px;
        flex-shrink: 0;
        height: 270px;
        width: 180px;
    }
}

@media (max-width: 500px) {
  .compact-book-thumbnail {
        overflow: hidden;
        border-radius: 4px;
        min-width: 30%;
        flex-shrink: 0;
        height: 180px;
        width: 120px;
    }
}

.compact-book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.compact-book-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3);
    word-break: break-word;

    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 6px 0;
    line-height: 1.2;
}

@media (max-width: 998px) {
  .compact-book-title {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.4em * 4);
        word-break: break-word;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
  .compact-book-title {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.2em * 4);
        word-break: break-word;

        font-size: 1rem;
        font-weight: 600;
        color: var(--navy);
        margin: 0 0 6px 0;
        line-height: 1.2;
    }
}

.compact-book-info p {
    font-size: 1.1rem;
    color: #939393;
    margin-bottom: 10px;
}

.compact-book-info p a {
    font-size: 1.1rem;
    color: #939393;
    margin-bottom: 20px;
}

.compact-book-info p.compact-book-author-2 a {
    font-size: 1.1rem;
    color: #939393;
    margin-bottom: 20px;
}

.compact-book-info p.compact-book-author-3 a {
    font-size: 1rem;
    color: #939393;
    margin-bottom: 2px;
}

.compact-book-info p.compact-book-author-4 a {
    display: none;
}

@media (max-width: 500px) {
  .compact-book-info p.compact-book-author-2 a {
        font-size: 1rem;
        color: #939393;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
  .compact-book-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
  .compact-book-info p.compact-book-author-3 a {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

.amazon-book-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff9900;
    text-decoration: none;
    padding-right: 5px;
}

.amazon-book-link i {
    font-size: 1.1rem;
    padding-left: 5px;
}

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

@media (max-width: 998px) {
  .columns-3 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

@media (max-width: 759px) {
  .columns-3 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

/* Featured video container — used by index.php, theme/*.php, and books-overview.php
   (not just videos.php, where it was misclassified into pages/videos.css during the
   core/pages split). Two overlapping rule sets below, kept in their original relative
   order (matches the pre-split stylesheet) — the padding-bottom aspect-ratio box from
   the first still applies since the second never overrides those specific properties,
   it only adds border-radius/cursor and (on hover) a scale transform. */
.featured-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.featured-video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.play-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(191, 13, 62, 0.8);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 2;
}

@media (max-width: 992px) {
  .featured-video-container {
        margin-bottom: 20px;
    }
}

.featured-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.featured-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-video-container:hover img {
    transform: scale(1.05);
}

.play-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon-large i {
    color: white;
    font-size: 30px;
}

.featured-video-container:hover .play-icon-large {
    background: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .featured-video-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
  .play-icon-large {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
  .play-icon-large i {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
  .featured-video-container {
        height: auto;
    }
}

@media (max-width: 767px) {
  .featured-video-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.featured-video-container { position: relative; }

