:root {
    --primary-blue: #1e3a5f;
    --gold: #ceb16f;
    --light-bg: #f8f9fa;
    --bs-breadcrumb-divider: ">";
}

body {
    font-family: 'Georgia', serif!important;
}

/* Header */
.top-bar {
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-img {
    /* max-height: 50px; */
    width: auto;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}

.cart-icon-wrapper i {
    font-size: 16px;
    color: var(--gold)
}

.cart-plus-badge {
    position: absolute;
    top: -10px;
    right: -22px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

.search-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 20px;
    width: 350px;
    z-index: 1000;
    display: none;
    margin-top: 10px;
}

.search-popup.active {
    display: block;
}

.search-popup input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--gold);
    border-radius: 5px;
    font-size: 14px;
}

.search-popup input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.search-popup button {
    width: 100%;
    margin-top: 10px;
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.search-popup button:hover {
    background-color: var(--primary-blue);
}

.social-icons a {
    color: #666;
    margin: 0 8px;
    font-size: 14px;
}

.header-buttons .btn {
    margin: 0 5px;
    font-size: 12px;
}

/* Navigation */
/* .main-nav {
    background-color: var(--gold);
    padding: 0;
}

.main-nav .navbar-nav {
    width: 100%;
    justify-content: space-between;
}

.main-nav .nav-link {
    color: white !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 15px;
    transition: background 0.3s;
}

.main-nav .nav-link:hover {
    background-color: rgba(0,0,0,0.1);
}

.main-nav .dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 0;
    display: none;
}

.main-nav .dropdown-item {
    color: var(--primary-blue);
    padding: 10px 20px;
    font-size: 14px;
    white-space: break-spaces;
}

.main-nav .dropdown-item:hover {
    background-color: var(--gold);
    color: white;
} */


/* updated navigation  */

/* Navigation */
/* Navigation */
.main-nav {
    background-color: var(--gold);
    padding: 0;
}

.main-nav .navbar-nav {
    width: 100%;
    justify-content: space-around;
}

.main-nav .nav-link {
    color: white !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 15px;
    transition: background 0.3s;
}

.main-nav .nav-link:hover {
    background-color: rgba(0,0,0,0.1);
}

.main-nav .dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 0;
}

.main-nav .dropdown-item {
    color: var(--primary-blue);
    padding: 10px 20px;
    font-size: 14px;
}

.main-nav .dropdown-item:hover {
    background-color: var(--gold);
    color: white;
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .main-nav .dropdown .dropdown-menu:hover {
        display: block;
    }
    
    /* Prevent dropdown overflow on right side */
    .main-nav .dropdown {
        position: relative;
    }
    
    .main-nav .dropdown-menu {
        position: absolute;
        left: 0;
        top: 100%;
    }
    
    /* Auto-adjust dropdowns that would overflow right edge */
    .main-nav .navbar-nav > .dropdown:nth-last-child(-n+2) .dropdown-menu {
        left: auto;
        right: 0;
    }
}

/* Mobile Menu Improvements */
@media (max-width: 991px) {
    .main-nav .nav-link {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav .dropdown-toggle::after {
        margin-left: auto;
        font-size: 14px;
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        border: 1px solid white;
        padding: 0px 5px;
    }

    .main-nav .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.95);
        margin-left: 15px;
        border-left: 3px solid var(--gold);
        position: static !important;
        transform: none !important;
    }

    .main-nav .dropdown-item {
        padding: 12px 20px;
        font-size: 13px;
    }

    .navbar-toggler {
        border-color: white;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}


/* Trending Section */
.trending-section {
    padding: 20px 0;
    background-color: white;
}

.trending-title {
    color: var(--primary-blue);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-style: italic;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
}

.featured-article {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    border-bottom: 1px solid var(--gold);
}

.featured-article img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-caption {
    /* background-color: rgba(30, 58, 95, 0.9); */
    color: var(--primary-blue);
    padding: 15px;
    text-align: center;
    font-size: 14px;
}
.featured-caption p{
    min-height: 35px;
}

.side-article {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

.side-article img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.side-article h6 {
    color: var(--primary-blue);
    margin-top: 10px;
    font-size: 14px;
}

.side-article small {
    color: #999;
}

.side-article-image {
    width: 169px;
}

/* Category Sections */
.category-section {
    padding: 20px 0;
    background-color: var(--light-bg);
}

.category-title {
    color: var(--primary-blue);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-style: italic;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
}

.category-divider {
    color: var(--primary-blue);
    margin: 0 15px;
}

.article-card {
    /* background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s; */
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

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

.article-card-body {
    padding: 20px;
    text-align: center;
    color: var(--primary-blue);
    
}

.article-card h5 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-card .date {
    font-size: 12px;
    font-weight: 600;
}

.btn-outline-custom {
    color: var(--primary-blue);
    background-color: white;
    border: 1px solid var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-outline-custom:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Cover Story */
.cover-section {
    padding: 0 0 50px 0;
    background-color: white;
}

.cover-magazine {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
}

.cover-content h3, h5 {
    color: var(--primary-blue);
    /* margin-bottom: 20px; */
    font-weight: 600;
}

.cover-content ul {
    list-style: none;
    padding: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.cover-content ul li {
    padding: 5px 0;
    /* border-bottom: 1px solid #eee; */
}
.cover-content a {
    color: #ffffff;
}

.cover-content ul li:before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    margin-right: 10px;
}

.btn-outline-cover {
    color: white;
    background-color: var(--primary-blue);
    /* border: 1px solid var(--primary-blue); */
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 0;
}

.btn-outline-cover:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Back Issues */
.back-issues {
    padding: 20px 0;
    /* background-color: var(--primary-blue); */
    color: var(--primary-blue);
}

.bg-back-issue {
    background-color: var(--primary-blue);
    color: white;
    padding: 50px 0;
}

.back-issues h3 {
    text-align: center;
    margin-bottom: 40px;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
}

.issue-card {
    background: white;
    /* border-radius: 8px; */
    padding: 10px;
    text-align: center;
    color: var(--primary-blue);
}

.issue-card img {
    width: 200px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.issue-card p {
    font-weight: 600;
    min-height: 50px;
    margin: 0;
}

.btn-custom {
    color: white;
    background-color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: var(--primary-blue);
    color: white;
}

.issue-slider {
    position: relative;
    /* padding-bottom: 60px; */
    padding: 40px 20px;
}

.issue-slider .slider-container {
    overflow: hidden;
}

.issue-slider .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.issue-slider .issue-card {
    min-width: calc(20% - 16px);
    margin: 0 8px;
    flex-shrink: 0;
    max-width: 240px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    transform: scale(1);
    box-shadow: none;
}

@media (max-width: 992px) {
    .issue-slider .issue-card {
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .issue-slider .issue-card {
        min-width: calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .issue-slider .issue-card {
        min-width: calc(100% - 16px);
    }
}

/* Media Partners */
.media-partners {
    text-align: center;
    padding: 40px 0;
    background-color: #f5f5f5;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
}

.media-partners a {
    color: var(--primary-blue);
    text-decoration: none;
}

.media-partners img {
    max-width: 150px;
    /* margin: 20px; */
    opacity: 0.7;
    transition: opacity 0.3s;
}

.media-partners img:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--light-bg);
    padding: 50px 0 20px;
}

.footer-section h6 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer .social-icons {
    background-color: var(--gold);
    padding: 20px;
}


@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .article-card img {
        height: 200px;
    }
}


/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--light-bg);
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    align-items: baseline;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 12px;
}

.breadcrumb-item.active {
    color: var(--primary-blue);
    font-size: 12px;
}

.category-buttons {
    margin: 10px 0;
}

.category-btn {
    background-color: #03345c; 
    color: white;
    font-size: 12px;
    margin-bottom: 10px;
}

.category-btn:hover {
    background-color: #03345c; 
    color: white;
    font-size: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    text-decoration: none;
}

/* Article Content */
.article-section {
    padding: 40px 0;
    background-color: white;
}

.article-header-1 {
    font-weight: 600;
    text-align: center;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
    margin-bottom: 20px;
}

/* .article-header {
    margin-bottom: 30px;
} */

.article-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-meta span {
    margin-right: 20px;
}

.share-buttons {
    margin: 20px 0;
}

.share-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px 0;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.article-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.article-content p {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--primary-blue);
}

.article-content img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

.article-content .image-caption {
    text-align: center;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}

.form-control{
    border: var(--bs-border-width) solid var(--primary-blue);
}

/* Sidebar */
.sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.sidebar-article {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-article img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sidebar-article h5 {
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.sidebar-article small {
    color: #999;
}

.ad-widget {
    text-align: center;
    background-color: transparent;
    padding: 10px 10px;
    /* border-radius: 8px; */
    margin-bottom: 10px;
}

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

/* Related Articles */
.related-articles {
    /* background-color: var(--light-bg); */
    padding: 20px 0;
}

.related-articles h3 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.related-card {
    /* background: white; */
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    
}

/* .related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
} */

.related-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--primary-blue);
}

.related-card-body {
    padding: 10px;
}

.related-card h5 {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.related-card .date {
    color: #999;
    font-size: 12px;
}

/* Comments Section */
.comments-section {
    background-color: white;
    padding: 20px 0;
}

.comments-section h3 {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--primary-blue);
    border-radius: 5px;
    min-height: 150px;
    font-size: 14px;
}

.comment-form button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

.comment-form button:hover {
    background-color: var(--primary-blue);
}

/* Footer - Same as Homepage */
.footer {
    background-color: var(--light-bg);
    padding: 50px 0 20px;
}

.footer-section h6 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #666;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

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

    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .article-content {
        font-size: 16px;
    }
}

.category-section {
    padding: 20px 0;
    background-color: white;
}

.category-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.category-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.category-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.category-content p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--primary-blue);
}

.category-content .desc {
    min-height: 126px;
}   

.category-content img {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

.category-content .image-caption {
    text-align: center;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}


.category-related-articles {
    /* background-color: var(--light-bg); */
    padding: 20px 0;
}

.category-related-articles h3 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.category-related-card {
    /* background: white; */
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    
}

.category-related-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--primary-blue);
}

.category-related-card-body {
    padding: 10px;
    text-align: center;
    min-height: 285px;
}

.category-related-card h5 {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 10px 40px;
    min-height: 55px;
}

.category-related-card .date {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 500;
}

.category-btn-outline-custom {
    color: var(--primary-blue);
    background-color: white;
    border: 1px solid var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.category-btn-outline-custom:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* pagination  */
.pagination-section {
    background-color: white;
    padding: 30px 0;
    border-top: 1px solid #ddd;
}

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

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    text-decoration: none;
}

.pagination-arrow:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.pagination-number:hover {
    background-color: var(--light-bg);
    color: var(--primary-blue);
}

.pagination-number.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-info {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .custom-pagination {
        flex-direction: column;
        gap: 15px;
    }

    .pagination-info {
        order: -1;
    }
}

/*manish*/
.side-article-text a, .featured-caption a{
    text-decoration: none;
    color: #1e3a5f;
}
.issue-card a{
    text-decoration: none;
}


/*my-account*/
.woocommerce .col2-set, .woocommerce-page .col2-set {
    width: 100%;
}
.woocommerce .col2-set::after, .woocommerce .col2-set::before, .woocommerce-page .col2-set::after, .woocommerce-page .col2-set::before {
    content: " ";
    display: table;
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    float: left;
    width: 48%;
}
.entry-content{
    font-size: 15px;
    line-height: 26px;
    color: #222;
}
.woocommerce form.login, .woocommerce form.register
{
    border-color: #ededed;
    border: 1px solid #cfc8d8;
    padding: 20px;
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
}
.woocommerce form .form-row {
    margin: 0;
    padding: 3px;
}
.woocommerce form .form-row::after, .woocommerce form .form-row::before, .woocommerce-page form .form-row::after, .woocommerce-page form .form-row::before {
    content: " ";
    display: table;
}
.woocommerce form .form-row label {
    line-height: 2;
}
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    display: block;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    outline: 0;
    line-height: normal;
}
.woocommerce .form-row .input-text {
    font-size: 12px;
    line-height: 21px;
    color: #444;
    border: 1px solid #e6e6e6;
    width: 100%;
    max-width: 100%;
    height: 32px !important;
    padding: 3px 9px 3px 9px;
}
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p, .td-page-content li, .td-post-content li, .wpb_text_column li, .td_block_text_with_title li, .woocommerce #tab-description li, .mce-content-body li {
    font-size: 15px;
    line-height: 26px;
}
.woocommerce-account div.woocommerce .button {
    background-color: #1e3a5f !important;
    font-size: 16px !important;
    padding: 12px 30px;
    border-radius: 5px;
}
.woocommerce-checkout .woocommerce input.button, .woocommerce-page .woocommerce a.button, .woocommerce-account div.woocommerce .button {
    border: 0;
    box-shadow: none;
    color: #fff;
    background: none #1e3a5f;
    font-size: 11px;
    padding: 12px 30px;;
    text-shadow: none;
    border-radius: 5px;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #fff;
    background-color: #1e3a5f;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}
.woocommerce form .form-row label.inline {
    display: inline;
}
.woocommerce form .form-row label {
    line-height: 2;
}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: right;
    width: 48%;
}
/*my-account*/

.category-title a{
    text-decoration: none;
    color: var(--primary-blue);
}
.category-link.active{
    color: var(--gold);
    cursor: default;
    pointer-events: none;
}
.category-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*manish*/
 .slider-container {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 10px 0;
}



/* Centers the caption container */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Ensures the caption text is also centered */
.wp-caption-text {
    text-align: center;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* Ensures the container doesn't exceed the width of the image */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-block-image.aligncenter {
    text-align: center;
}

.wp-block-image.aligncenter figure {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em; /* Adds space to the left and bottom of the image */
}

/* Specific styling for the caption container */
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0; /* Space on the right and bottom */
}

/* Ensures the caption container respects the float */
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}



.advertise .contact-strip ul{
    padding : 0;
}
a {
	text-decoration: none;
        color: var(--primary-blue);
}

.article-content iframe{
	width : 100%;
   /* height: 400px;*/
}



/* About us section  */

.about-section {
    padding: 20px 0;
    background-color: white;
}

.about-content {
    line-height: 1.8;
}

.about-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--primary-blue);
}

.about-content p a {
    /* margin-bottom: 20px; */
    font-size: 16px;
    text-decoration: none;
    font-style: italic;
    color: var(--primary-blue);
}


/* Contact US - Section */
.contact-section {
    padding: 20px 0;
    background-color: white;
}

.contact-form {

}

.contact-form label {
    color: var(--primary-blue);
    font-size: 16px;
}

.contact-description {

}
.side-article-text {
    width: 100%;
}


.contact-description .contact-content h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
   /* margin-top: 30px;*/
    font-weight: bold;
}

#submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

.contact-description .contact-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--primary-blue);
}

.contact-description .contact-content p a {
    font-size: 16px;
    text-decoration: none;
    font-style: italic;
    color: var(--primary-blue);
}
.contact-send-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}

.contact-send-btn:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Advertise Section */
.advertise-section {
    padding: 20px 0;
    background-color: white;
}

.advertise-banner {
    text-align: center;
    margin: auto;
}

.advertise-description {
    color: var(--primary-blue);
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 190px;
    /* padding: 0 200px; */
    text-align: center;
}

@media (max-width: 768px) {
    .advertise-description {
        margin: 20px 20px;
    }
}

/* Podcast Section */ 
.podcast-section {
    padding: 20px 0;
    background-color: white;
}

.podcast-banner img {
    width: 100%;
    margin: auto;
}

.podcast-newsletter-wrapper {
    padding: 30px;
    background-color: #1f1f1f;
    margin-top: -30px;
}

.podcast-newsletter-wrapper .podcast-newsletter-text p {
    color: #ffffff;
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.podcast-newsletter-wrapper .podcast-newsletter-form .form-control {
    width: 300px;
    height: 50px;
}

.podcast-newsletter-wrapper .podcast-newsletter-form .btn-newsletter {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    height: 50px;
    border-radius: 0;
}

.podcast-partner-wrapper {
    margin: 40px 60px;
}

.podcast-partner-wrapper ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.podcast-partner-wrapper ul li img {
    width: 250px;
    margin-right: 20px;
}

.podcast-epispde-wrapper {
    margin: 20px 0;

}

.podcast-epispde-wrapper h4 {
    color: var(--primary-blue);
    margin-top: 20px;
    font-weight: bold;
}


.podcast-epispde-wrapper .card {

}

.podcast-epispde-wrapper .card img {
    max-width: 400px;
}

.podcast-epispde-wrapper .card .card-body {

}

.podcast-epispde-wrapper .card .card-body .card-date {
    color: var(--gold);
    margin: 0;
}

.podcast-epispde-wrapper .card .card-body .card-title {
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--primary-blue);
}

.podcast-epispde-wrapper .card .card-body .card-text {
    font-size: 16px;
    color: var(--primary-blue);
    line-height: 1.5;
}

.podcast-epispde-wrapper .card .card-body .btn-podcast-episode {
    background-color: var(--gold);
    color: #ffffff;
    font-size: 16px;
    margin: 40px 0;
}

.podcast-epispde-wrapper .card .card-body .btn-podcast-episode:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.podcast-recent-episode-wrapper {
    
}

.podcast-recent-episode-wrapper .card {

}

.podcast-recent-episode-wrapper .card img {
    max-width: 200px;
}

.podcast-recent-episode-wrapper .card .card-body {

}

.podcast-recent-episode-wrapper .card .card-body .card-date {
    color: var(--gold);
    margin: 0;
}

.podcast-recent-episode-wrapper .card .card-body .card-title {
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--primary-blue);
}

.podcast-recent-episode-wrapper .card .card-body .card-text {
    font-size: 14px;
    color: var(--primary-blue);
    /* line-height: 1.5; */
}

.podcast-recent-episode-wrapper .card .card-body .btn-podcast-episode {
    background-color: var(--gold);
    color: #ffffff;
    font-size: 14px;
    /* margin: 40px 0; */
}

.podcast-epispde-wrapper .card .card-body .btn-podcast-episode:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

/* Subscribe Section */
.subscribe-section {
    padding: 20px 0;
}

/* Banner */
.top-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--gold);
    text-align: center;
    padding: 20px 0;
    font-size: 28px;
    margin-bottom: 10px;
}

.subscribe-magazine-area {

}

.nav .nav-link {
    font-size: 24px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
    width: 50%;
}

.nav-tabs .nav-link {
    background: var(--primary-blue);
    color: #ffffff;
    position: relative;
}

.nav-tabs .nav-link:hover {
    background: var(--gold);
    color: #ffffff;
}

.nav-tabs .nav-link.active {
    background: var(--gold);
    color: #ffffff;
}

.nav-tabs .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--gold);
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--gold);
}

.tab-content .hi-tab-area {

}

.hi-tab-area .nav-pills {
    justify-content: center;
}

.hi-tab-area .nav-item {
    margin: 0 10px;
}

.hi-tab-area .nav-link {
    font-size: 16px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 600;
    margin: 20px 0px;
    width: 250px;
    background-color: transparent;
    border-bottom: 1px solid var(--gold);
    color: var(--primary-blue);
}


.hi-tab-area .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--gold);
    color: #ffffff;
}

.hi-tab-area .nav-pills .nav-link:hover {
    background-color: var(--gold);
    color: #ffffff;
}



/* Magazine Tabs */
.magazine-tabs {
    background-color: white;
    border-bottom: 3px solid var(--orange);
}

.tab-header {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.tab-item {
    flex: 1;
    max-width: 400px;
    text-align: center;
    padding: 20px;
    background-color: var(--light-bg);
    color: #666;
    cursor: pointer;
    border: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
}

.tab-item.horse-illustrated {
    background-color: var(--orange);
    color: white;
}

.tab-item.young-rider {
    background-color: var(--teal);
    color: white;
}

.tab-item.horse-illustrated::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--orange);
}

/* Subscription Options */
.subscription-section {
    padding: 40px 0;
    background-color: white;
}

.subscription-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border: 2px solid var(--orange);
    border-radius: 8px;
    overflow: hidden;
}

.sub-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background-color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.sub-tab.active {
    background-color: var(--orange);
    color: white;
}

.pricing-cards {
    display: flex;
    gap: 15px;
    align-items: stretch;
    flex: 1;
}

.pricing-card {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 15px;
    text-align: center;
    background-color: white;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.pricing-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-card input[type="radio"] {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

.pricing-duration {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.pricing-original {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin: 0;
}

.pricing-amount {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold);
    margin: 0;
}

.subscribe-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 60px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.subscribe-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.guarantee-text {
    text-align: center;
    font-style: italic;
    color: #000000;
    font-weight: 600;
    margin-top: 20px;
    font-size: 14px;
}

/* single issue card  */
.single-issue-card {
    text-align: center;
    margin: 0;
}

.single-issue-card img {
    width: 50%;
    margin: auto;
}

.single-issue-card .desc {
    font-size: 14px;
    margin: 10px 0 0 0;
    font-weight: 500;
}

.single-issue-card .price {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.single-issue-card .btn-issue-card {
    background-color: var(--primary-blue);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
    width: 200px;
    text-align: center;
    margin: auto;
}

.single-issue-card .btn-issue-card:hover {
    background-color: var(--gold);
    color: #ffffff;
}

.view-more-btn {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 14px;
}

.view-more-btn:hover {
    background-color: var(--gold);
    color: #ffffff;
    font-size: 14px;
}

.si-header {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}


/* Info Cards */
.info-cards-section {
    background-color: var(--light-bg);
    padding: 20px 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.info-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.info-card-content h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin: 0;
}

.info-card-content p {
    color: #000000;
    margin: 0;
    font-size: 14px;
}

/* Editor Section */
.editor-section {
    padding: 20px 20px;
    background-color: white;
}

.editor-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.editor-text h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 10px;
}

.editor-text h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.editor-text p {
    color: #000000;
    line-height: 1.5;
}

.editor-image {
    flex-shrink: 0;
}

.editor-image img {
    width: 250px;
    height: auto;
    border-radius: 8px;
}

.dont-miss-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials-section {
    padding: 20px 0;
    background-color: var(--light-bg);
}

.testimonials-section h3 {
    color: var(--primary-blue);
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.testimonials-slider {
    position: relative;
    padding: 0 50px;
}

.testimonials-container {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: calc(50% - 15px);
    flex-shrink: 0;
    margin-right: 30px;
}

.testimonial-card:last-child {
    margin-right: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    flex-shrink: 0;
}

.testimonial-text {
    color: #000000;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

.testimonial-author {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.testimonial-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.testimonial-slider-btn:hover {
    background-color: var(--gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-slider-btn.prev {
    left: 0;
}

.testimonial-slider-btn.next {
    right: 0;
}

.testimonial-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-slider-btn:disabled:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1);
}

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

    .testimonials-slider {
        padding: 0 40px;
    }

    .testimonial-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 20px 0;
    background-color: white;
}

.faq-section h3 {
    color: var(--primary-blue);
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid var(--gold);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    color: #333;
    font-weight: 500;
}

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

.faq-question.active {
    background-color: var(--gold);
    color: white;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    background-color: var(--light-bg);
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #000000;
}

.final-cta {
    text-align: center;
    margin-top: 30px;
}

/* Magazine Preview */
.products-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.magazine-preview {
    position: relative;
    flex-shrink: 0;
}

.magazine-cover {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.zero-risk-badge {
    position: absolute;
    top: 40%;
    right: -25px;
    background-color: var(--gold);
    color: black;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
    transform: rotate(-15deg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.zero-risk-badge span {
    display: block;
    width: 70px;
    height: 70px;
    border: 1px solid #070801;
    border-radius: 50%;
    padding: 22px 0 0 0;
    position: relative;
}

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

    .products-container {
        flex-direction: column;
        align-items: center;
    }

    .magazine-preview {
        margin-bottom: 40px;
    }

    .zero-risk-badge {
        right: -20px;
        width: 80px;
        height: 80px;
        font-size: 11px;
    }

    .tab-item {
        font-size: 14px;
        padding: 15px 10px;
    }

    .editor-content {
        flex-direction: column;
    }

    .editor-image img {
        width: 100%;
        max-width: 300px;
    }

    .subscription-tabs {
        flex-direction: column;
    }
}

/************For Loader***************/
.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
.loadIcon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -20px;
    margin-left: -20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}
.loaderImg {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    width: 50px;
    height: 50px;
    text-align: center;
    left: 50%;
    margin-left: -25px;
    top: 50%;
    position: absolute;
}

/* back issue page */
.horseSubscribe .subs-box {
    width: 100%;
    padding: 50px 40px;
}

.custom-bg {
    background: url('https://www.horseillustrated.com/wp-content/themes/Newspaper/images/demo/subscription-bg.png');
    position: relative;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 400px;
}

.horseSubscribe .subs-bg .subs {
    padding-top: 40px;
    text-align: center;
}

.horseSubscribe {
    padding: 30px 0;
}

.horseSubscribe .brand-cover {
    width: 100%;
    margin: 60px 0;
}

.horseSubscribe .brand-img {
    margin: 7rem 0;
    width: 100%;
}

.horseSubscribe .brand-img img {
    width: 70%;
}

.horseSubscribe .hi-subs-btn, .hf-subs-btn, .wlt-subs-btn {
    width: 100% !important;
    margin: 15px 0;
}

.horseSubscribe .btn {
    border: 0;
    font-size: 12px;
    color: #fff;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
}

.horseSubscribe .hi-subs-btn {
    background: #38a6c1;
}

.horseSubscribe .hf-subs-btn {
    background: #e24453;
}

.horseSubscribe .wlt-subs-btn {
    background: #78482a;
    text-decoration: none;
}

.horseSubscribe .hi-subs-btn:hover,
.horseSubscribe .hf-subs-btn:hover,
.horseSubscribe .wlt-subs-btn:hover {
    background: #222;
    text-decoration: none;
}

.horseSubscribe .td-page-header {
    display: none;
}



/* subscription-popup */

.subscription-popup .popup-in {
    max-width: 290px;
    top: 5%;
    left: 50%;
    margin: 0;
    background-position: top right;
    height: auto;
    margin-left: -145px
}

/***********Account Activation*******************/
.error_s_email.error{
    color: #f42929;
    padding: 0 4px;
    margin: 0;
    font-size: 12px;
    font-weight: normal;
}

.post-title-new h5 {
    margin-top :1px;
}

/* responsive code */
@media (max-width: 576px) {
    .top-banner {
        padding: 10px 0;
        font-size: 14px;
    }

    .nav .nav-link {
        font-size: 12px;

    }

    .hi-tab-area .nav-pills {
        justify-content: center;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        overflow: auto;
        padding-left: 14rem;
    }

    .hi-tab-area .nav-item {
        margin: 0 6px;
    }

    .hi-tab-area .nav-link {
        font-size: 12px;
        margin: 10px 0px;
        width: 120px;
        font-weight: 500;
    }

    .products-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .magazine-preview {
        margin-bottom: 25px;
    }

    .pricing-cards {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .pricing-card {
        padding: 5px 5px;
    }

    .subscribe-btn {
        margin-top: 10px;
        font-size: 14px;
        padding: 10px 65px;
    }

    .editor-text {
        text-align: center;
    }

    .testimonials-section h3 {
        font-size: 22px;
    }

    .faq-section {
        padding: 20px 10px;
    }

    .faq-section h3 {
        font-size: 18px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .article-header-1 {
        margin: 10px 0;
    }

    .subscribe-section {
        padding: 0;
    }

    /* topbar - logo area */
    .social-responsive {
        display: flex !important;
        justify-content: center !important;
        margin: 10px 0;
    }

    .header-buttons {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        align-content: center !important;
    }

    .social-responsive {
        justify-content: center !important;
        margin: 15px 0 !important;
    }

    .main-nav .nav-link {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .horseSubscribe {
        padding: 0;
    }

    .horseSubscribe .brand-cover {
        width: auto;
        margin: 0;
    }

    .horseSubscribe .brand-img {
        margin: -4rem 0;
    }

    .horseSubscribe .brand-img img {
        display: none;
    }

}

@media (max-width: 768px) {

}

@media (max-width: 992px) {

}

/********credit card***********/
#card-element, #card_expiry, #card_cvc{
    border: 1px solid #ddd!important;
    background-color: initial;
    color: #333;
    padding: 5px;
    border-radius: 0.25rem;
}

table{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
table th{
    text-align: left;
    border: 1px solid #ededed;
    padding: 2px 8px;
}
.show_hide{
    display:none;
}
h3#ship-to-different-address{
        margin-bottom: 20px;
}
.pervPopup .pervImg {
    position: absolute;
    right: 0;
    top: 10px;
    cursor: pointer;
}
.pervPopup{
    position: relative;
    border: 1px solid #e6e6e6;
    padding-right: 85px;
}
.popupFriend{
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
    background: rgba(0,0,0,0.5);
}
.popupFriend .popFriData{
    margin: 40px auto;
    width: 660px;
    position: relative;
    z-index: 111;
    padding: 30px;
    background: #fff;
}
.popupFriOpen .popupFriend{
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
}
.popupFriend .popFriData .closeFriend{
    position: absolute;
    right: -10px;
    top: -10px;
    cursor: pointer;
}
/* enewsletter*/
.enewsletter20.body-sec {
    margin: 15px 0;
}
 
.enewsletter20
{
    background: #000;
}

.enewsletter20 .details {
    position: relative;
    padding: 10px 15px 20px 265px;
}

.enewsletter20 .details:before
{
    content: "";
    width: 227px;
    height: 83px;
    background: url(https://www.horseillustrated.com/wp-content/uploads/enewsletter20-1-2.webp);
    position: absolute;
    left: 15px;
    top: 3px;
}

.enewsletter20.body-sec .details label {
    font-size: 14px;
}

.enewsletter20 .details label {
    color: #fff;
    font-size: 19px;
    line-height: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.enewsletter20 .details .input-group {
    display: table;
    width: 100%;
    position: relative;
}

.enewsletter20 .details .input-group .area {
    width: 100%;
    position: relative;
}

.enewsletter20 .details .input-group>div {
    display: table-cell;
    vertical-align: top;
}

.enewsletter20 .details .input-group>div {
    display: table-cell;
    vertical-align: top;
}

.enewsletter20 .newsletter_success_message {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #39ef39;
}

.enewsletter20 .details .input-group .button {
    position: relative;
}
 
.enewsletter20 .details .input-group>div {
    display: table-cell;
    vertical-align: top;
}

.enewsletter20 .details .input-group .button:before {
    content: "";
    width: 32px;
    height: 26px;
    background: url(https://www.horseillustrated.com/wp-content/uploads/signup.png);
    position: absolute;
    left: 20px;
    top: 4px;
}

.enewsletter20 .details .input-group .btn-signup {
    height: 34px;
    background-color: #c74084;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1em;
    padding: 0 20px 0 55px;
}
.enewsletter20 .details .input-group input[type=email]{
    border: 0;
    display: block;
    width: 100%;
    padding: 1px 9px;
    height: 32px;
    font-size: 12px;
}
 /* enewsletter*/