/*
Theme Name: YeapNews Store
Theme URI: https://yeaptechnology.com
Author: Peter DHaiti - YeapTechnology
Author URI: https://yeaptechnology.com
Description: A modern WooCommerce theme for YeapMobile wireless phone service with product showcases, service plans, and e-commerce functionality
Version: 1.0.15.43
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yeapnews_store
WooCommerce Compatible: Yes
Requires at least: 5.0
Tested up to: 6.4
*/

/* Background is set dynamically by gradient-background.php via wp_head */

/* Ensure checkout button is visible */
.wc-proceed-to-checkout {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Button colors — see inc/button-colors.php (wp_footer priority 999) */


/* Hide PayPal and Venmo buttons ONLY on single product pages (not in footer) */
.single-product .product .paypal-button-container,
.single-product .product .venmo-button-container,
.single-product .product .paypal-express-checkout,
.single-product .product .venmo-express-checkout,
.single-product .product .ppec-checkout-button,
.single-product .product [id*="paypal"]:not(.site-footer),
.single-product .product [class*="paypal"]:not(.site-footer),
.single-product .product [class*="venmo"]:not(.site-footer),
.single-product .product .woocommerce-PayPal-payment-gateway,
.single-product .product .payment_method_paypal,
.single-product .product .wc-gateway-ppec,
.single-product .product .paypal-payment-gateway,
.woocommerce .single-product .paypal-button-container,
.woocommerce .single-product .venmo-button-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Ensure fixed navbars always stack above ALL page content */
.fifa-navbar {
    z-index: 99999 !important;
    position: fixed !important;
}

.fifa-mobile-nav {
    z-index: 99998 !important;
    position: fixed !important;
}

/* Force main content into its own stacking context BELOW the fixed navbars.
 * FIX (v1.0.15.1): WooCommerce block cart/checkout buttons were overlapping
 * the fixed top navbar (.fifa-navbar z-index:99999) on mobile.
 * Root cause: child elements inside the page content were painting above the
 * fixed navbar because no explicit stacking context was set on the page root.
 * Fix: set z-index:1 + position:relative on main#main and WC block containers
 * to confine all their children into a lower stacking context than the navbar.
 * Combined with isolation:isolate on .fifa-navbar (header.php), this guarantees
 * the navbars always paint on top of all page content. */
main#main,
.site-main,
#main-content-wrapper,
.woocommerce-cart-form,
.wc-block-cart,
.wc-block-checkout {
    position: relative !important;
    z-index: 1 !important;
    isolation: auto !important;
}

/* Reset z-index on WooCommerce product containers to prevent overlap */
.woocommerce ul.products,
.woocommerce ul.products li.product,
.woocommerce-page ul.products,
.woocommerce-page ul.products li.product,
.products .product,
.product-card,
.plan-card,
.site-content,
.site-content .container,
.main-content,
.page-content,
.entry-content,
.woocommerce-cart-form,
.woocommerce-cart .woocommerce,
.wc-block-cart,
.wc-block-checkout,
.wc-block-cart__main,
.wc-block-components-quantity-selector,
.wc-block-components-button,
.woocommerce-cart .quantity,
.woocommerce-cart .btn,
.woocommerce-cart button,
.woocommerce-checkout .quantity,
.woocommerce-checkout .btn,
.woocommerce-checkout button:not([type="submit"]) {
    z-index: auto !important;
    isolation: auto !important;
}

/* Keep footer and PayPal button below mobile nav */
.site-footer,
.site-footer .paypal-button-container,
.site-footer form,
.site-footer .yeapnews-paypal-btn,
.paypal-button-container {
    position: relative !important;
    z-index: 0 !important;
}

/* Footer Bottom 3-row layout */
.footer-bottom {
    padding: 1rem 0;
}

/* Row 1: PayPal - centered */
.footer-paypal-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0.75rem;
}

/* Row 2: Legal links - centered on one line */
.footer-legal-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0.75rem;
}

.footer-legal-row a,
.footer-legal-row span {
    color: #ffffff !important;
    white-space: nowrap;
}

/* Row 3: Social Media left + Copyright right */
.footer-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.footer-social-label {
    color: #ffffff !important;
    font-weight: bold;
    margin-right: 0.5rem;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: #ffffff !important;
    margin: 0;
}

/* Mobile: Stack copyright below social if no room */
@media (max-width: 400px) {
    .footer-info-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-copyright {
        text-align: center;
    }
}

/* Light grey content area */
.site-content > .container {
    background-color: #f5f5f5 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* No space between navbar and carousel */
.site-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Changelog:
v1.0.1 - 2026-02-23
- Fixed hero carousel caption positioning to be perfectly centered horizontally
- Positioned carousel caption at the bottom of the carousel to match category carousel style
- Improved caption layout using full-width positioning approach
- Enhanced visual consistency between hero and category carousels

v1.0.0 - 2026-02-23
- Initial theme release
- Added gradient background to all pages
- Created light grey content area for better readability
- Implemented phone setup form for wireless plans
- Added dynamic wireless plans customizer
- Added dynamic product categories display
- Fixed button text color to always be white
*/
/* Bootstrap CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
/* Theme specific styles */
:root {
    --primary-color: #13204A;
    --secondary-color: #6c757d;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #13204A;
    --fifa-green: #86e7ba;
    --fia-gold: #ffc107;
    --navbar-height: 64px; 
}
/* Gutenberg Block Compatibility */
.wp-block-columns {
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.wp-block-columns > .wp-block-column {
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}

.wp-block-column > * {
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .wp-block-columns > .wp-block-column {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.wp-block-group.full-width-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-group.full-width-section > .wp-block-columns {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .wp-block-group.full-width-section > .wp-block-columns {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.paypal-button-container {
  margin-bottom: 1rem;
}

/* Button text color fix - uses CSS variable from Button Colors customizer */
.btn, .btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info,
button.btn, button.btn-primary, button.btn-secondary, button.btn-success, button.btn-danger, button.btn-warning, button.btn-info,
a.btn, a.btn-primary, a.btn-secondary, a.btn-success, a.btn-danger, a.btn-warning, a.btn-info,
input[type="button"], input[type="submit"], input[type="reset"],
.wp-block-button__link, .wp-element-button {
    color: var(--btn-text, #ffffff) !important;
    text-shadow: none !important;
}

/* Button text color on hover — uses CSS variable */
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-danger:hover, .btn-warning:hover, .btn-info:hover,
button.btn:hover, button.btn-primary:hover, a.btn:hover, a.btn-primary:hover {
    color: var(--btn-text, #ffffff) !important;
}

/* PayPal Button Styles - with !important to override Bootstrap */
.paypal-button-container input[type="submit"],
.paypal-button-container .btn,
.paypal-button-container .btn-primary {
  background-color: #00a651 !important; /* Green color */
  border-color: #00a651 !important;
  color: #ffffff !important;
  padding: 0.5rem 2rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.paypal-button-container input[type="submit"]:hover,
.paypal-button-container .btn:hover,
.paypal-button-container .btn-primary:hover {
  background-color: #008c44 !important; /* Darker green for hover */
  border-color: #008c44 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.paynow-credit-card-icons {
  margin-top: 0.5rem;
  text-align: center;
}

/* Direct styling for the PayPal button with highest specificity */
.yeapnews-paypal-btn,
input.yeapnews-paypal-btn[type="submit"],
button.yeapnews-paypal-btn {
  background-color: #00a651 !important;
  border-color: #00a651 !important;
  color: white !important;
}

.yeapnews-paypal-btn:hover,
input.yeapnews-paypal-btn[type="submit"]:hover,
button.yeapnews-paypal-btn:hover {
  background-color: #008c44 !important;
  border-color: #008c44 !important;
}

/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scrollbar-color: #0CA77B #192A5C;
    background: radial-gradient(circle at center, #0aca69, #160aca);
    font-family: "Quicksand", sans-serif;
    color: #f0f1f8;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
  }
  
  /* Fix for double scrollbars */
  html {
    height: 100%;
    overflow-y: hidden;
  }
  
  body {
    height: 100%;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
  }
  
  .category-content .row {
    background-color: #ced7e1;
}

.content-section-bg {
    background-color: #ced7e1;
}
.light-bg {
    background-color: #f8f9fa;
}
.featured-stories-section {
    margin-top: -17px !important;
    margin-bottom: 0px !important;
    padding-top: 2px;
}
/* Reset margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile text padding */
@media (max-width: 767px) {
    .entry-content,
    .page-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .post-content,
    article.page,
    article.post {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Header styles */
.site-header {
    position: relative;
    z-index: 1030;
}
.custom-navbar {
    background-color: var(--primary-color) !important;
    height: var(--navbar-height);
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
}
.navbar-brand img {
    max-height: 40px;
    width: auto;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.brand-container {
    padding: 0;
    margin-right: 1rem;
}
.nav-logo {
    object-fit: contain;
    display: block;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}
.navbar-collapse {
    flex-grow: 0;
    display: flex;
    align-items: center;
}
.nav-items-container {
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar-nav .nav-link,
.dropdown-menu .nav-link {
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff !important;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.dropdown-menu .nav-link:hover {
    color: #17a2b8 !important;
}
.dropdown-menu {
    background-color: var(--primary-color) !important;
    border: none;
    border-radius: 0;
    margin-top: 0;
}
.dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0;
}
.dropdown-menu li {
    position: relative;
}
.dropdown-menu .dropdown-toggle::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.dropdown-menu .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-90deg);
}
.dropdown-item {
    color: #fff !important;
    padding: 0.75rem 1rem !important;
    font-weight: 500;
}
.dropdown-item:hover {
    background-color: #495057 !important;
}
.login-signup {
    margin-left: 1rem;
}
/* WordPress Admin Bar Fixes */
.admin-bar .custom-navbar {
    top: 32px !important; /* Standard admin bar height */
}
@media screen and (max-width: 782px) {
    .admin-bar .custom-navbar {
        top: 46px !important; /* Mobile admin bar height */
    }
}
/* Adjust main content when admin bar is present */
.admin-bar {
    --wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar {
        --wp-admin-bar-height: 46px;
    }
}
/* Ensure proper spacing for the main content */
.admin-bar main {
    padding-top: calc(var(--navbar-height) + var(--wp-admin-bar-height));
}
/* Non-admin view */
body:not(.admin-bar) main {
    padding-top: var(--navbar-height);
}
/* Featured Posts */
.featured-posts {
    margin-top: 0;
}
.featured-post {
    position: relative;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.featured-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.featured-post-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.featured-post-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}
.featured-post .post-meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}
/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 0;
}
.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 5rem;
    position: relative;
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-image {
    display: block;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}
.article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.article-card:hover .article-image img {
    transform: scale(1.05);
}
.article-content {
    padding: 1.5rem;
}
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: opacity 0.3s ease;
}
.category-badge:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}
.article-title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.4;
}
.article-title a {
    color: #13204A;
    text-decoration: none;
    transition: color 0.3s ease;
}
.article-title a:hover {
    color: #0056b3;
}
.article-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}
.article-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}
/* Category Post List Styles */
.category-content .post {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.category-content .post:nth-child(odd) {
    background-color: rgba(84, 142, 160, 0.1); /* Light blue with transparency */
}
.category-content .post:nth-child(even) {
    background-color: #fff;
}
.category-content .post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Newsletter Section */
.frontpage-newsletter {
    background-color: #a4c2ef;
    color: #fff;
    border-radius: 10px;
    margin: 2rem 0;
}
.newsletter-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}
.newsletter-section {
    background: var(--primary-color);
    padding: 4rem 0;
    margin-bottom: 3rem;
    margin-top: 90px;
}
.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-form .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 0 1.5rem;
}
.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0 1.5rem;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    height: 50px;
    transition: all 0.3s ease;
}
.newsletter-form .btn:hover {
    background: var(--primary-color);
    color: #fff;
}
/* Remove incorrect section classes */
.featured-stories,
.latest-articles,
.stay-updated {
    margin: 0;
    padding: 0;
}
/* Pagination */
.pagination {
    margin-top: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
}
.pagination .page-numbers:hover:not(.current) {
    background: #f0f0f0;
}
/* Category styles */
.category-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    margin-right: 0.5rem;
}
.category-badge:hover {
    background: darken(var(--primary-color), 10%);
    color: white;
    text-decoration: none;
}
/* Fix carousel controls positioning - Override inline styles with CSS Custom Properties */
:root {
    --carousel-control-top: 50%;
    --carousel-control-bg: rgba(0, 0, 0, 0.7);
    --carousel-control-left: 15px;
    --carousel-control-right: 15px;
}

/* Fix carousel controls positioning - Override inline styles with maximum specificity */
html body .hero-carousel #slide-prev,
html body .hero-carousel #slide-next,
html body .hero-carousel .slide-prev,
html body .hero-carousel .slide-next,
html body .category-carousel .carousel-control-prev,
html body .category-carousel .carousel-control-next,
html body .carousel .carousel-control-prev,
html body .carousel .carousel-control-next {
    position: absolute !important;
    top: var(--carousel-control-top) !important;
    bottom: auto !important;
    left: var(--carousel-control-left) !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
    width: 60px !important;
    height: 60px !important;
    opacity: 1 !important;
    background: var(--carousel-control-bg) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    font-weight: bold !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    /* Prevent any JavaScript modifications */
    pointer-events: auto !important;
    user-select: none !important;
    /* Debug border to see if our CSS is applied */
    border: 3px solid red !important;
}

/* Specific positioning for right control - Maximum specificity */
html body .hero-carousel #slide-next,
html body .hero-carousel .slide-next,
html body .category-carousel .carousel-control-next,
html body .carousel .carousel-control-next {
    left: auto !important;
    right: var(--carousel-control-right) !important;
    /* Debug border - different color for right control */
    border: 3px solid blue !important;
}

/* Override any inline styles on inner elements */
html body .hero-carousel .slide-prev *,
html body .hero-carousel .slide-next *,
html body .carousel-control-prev *,
html body .carousel-control-next * {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Override hover effects that might move controls */
html body .hero-carousel .slide-prev:hover,
html body .hero-carousel .slide-next:hover {
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

/* Hide any Bootstrap icons that might interfere */
html body .hero-carousel .slide-prev .carousel-control-prev-icon,
html body .hero-carousel .slide-next .carousel-control-next-icon,
html body .carousel-control-prev-icon,
html body .carousel-control-next-icon {
    display: none !important;
}

/* Prevent any dynamic class changes from affecting positioning */
html body .hero-carousel [class*="carousel-control"],
html body .hero-carousel [class*="slide-"] {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Lock the controls in place - override any dynamic changes */
@keyframes lockPosition {
    from { top: 50% !important; }
    to { top: 50% !important; }
}

html body .hero-carousel #slide-prev,
html body .hero-carousel #slide-next {
    animation: lockPosition 1s infinite !important;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    max-height: 900px;
}
.hero-carousel .carousel-item {
    display: block;
    height: auto;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: auto !important;
        min-height: unset !important;
    }
    .hero-carousel .carousel-item.has-video {
        height: auto !important;
        min-height: unset !important;
        overflow: hidden !important;
    }
    .hero-carousel,
    .hero-carousel .carousel,
    .hero-carousel .carousel-inner {
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
    }
}
 .hero-carousel .carousel-item img {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}
.hero-carousel .carousel-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-carousel .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}
.hero-carousel .carousel-description {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}
.hero-carousel .btn {
    margin-top: 10px;
}
/* Category Carousel Styles */
.category-carousel {
    position: relative;
    height: 300px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: -32px;
}

.category-carousel .carousel,
.category-carousel .carousel-inner,
.category-carousel .carousel-item {
    height: 300px;
    width: 100%;
}

.category-carousel .carousel-item {
    background-color: var(--dark-bg);
}

.category-carousel .carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Common carousel caption styles */
.hero-carousel .carousel-caption,
.category-carousel .carousel-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* Common heading styles */
.hero-carousel .carousel-caption h2,
.category-carousel .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    margin: 0;
    padding: 10px 0;
}

/* Common description styles */
.hero-carousel .carousel-description,
.category-carousel .carousel-description {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Reset paragraph margins in description */
.hero-carousel .carousel-description p,
.category-carousel .carousel-description p {
    margin: 0;
    padding: 0;
}

/* Category Content */
.category-content {
    margin-top: 2rem;
}
@-webkit-keyframes zoomin {
    0% {transform: scale(1);}
    50% {transform: scale(1.5);}
    100% {transform: scale(1);}
  }
  @keyframes zoomin {
    0% {transform: scale(1);}
    50% {transform: scale(1.5);}
    100% {transform: scale(1);}
  }
  
  .carousel-item img {
    width: 100%;
    height: auto;
    z-index: 0;
    -webkit-animation: zoomin 47s ease-in infinite;
    animation: zoomin 47s ease-in infinite;
    transition: all .5s ease-in-out;
  }
/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/wp-content/themes/yeapnews/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: -32px;
    margin-bottom: 90px;
}
.featured-posts .content-section .recent-posts{
    margin-top: 90px;
    margin-bottom: 90px;
}
.hero-content {
    max-width: 800px;
    padding: 0;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0;
}
/* Client Logo Section - Footer */
.client-logos {
    background: var(--primary-color);
    padding: 20px 0;
    margin: 0;
}

.client-logos h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

/* Company logo grid layout */
.client-logos .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 -10px !important;
}

.client-logos .row .col-4,
.client-logos .row .col-md-2,
.site-footer .client-logos .col-4,
.site-footer .client-logos .col-md-2 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 10px !important;
    margin-bottom: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Extra specific override for footer client logos */
.site-footer .client-logos .row .col-4,
.site-footer .client-logos .row .col-md-2 {
    margin-bottom: 50px !important;
}

/* Force Bootstrap column behavior for client logos */
@media (min-width: 768px) {
    .client-logos .col-md-2 {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
    }
}

@media (max-width: 767.98px) {
    .client-logos .col-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    .client-logos .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Client logo styling */
.client-logo {
    width: 120px !important;
    height: 70px !important;
    object-fit: contain !important;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-logo:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive logo sizing */
@media (max-width: 767.98px) {
    .client-logo {
        width: 100px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: 120px !important;
        height: 70px !important;
    }
}

.logo-grid img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}
.logo-grid img:hover {
    opacity: 1;
}
/* Content Section */
.content-section {
    padding: 0;
    background: linear-gradient(135deg, #13204A 0%, #1e3276 100%);
    color: #fff;
    margin: 35px;
    border-radius: 10px;
}
.content-section .row {
    align-items: center;
}
.content-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.content-image img {
    width: 100%;
    height: auto;
}
.content-text {
    padding: 0;
}
.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
}
.content-text .key-points {
    list-style: none;
    padding: 0;
}
.content-text .key-points li {
    margin-bottom: 0;
    padding-left: 2rem;
    position: relative;
}
.content-text .key-points li:before  {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 1.5rem;
}
/* Call to Action */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), #00a0e9);
    padding: 0;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    margin: 0;
}
.cta-section h2 {
    margin-bottom: -81px;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Site Footer */
/* Footer Layout Fixes */
.site-footer .container {
    max-width: 100% !important;
    padding: 0 15px !important;
}

.site-footer .row {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.site-footer .footer-col {
    padding: 0 15px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.site-footer .footer-col.text-center {
    align-items: center !important;
}

.site-footer .footer-col.text-end {
    align-items: flex-end !important;
}

/* Force center alignment on mobile */
@media (max-width: 767.98px) {
    .site-footer .footer-col {
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .site-footer .d-flex {
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
    }
    
    .site-footer .paypal-button-container {
        margin-bottom: 1rem !important;
    }
    
    .site-footer .d-flex.justify-content-center > * {
        margin: 0.25rem 0 !important;
    }
}

/* Extra small mobile fixes */
@media (max-width: 527px) {
    .site-footer .container {
        padding: 0 10px !important;
    }
    
    .site-footer .footer-col {
        padding: 0 5px !important;
        margin-bottom: 1.5rem !important;
    }
}

.site-footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 2rem 0;
    margin-top: 0;
}

.site-footer .container,
.site-footer .container-fluid,
.site-footer .row,
.site-footer .col,
.site-footer .col-12,
.site-footer [class*="col-"] {
    background-color: transparent !important;
}

/* Override any white backgrounds in the footer content */
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer p, .site-footer div {
    background-color: transparent !important;
}

/* Custom Breadcrumb Styling */
.custom-breadcrumb {
    font-size: 15px;
    color: #ffd700;
    padding: 15px 0 5px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    display: block !important;
    visibility: visible !important;
}

.custom-breadcrumb a,
.custom-breadcrumb-link {
    color: var(--btn-bg, #28a745) !important;
    text-decoration: none;
    font-weight: 600;
}

.custom-breadcrumb a:hover {
    color: #20c997 !important;
    text-decoration: underline;
}

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb {
    color: #ffd700 !important;
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-breadcrumb a {
    color: var(--btn-bg, #28a745) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.woocommerce-breadcrumb a:hover {
    color: #20c997 !important;
    text-decoration: underline !important;
}

/* Footer client logo overrides - remove conflicting rules */
.site-footer .client-logo {
    width: 120px !important;
    height: 70px !important;
    object-fit: contain !important;
    margin: 0 !important;
    max-width: 120px !important;
    max-height: 70px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Fix white background in privacy policy page */
.privacy-policy-page .container,
.privacy-policy-page .row,
.privacy-policy-page .col-12,
.privacy-policy-page [class*="col-"],
body.page-id-3 .container,
body.page-id-3 .row,
body.page-id-3 .col-12,
body.page-id-3 [class*="col-"] {
    background-color: transparent !important;
}

/* Fix Selected Enterprise & Industry Engagements section */
.site-footer h2,
.site-footer h3,
.site-footer .container > h2,
.site-footer .container > h3,
.site-footer .container > div > h2,
.site-footer .container > div > h3 {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Target any white background sections in footer */
.site-footer .bg-white,
.site-footer [class*="bg-"],
.site-footer .container .bg-white,
.site-footer .container [class*="bg-"] {
    background-color: transparent !important;
}

/* Specifically target the Selected Enterprise heading and any headings in the footer */
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6,
.site-footer .container h1, .site-footer .container h2, .site-footer .container h3, 
.site-footer .container h4, .site-footer .container h5, .site-footer .container h6,
.site-footer div, .site-footer p, .site-footer span,
.site-footer .mt-3, .site-footer .text-end p {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Specific rule for copyright text */
.site-footer p.mt-3,
.site-footer .col-12.col-md-4.text-end p,
.site-footer .footer-col p,
.site-footer .text-end p {
    color: #ffffff !important;
}

/* Extremely specific rule for the Selected Enterprise section */
body .site-footer .container,
body .site-footer .container > div,
body .site-footer .container > div > div,
body .site-footer .container > div > div > div {
    background-color: transparent !important;
}

/* Target any white background elements in the footer */
.site-footer [style*="background"],
.site-footer [style*="background-color"],
.site-footer [class*="bg-"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Override white background for Selected Enterprise section */
.privacy-policy-page .container div,
.privacy-policy-page .container h1,
.privacy-policy-page .container h2,
.privacy-policy-page .container h3,
body.page-id-3 .container div,
body.page-id-3 .container h1,
body.page-id-3 .container h2,
body.page-id-3 .container h3 {
    background-color: transparent !important;
}

/* Footer spacing */
.footer-spacing {
    height: 3rem;
    width: 100%;
    clear: both;
}

/* Adjust spacing for legal pages and page-id-3 */
body.legal-page .footer-spacing,
body.page-id-3 .footer-spacing {
    height: 0;
}
.site-footer h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0;
}
.site-footer p {
    color: #ffffff;
    margin-bottom: 0;
}
.site-footer .list-unstyled li {
    margin-bottom: 0;
}
.site-footer .list-unstyled a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.site-footer .list-unstyled a:hover {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
}
.site-footer .social-media-icons {
    margin-top: 0;
}
.site-footer .social-media-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: opacity 0.3s ease;
}
.site-footer .social-media-icons a:hover {
    color: #ffffff;
    opacity: 0.8;
}
.site-footer .copyright {
    color: #ffffff;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Newsletter Styles */
.footer-newsletter {
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h4 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-newsletter .yeap-newsletter-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.footer-newsletter .yeap-newsletter-title,
.footer-newsletter .yeap-newsletter-description {
    display: none;
}

.footer-newsletter .yeap-newsletter-fields {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.footer-newsletter .yeap-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.footer-newsletter .yeap-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter .yeap-newsletter-submit {
    background: #ffffff;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
}

.footer-newsletter .yeap-newsletter-submit:hover {
    background: rgba(255, 255, 255, 0.9);
}

.footer-newsletter .yeap-newsletter-message {
    color: #ffffff;
    background: transparent;
    padding: 0.5rem 0;
}

.footer-newsletter .yeap-newsletter-message.success {
    color: #98ff98;
    background: transparent;
    border: none;
}

.footer-newsletter .yeap-newsletter-message.error {
    color: #ff9898;
    background: transparent;
    border: none;
}

@media (max-width: 768px) {
    .footer-newsletter .yeap-newsletter-fields {
        flex-direction: column;
    }
    
    .footer-newsletter .yeap-newsletter-submit {
        width: 100%;
    }
}

/* Responsive images */
.wp-post-image {
    max-width: 100%;
    height: auto;
}
/* WordPress required classes */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    max-width: 100%;
}
/* Utility Classes */
.text-light {
    color: #f8f9fa !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
/* Button Styles */
.btn-outline-light {
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover {
    color: var(--primary-color);
    background-color: #fff;
}
.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}
.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
}
/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 0.3s ease-in;
}
/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        z-index: 1000;
    }
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    .dropdown-menu {
        background-color: transparent !important;
        box-shadow: none;
        padding-left: 1rem;
    }
    .login-signup {
        margin: 1rem 0 0 0;
        justify-content: center;
    }
}
@media (max-width: 767.98px) {
    .site-footer {
        text-align: center;
    }
    .site-footer .social-media-icons {
        margin: 1rem 0;
    }
    .footer-col {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    .footer-col:last-child {
        margin-bottom: 0;
    }
    .d-flex.justify-content-center {
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
    }
    .paypal-button-container {
        margin-bottom: 1rem;
    }
}
@media (max-width: 527px) {
    .footer-col {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    .d-flex.justify-content-center {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .paypal-button-container {
        margin-bottom: 0.5rem;
    }
}
/* COMPLETE FOOTER RESET - Fresh Start */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: #fff !important;
    padding: 2rem 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    position: relative !important;
}

/* Reset container completely */
.site-footer .container.bg-transparent {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    background: transparent !important;
}

/* Reset row layout */
.site-footer .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
    width: calc(100% + 30px) !important;
    left: -15px !important;
    position: relative !important;
}

/* Reset all columns */
.site-footer .col-12,
.site-footer .col-md-4,
.site-footer [class*="col-"] {
    flex: 0 0 auto !important;
    padding: 0 15px !important;
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* Desktop column widths */
@media (min-width: 768px) {
    .site-footer .col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

/* Text alignment classes */
.site-footer .text-start {
    text-align: left !important;
}

.site-footer .text-center {
    text-align: center !important;
}

.site-footer .text-end {
    text-align: right !important;
}

/* Reset all content inside footer */
.site-footer * {
    box-sizing: border-box !important;
}

.site-footer h4,
.site-footer p,
.site-footer ul,
.site-footer li,
.site-footer div {
    background: transparent !important;
    color: #fff !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
}

.site-footer h4 {
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

/* Mobile layout */
@media (max-width: 767.98px) {
    .site-footer .col-12,
    .site-footer .col-md-4,
    .site-footer [class*="col-"] {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .site-footer .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .site-footer .d-flex > * {
        margin: 0.5rem 0 !important;
    }
}

/* Remove any inline styles that might interfere */
.site-footer [style] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: inherit !important;
}

/* HIGHEST PRIORITY FOOTER FIX - Load Last */
.site-footer .container.bg-transparent {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    background: transparent !important;
    position: relative !important;
}

.site-footer .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
    position: relative !important;
}

.site-footer .col-12.col-md-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .site-footer .col-12.col-md-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

.site-footer .text-start {
    text-align: left !important;
}

.site-footer .text-center {
    text-align: center !important;
}

.site-footer .text-end {
    text-align: right !important;
}

@media (max-width: 767.98px) {
    .site-footer .col-12.col-md-4 {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .site-footer .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Remove any inline styles */
.site-footer div[style*="margin-left"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Main Content Area - Consolidated from final-fix.css */
.site-content > .container {
    background-color: #f5f5f5 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 25px !important;
    margin: 20px auto !important;
    max-width: 1200px !important;
}

/* Header container fix */
.site-header .container,
.site-header > .container {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.site-main {
    margin-top: 0;
    min-height: calc(100vh - 0);
    padding-top: 0;
}
.main-content {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 4rem 0;
    margin-top: 4rem;
}
.sidebar > * {
    margin-bottom: 3rem;
}
.mb-4 {
    margin-bottom: 2.5rem !important;
    margin-top: 5.5rem;
}

  h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, #0056CD, #062daf);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    margin-top: 2rem;
  }
/* Sidebar Styles */
.widget-area {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-newsletter {
    background: #13204A !important;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.sidebar-newsletter .widget-title {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-align: left;
    margin-bottom: 20px;
}

.sidebar-newsletter h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.sidebar-newsletter p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.sidebar-newsletter input[type="text"],
.sidebar-newsletter input[type="email"] {
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
}

.sidebar-newsletter input[type="text"]::placeholder,
.sidebar-newsletter input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.sidebar-newsletter .subscribe-to {
    text-align: left;
    margin: 20px 0;
}

.sidebar-newsletter .subscribe-to h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.sidebar-newsletter .checkbox-group {
    text-align: left;
    margin-bottom: 8px;
}

.sidebar-newsletter .checkbox-group label {
    display: block;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-left: 5px;
}

.sidebar-newsletter input[type="checkbox"] {
    margin-right: 8px;
}

.sidebar-newsletter button,
.sidebar-newsletter input[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #13204A;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.sidebar-newsletter button:hover,
.sidebar-newsletter input[type="submit"]:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

/* Featured Posts Widget Styles */
.featured-posts-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.featured-post-item {
    margin-bottom: 15px;
}

.featured-post-item:nth-child(odd) {
    background-color: rgba(84, 142, 160, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.featured-post-item:nth-child(even) {
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.featured-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-post-item:last-child {
    margin-bottom: 0;
}

.featured-post-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
}

.featured-post-link img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.featured-post-link h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #13204A;
    font-weight: normal;
    flex: 1;
    padding-top: 5px;
}

.featured-post-link:hover h3 {
    color: #0056b3;
}

/* Featured Stories Styles */
.featured-stories {
    margin-bottom: 40px;
}

.featured-story-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.featured-story-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.featured-story-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-story-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.8) 40%, 
        rgba(0,0,0,0.4) 70%, 
        transparent 100%);
    z-index: 1;
}

.featured-story-content h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Search Widget Styles */
.search-widget {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.search-widget .input-group {
    display: flex;
    gap: 10px;
}

.search-widget .search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.search-widget .search-submit {
    background: #13204A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-widget .search-submit:hover {
    background: #1e3276;
}

.bg-light-blue {
    background-color: #a4c2ef;
}

.recent-posts, .featured-stories {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 2rem 0;
    color: #fff;
}

.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.w-100 {
    background: radial-gradient(circle at center, #0aca69, #160aca);
}

/* Post Image Styling */
.post-content img,
.entry-content img,
.wp-post-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 2.5em auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Featured Image specific styling */
.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2em;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* Single Post Image Styles */
.single .featured-image {
    margin: -1.5rem -1.5rem 2rem;
    overflow: hidden;
    position: relative;
}

.single .featured-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.single .entry-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .single .featured-image {
        margin: -1rem -1rem 1.5rem;
        display: block !important;
    }
    
    .single .featured-image img {
        max-height: 400px;
        display: block !important;
        opacity: 1 !important;
    }
}

/* Single Post Featured Image */
.featured-image {
    margin-bottom: 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    display: block;
}

.featured-image img.img-fluid {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
}

@media (min-width: 768px) {
    .featured-image {
        margin: 0 calc(-50vw + 50%) 2rem;
        width: 100vw;
    }
}

/* Content Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block !important;
    margin: 1.5rem auto;
    border-radius: 8px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Single Post Container */
.single article {
    overflow: hidden;
    max-width: 100%;
}

.single .col-lg-8 {
    overflow: hidden;
}

.featured-post-link img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
    margin-top: 5px;
}

@media (min-width: 1200px) {
    .h3, h3 {
        font-size: 1.75rem;
        margin: 12px;
    }
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* General image fix to ensure all images display properly */
img {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

/* First, reset any conflicting styles from the newsletter plugin */
.yeap-newsletter-container * {
    transform: none !important;
    perspective: none !important;
    transform-style: flat !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

/* Create a new wrapper for the logo animation */
.brand-container {
    position: relative !important;
    display: inline-block !important;
    padding: 3px !important;
    border-radius: 15px !important;
    background-color: transparent !important;
  }
  
  /* Main animation container */
  .border-animation {
    --border-width: 3px;
    position: relative !important;
    display: inline-block !important;
    border-radius: 15px !important;
    overflow: visible !important;
    z-index: 1031 !important;
    isolation: isolate !important;
  }
  
  /* Background layer */
  .border-animation::before {
    content: '';
    position: absolute !important;
    inset: calc(-1 * var(--border-width)) !important;
    background: conic-gradient(
      from var(--angle, 0deg),
      #f1ecec,
      #2e12ac,
      #006aff,
      #12813d,
      #1b0c72,
      #f1ecec
    );
    border-radius: inherit;
    z-index: -2 !important;
  }
  
  /* Glow effect */
  .border-animation::after {
    content: '';
    position: absolute !important;
    inset: calc(-1 * var(--border-width)) !important;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    z-index: -1 !important;
    opacity: 0.7;
  }

  .border-animation::after,
.border-animation::before {
  content: '';
  position: absolute;
  width: 105%;
  height: 100%;
  background-image: conic-gradient(from var(--angle), #f1ecec, #2e12ac, #006aff, #12813d, #1b0c72);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  padding: 3px;
  border-radius: 10px;
  animation: spin 10s linear infinite;
}

.border-animation::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}
  
  /* Logo container */
  .nav-logo {
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    background: white !important;
    border-radius: 10px !important;
    padding: 5px !important;
  }
  
  @keyframes spin {
    from { --angle: 0deg; }
    to { --angle: 360deg; }
  }
  
  /* Rotate */
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  .rotate {
    animation: rotate 10s linear infinite;
  }
  
 