/*
Theme Name: YeapNews
Theme URI: https://yeaptechnology.com
Author: YeapTechnology
Author URI: https://yeaptechnology.com
Description: A modern news theme for YeapTechnology
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yeapnews
*/
/* 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;
}
/* 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: 80rem;
   
    scroll-behavior: smooth;
  }
  
  body {
    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;
}
/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    max-height: 900px;
    margin-top: -32px;
}
.hero-carousel .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 800px; /* Fixed height */
}
 .hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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 */
.client-logos {
    background: var(--primary-color);
    padding: 0;
    margin: 0;
}
.client-logos h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    align-items: center;
    justify-items: center;
}
.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);
}
/* Footer styles */
.site-footer {
    background-color: var(--primary-color) !important;
    color: #ffffff;
    padding: 4rem 0;
    margin-top: 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: 767px) {
    .site-footer {
        text-align: center;
    }
    .site-footer .social-media-icons {
        margin: 1rem 0;
    }
    div.text-center.mt-3 {
        margin-left: 4cm !important;
        padding-top: 17px !important;
    }
    .paynow {
        text-align: justify !important;
        margin-bottom: 27px !important;
    }
}
@media (max-width: 527px) {
    div.text-center.mt-3 {
        margin-left: 2cm !important;
        padding-top: 17px !important;
    }
    .paynow {
        text-align: justify !important;
        margin-bottom: 27px !important;
    }
}
/* Main Content Area */
.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;
  }
  
  