/* Global Styles */


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'Canela';
    src: url('fonts/Canela-Medium.woff2') format('woff2'),
        url('fonts/Canela-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
    --primary-red: #1a4152;
    /* Burgundy red from image */
    --primary-red-dark: #143b4d;
    --nav-bg: #2C3E50;
    /* Slate blue/grey */
    --bg-color: #F8F5F1;
    /* Off-white paper look */
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #dcdcdc;
    --card-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.serif-font {
    font-family: 'Inter', serif;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    font-family: 'Canela';
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.text-white{ color: #fff !important; }
.text-primary{ color: #143b4d; }

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

/* Header Section */
.top-header {
    background: #f4f4f5;
    color: #000000;
    padding: 15px 0;
    position: relative;
    /* Adding a subtle texture effect */

}

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

.lang-switch {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.brand-logo {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    flex-grow: 1;
    font-weight: 600;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    font-family: 'Canela';
}

.brand-logo img {
    width: 70px;
}

.social-icons a {
    margin-right: 10px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: rgb(23 63 80 / 20%);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--primary-red-dark);
    color: #fff;
}

/* Navigation */
.main-nav {
    background-color: #143b4d;
    color: #eee;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-nav-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 24px;
    transform: translateY(-50%);
}

.nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.nav-list li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, background 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-list li a:hover,.nav-list li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-list li a.active {
    font-weight: 600;
    color: white;

}

.d-flex{
    display: flex;
}
.gap-15{
    gap: 15px;
}
.w-50{
    width: 50%;
}
/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .is-sticky .mobile-logo {
        display: block;margin-right: 20px;
    }

    .nav-list {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: #143b4d;
        margin-top: 50px;
        /* Space for the header bar containing the toggle */
    }

    .nav-list.show-menu {
        display: flex;
        animation: slideDown 0.3s ease-out;
        position: absolute;
        top: 0;
        height: 100vh;
        justify-content: start;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list li a {
        padding: 15px;
    }

    .mobile-nav-container {
        min-height: 50px;
        align-items: center;
        /* Center toggle vertically */
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breaking News Bar slider area */
.news-ticker-area {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    background: #f3f3f4;
}

.featured-row {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    gap: 0;
    align-items: center;
    margin-bottom: 30px;
}

.nav-arrow {
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    text-align: center;
    user-select: none;
}

.nav-arrow:hover {
    color: var(--primary-red-dark);
}

/* Revised Slider CSS */
/* Revised Slider CSS using Slick Slider */
.top-news-slider {
    display: block;
    /* Slick requires block container usually */
    overflow: hidden;
    /* Hide overflow for slick */
    padding-bottom: 5px;
    width: 100%;
}

.top-news-slider .slick-track {
    display: flex !important;
}

.top-news-slider .slick-slide {
    height: inherit !important;
}

.top-news-slider .side-articles {
    display: block;
    /* Slick takes over */
}

/* Slick Slide styling to handle gaps */
.top-news-slider .side-articles .article-card {
    width: 100%;
    /* Reset fixed width, let Slick handle it via slidesToShow */
    flex: none;
    margin: 0 10px;
    /* Simulate gap */
}

.top-news-slider::-webkit-scrollbar {
    display: none;
}

.mini-news-item {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
    width: 280px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.mini-news-item:hover {
    opacity: 0.7;
}

.mini-news-item img {
    width: 80px;
    height: 50px;
    border-radius: 2px;
    flex-shrink: 0;
}

.mini-news-item p {
    font-size: 0.85rem;
    line-height: 1.2;
    color: #444;
}

/* Main Content Area */
.breaking-section {
    margin-top: 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    padding: 0;
}

.breaking-ticker-wrapper {
    display: flex;
    align-items: center;
    height: 90px;
    position: relative;
    overflow: hidden;
}

.breaking-label {
    background-color: var(--primary-red-dark);
    color: white;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight:500;
    text-transform: uppercase;
    font-size: 1rem;
    z-index: 2;
    position: relative;
    min-width: 190px;
    letter-spacing: 0.5px;
    font-family: 'Canela';
}

.breaking-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 24px;
    height: 24px;
    background-color: var(--primary-red-dark);
    z-index: -1;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    /* Bright red for attention */
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;

    animation: pulse-red 2s infinite;
    flex: 0 0 8px;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(231, 76, 60, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.breaking-items-scroll {
    display: block;
    flex-grow: 1;
    overflow: hidden;
    padding: 0 25px;
    height: 100%;
}

.breaking-items-scroll .slick-list{  height: 100%; }
.breaking-items-scroll .slick-track {
    display: flex;
    align-items: center;
    height: 100%;
}

.breaking-news-item {
    display: flex !important;
    /* Override slick's block */
    align-items: center;
    gap: 15px;
    cursor: pointer;


    height: 50px;

    /* Gap replacement */
    outline: none;
    /* remove slick focus outline */
}

.breaking-news-item:last-child {
    border-right: none;
}

.breaking-news-item img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin:0 20px;
}

.bn-cat {
    font-size: 11px;
    color: var(--primary-red-dark);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2px;
}

.breaking-news-item h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-red-dark);
    line-height: 1.2;
    margin: 0;
    margin-bottom: 6px;
       text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 24px;
    line-height: 22px;
}
.breaking-news-item p{ font-size: 0.75rem;
    color: var(--text-muted); }
.breaking-news-item .bn-content p{overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;}

.breaking-news-item:hover h4 {
    color: var(--primary-red-dark);
}

.ticker-controls {
    display: flex;
    align-items: center;
    background: #fff;
    height: 100%;
    padding: 0 15px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.ticker-controls i {
    padding: 8px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.ticker-controls i:hover {
    color: var(--primary-red-dark);
    transform: scale(1.1);
}


/* Main Content Area */

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
}

.section-title h3 {

    font-size: 30px;
    color: var(--primary-red-dark);
    margin: 0;
    line-height: 1;

    display: flex;
    align-items: center;
    gap: 15px;
}

/* Left Accent Block on the H3 */
.section-title h3::before {
    content: '';
    display: block;
    width: 3px;
    height: 32px;
    background-color: var(--primary-red-dark);

}

.section-title.white h3 {
    color: #fff;
}

.section-title.white h3::before {
    background-color: #fff;
}

.section-title.white::after {
    background: linear-gradient(to right, #e0e0e024, #e0e0e024);
}

/* Trailing Line */
.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, #e0e0e0, #e0e0e0);
    margin-top: 4px;
    /* Optical center adjustment */
}

/* Removed old styling */

/* Top Stories Grid */
.top-stories-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;

}

.tabs-container {
  max-width: 780px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
}

.tab {
  background: none;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #666666; /* Text color */
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.tab:hover {
  color: #143b4d; /* Primary color on hover */
}

.tab.active {
  color: #143b4d; /* Primary color */
  border-bottom-color: #143b4d;
}

.tab-content {
  padding: 24px 0;
  color: #666666; /* Text color */
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}


.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
  display: block;
}
.tab-content .article-card{
    position: relative;
    margin: 0 0 15px;
}
.tab-content .article-card .card-content{min-height: 102px;}

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

.tab-content .article-card a:before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile */
@media (max-width: 600px) {
  .tab {
    padding: 10px 14px;
    font-size: 14px;
  }
}


@media (max-width: 900px) {
    .top-stories-grid {
        grid-template-columns: 1fr;
    }
}

.hero-article {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 400px;
}

.hero-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-article:hover img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgb(23 62 80));
    color: white;
    padding: 20px;
}

.hero-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.hero-overlay .author {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #fff;
}

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

@media (max-width: 600px) {
    .side-articles {
        grid-template-columns: 1fr;
    }
    .flex-wrap-mobile{
        flex-wrap: wrap;
    }
    .w-100-mobile{
        width: 100%;
    }
}

.article-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card img {
    width: 100%;
    height: 140px;
}

.card-content {
    padding: 15px;
}


.card-content .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Briefs Section */
.briefs-section {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
}

.briefs-header {
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    display: block;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.briefs-ticker {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.ticker-item {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

.ticker-item::before {
    content: '▶';
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--primary-red-dark);
}

/* Weltblick Section (Video Thumbnails) */
.weltblick-header {
    background: linear-gradient(to right, var(--primary-red-dark), var(--primary-red-dark));
    color: white;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 3px;
    font-family: 'Inter', serif;
    letter-spacing: 1px;
    margin-top: 20px;
}

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

td img,
td video {
    display: block;
    margin: auto;
}

.video-card {
    /* position: relative; */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;

}

.video-card img {
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 2;
        font-family: 'Canela';
        background: #00000085;
    padding: 5px 20px;
        font-size: 16px;
}

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

.video-card:hover .play-icon {
    background: var(--primary-red-dark);
}

.play-icon::after {
    content: '';
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.quote-center {
    text-align: center;
    font-family: 'Inter', serif;
    font-size: 1.2rem;
    color: #555;

    font-style: italic;
}

/* Podcast & Videos */
.podcast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.podcast-card {
    background: #222;
    color: white;
    position: relative;
    border-radius: 4px;
    overflow: hidden;

}

.podcast-card img.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.podcast-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.podcast-title {
    font-family: 'Inter', serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 3px;
}

/* Footer */
.main-footer {
    background: linear-gradient(to top, var(--primary-red-dark), var(--primary-red-dark));
    color: white;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 12px;
    align-items: center;
    color: var(--text-muted);
}

.footer-links a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
    color: var(--primary-red-dark);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Responsive Utilities */
.hidden-mobile {
    display: block;
}

.copyright {
    padding: 20px 0;
}

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

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--primary-red-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Unified Red Footer */
.main-footer-red {
    background: linear-gradient(to top, var(--primary-red-dark), var(--primary-red-dark));
    color: white;
    padding: 30px 0;
    margin-top: 40px;

}

.footer-section-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
}

.footer-section-title span {
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    margin-bottom: -7px;
    display: inline-block;
}

.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0 20px 0;
}

/* Reusing existing footer links style but ensuring it handles white text */


.footer-links a {
    color: var(--primary-red-dark);
    font-size: 12px;
    /* Ensure text is white */
}

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

.mobile-logo {
    display: none;
}




/* Breaking News Section Redesign Removed - using ticker style above */

/* =========================================
   New Footer Styling (Redesign)
   ========================================= */

.new-footer {
    background-color: var(--bg-color);
    width: 100%;

    font-family: 'Inter', sans-serif;
}

.footer-top {
    padding: 60px 0;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column: Nav Links */
.footer-nav-section {
    display: flex;
    gap: 50px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links-col a {
    color: var(--primary-red-dark);


    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-col a:hover, .footer-links-col a.active{
    color: #287091;
}

.no-records-found {
    width: 100%;
    text-align: center;
    margin-top: 57px;
}
.justify-content-center{
    justify-content: center;
}
.no-records-found img{
    margin-right: 10px;
}

/* Center Column: Newsletter */
.footer-newsletter-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.footer-newsletter-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-red-dark);
    font-family: 'Inter', sans-serif;

}

.newsletter-form {
    display: flex;
    width: 100%;

}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 0.9rem;
    outline: none;
    color: #555;
    background: white;
    width: 100%;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background-color: var(--primary-red-dark);
    /* Match screenshot dark red */
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button:hover {
    background-color: #287091;
}

.support-us-btn {
    background-color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
    /* Center horizontally */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    cursor: pointer;
    transition: transform 0.2s;
}

.support-us-btn:hover {
    transform: translateY(-2px);
}

.support-us-btn i {
    color: #990000;
    font-size: 1rem;
}

/* Right Column: Brand */
.footer-brand-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-logo {
    font-size: 3rem;
    color: var(--primary-red-dark);
    /* Red brand color */
    font-family: 'Canela', serif;
    margin-bottom: 24px;
    line-height: 1;
    /* Simulate the look of the screenshot logo */
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}




a {
    transition: all 0.5s ease;
}

.footer-contact-email {
    font-size: 0.9rem;
    color: var(--primary-red-dark);
    font-weight: 500;
}

.footer-contact-email a:hover {
    color: #287091;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #143b4d;
    /* Slate grey from screenshot bottom */
    color: white;
    padding: 15px 0;
    font-size: 0.85rem;
}

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

.bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-links a {
    color: #fff;
    text-decoration: none;

    opacity: 0.8;
    transition: opacity 0.2s;
}

.bottom-links a:hover {
    opacity: 1;
    text-decoration: none;
}
.tab-panel { display: none; }

.weltblick .slick-prev,
.weltblick .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
}

.weltblick .slick-prev:before,
.weltblick .slick-next:before {
      color: #999;
    font-size: 20px;
        -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
        font-family: "Font Awesome 6 Free";

            font-weight: 900;

}

.weltblick .slick-prev:before{
             --fa: "\f053";
                content: var(--fa);
}

.weltblick .slick-next:before{
                --fa: "\f054";
                content: var(--fa);
}


.weltblick .slick-prev {
    left: -50px;

}

.weltblick .slick-next {
    right: -50px;
}

.weltblick .slick-prev:hover::before,
.weltblick .slick-next:hover::before{
        color: var(--primary-red-dark);
}

.tab-panel .slick-slide {
    padding: 0 12px; /* creates horizontal gap */
}

.tab-panel .slick-list {
    margin: 0 -12px; /* keeps alignment clean */
}
.align-items-center{
    align-items: center;
}
.mr-5{
    margin-right: 5px;
}


/* HERO */
.hero {
  height: 420px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.hero h1 {
  font-size: 48px;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* SEARCH SECTION */


.page-title {
  font-size: 42px;
  margin-bottom: 10px;
      line-height: 50px;
}

.page-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
      align-items: center;

}

.search-bar input,
.search-bar select {
  padding: 14px;
  font-size: 14px;
  width: 100%;
  border: 1px solid #ddd;
      color: #666;
}



.search-bar button {
  padding: 17px 30px;
  background: #143b4d;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ARTICLES */
.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}

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

/* CARD */
.article-card {
  background: #fff;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e2e2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-image {
  position: relative;
}

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

/* CATEGORY BADGE */
.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #f28c28;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
      display: inline-block;
      text-transform: uppercase;
}

/* CARD CONTENT */
.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
 line-height: 1.3;
  color: var(--primary-red-dark);

}

.card-content p {
  color: #555;
  font-size: 15px;
  margin-bottom: 15px;
}

.author {
  font-size: 14px;
  color: #777;
}


.konflikt-search-section,.related-articles{
    background-color: #fff;
}
.related-articles{
    padding-bottom: 80px;
}

.konflikt-search-section{
    padding-bottom: 40px;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: #143b4d;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background: #143b4d;
  color: #fff;
}

.page-btn.active {
  background: #143b4d;
  color: #fff;
  border-color: #143b4d;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}




/* Lsiting Section */
.container-fluid{margin: 0 auto;padding: 0 80px;}
.bg-white{ background: #fff; }
.category-listing{ display: grid;    grid-template-columns: 2.2fr 1fr;    gap: 40px; }
/*sidebar*/
.newsletter-box{ background: #143b4d;padding: 25px;border-radius: 4px; }
.newsletter-box .footer-newsletter-section{ max-width: inherit; }
.listing-sidebar .newsletter-form button{ background: #f28c28; }
.popular-posts{     margin-top: 30px;background: var(--bg-color);padding: 30px;    border-radius: 4px; }
.popular-posts .heading {font-size: 24px;margin-bottom: 20px;color: var(--primary-red-dark);}
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 550px;
    overflow: auto;

}

.popular-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    align-items: center;
 padding: 15px;
 background: #fff;
 border-radius: 4px;
}


.popular-item-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.popular-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.5s ease;
}
/*.popular-item:hover .popular-item-img img{transform: scale(1.04);}*/

.popular-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.popular-desc{    color: #555;
    font-size: 15px; display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;   /* number of lines */
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;}
.popular-desc a:hover{ color: var(--primary-red-dark) }

.popular-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 10px;
    line-height: 1;
}

.popular-category {
    color: #aa0000;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: underline;
}

.popular-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.blog-single{     border-bottom: 1px solid #eaeaea; }
.blog-single .category-listing-left{background: #fff;padding: 30px;border-radius: 4px;}
.blog-single .popular-posts{ padding: 0; }
.blog-single .category-badge{ position: static;margin-bottom: 20px;    }
.w-100{width: 100%;}
.single-feture-img{ margin-top: 30px;margin-bottom: 30px; }
.single-feture-img img{ border-radius: 4px; }
.category-listing-left .post-title{ font-size: 32px;line-height: 40px; color: var(--primary-red-dark);}
.post-meta{ display: flex;align-items: center;gap:15px;margin-bottom: 30px;flex-wrap: wrap; }
.post-meta .item{ display: flex;gap:5px;align-items: center;    font-size: 14px;color: #666; }
.blog-single p{ margin-bottom: 20px  15px; }
.post-content{  color: #555;
      font-size: 15px;}
.post-content h3{font-size: 24px;}
.post-content h2,.post-content h3,.post-content h4{ margin-bottom: 15px;color: var(--primary-red-dark); }
.blog-quote {
  position: relative;
  background: #f5f8f9;
  padding: 28px 32px;
  border-radius: 14px;
  margin: 30px 0;
  overflow: hidden;
    font-size: 20px;
      line-height: 1.8;
  font-style: italic;
  color: #4b5563;
}

.blog-quote p {
  margin: 0;


  max-width: 90%;
}
.blog-quote strong{display: block;margin-top: 10px;text-transform: capitalize;}

/* Big quotation mark */
.blog-quote::after {
  content: "“";
  position: absolute;
  right: 35px;
  top: 8px;
  font-size: 160px;
  font-family: Georgia, serif;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  pointer-events: none;
}
.post-content .social-icons{ justify-content: flex-end; text-align: right;margin-bottom: 30px;}
.post-content .social-icons a{    margin-left: 10px;margin-right: 0;}

  /* Comment Section Styles */
  .blog-section-head {
    font-family: 'Canela', serif;
    font-size: 1.8rem;
    color: #111;
    margin-top: 2rem;
    margin-bottom: 1rem;

}
        .comment-section {
            margin-top: 30px;
            font-family: 'Inter', sans-serif;
        }

        .comment-form-container {
            background-color: #f5f8f9;
            padding: 30px;
            border-radius: 8px;
            margin-top: 2rem;
        }

        .comment-form-title {
            font-family: 'Canela', serif;
            font-size: 1.6rem;
            margin-bottom: 1.5rem;
            color: #143b4d;
        }

        .comment-form {
            display: grid;
            gap: 15px;
        }

       .comment-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;

            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #143b4d;
        }

        .btn-submit-comment {
            background-color: #143b4d;
            color: #fff;
            padding: 12px 30px;
            border: none;
            border-radius: 4px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            justify-self: start;
            font-family: 'Inter', sans-serif;
        }

        .btn-submit-comment:hover {
            background-color: #f28c28;
        }

        .comment-list {
            margin-top: 2rem;
        }

        .comment-item {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 30px;
        }
        .comment-avatar{ flex:0 0 60px; }
        .comment-avatar img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .comment-content {
            flex-grow: 1;
        }

        .comment-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            align-items: center;
        }

        .comment-author {
            font-size: 1.1rem;
            font-weight:500;

               color: var(--primary-red-dark);
    font-family: 'Canela', serif;

        }

        .comment-date {
             font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
        }

        .comment-text {
            color: #555;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .comment-reply-link {
            color: #f28c28;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;

        }


/****search page*/
.search-bar .search-input{    background-image: url(../images/search.svg);
    background-repeat: no-repeat;
    background-position: center right 5px;}
.search-bar label{padding-left: 15px;font-weight: 500; font-family: 'Canela';}
.search-bar label.sortby{min-width: 120px; }

.search-result-top{display: flex;justify-content: space-between;align-items: center;margin-bottom: 20px;}
.search-result-top .sort-by {
    display: flex;
    align-items: center;
    white-space: nowrap;
        gap: 10px;
}
.search-result-top .sort-by label{ font-weight: 500;font-family: 'Canela'; }
.search-result-top .sort-by select{padding: 14px;font-size: 16px;    width: 100%;    border: 1px solid #ddd;    color: #666;}
.search-section .articles-grid {grid-template-columns: repeat(3, 1fr);}

/***update css design*/
.breadcrumbs{ padding: 20px 0;}
.breadcrumbs h1{     font-size: 40px;letter-spacing: 2px;    text-transform: uppercase;}
.main-content h2{margin-bottom: 10px;}
.main-content p{ margin-bottom: 20px; }
.main-content ul{ list-style-type: disc;padding-left: 20px;margin-bottom: 20px; }
.main-content ul li{ padding-bottom: 5px; }
.main-content a{color: var(--primary-red-dark);}

.contact-us-form .comment-form-title{ margin-bottom: 5px; }
.contact-us-form .comment-form{  gap:24px; }

/*login*/
.login-section{ height: 100vh;display: flex;justify-content: center;}
.main-wrapper-login {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items:center;
    /* Aligns closer to top like screenshot */
    padding: 60px 20px;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 490px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-align: center;
}
.login-title{ background: var(--primary-red-dark);

    padding: 12px 10px;
    border-radius: 4px 4px 0px 0px;}
.login-title h1{   text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 2px;    color: #fff; }
.login-form{ padding: 30px;}

.invalid-feedback{    color: #f00;
    display: block;
    padding-top: 5px;
    font-size: 13px;}


.login-card .input-group {
    text-align: left;
    margin-bottom: 25px;
}
#togglePassword{position: absolute; right: 10px; top: 50%; transform: translateY(-50%); cursor: pointer;color: #666;}
.password-wrapper{ position: relative;}

.login-card .input-group label {
    display: block;
    font-size: 16px;
color: var(--primary-red-dark);
    font-weight: 600;
    margin-bottom: 5px;
}
.login-card .input-group label.is-invalid{    font-size: 13px;
    font-weight: normal;
    padding-top: 5px;}

.login-card .input-group input {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #666;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
    box-sizing: border-box;
        font-family: 'Inter', sans-serif;
}



.login-card .input-group input::placeholder {
    color: #999;
}

.login-card .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    color: #666;
    line-height: 20px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 2px;
    border: 1px solid #dddddd;
}

.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: #e77f3e;
    border: 1px solid #e77f3e;
    /* Orange */
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 1px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-pass {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
    transition: color 0.2s;
}

.forgot-pass:hover {
    color: #e77f3e;
    border-bottom-color: #e77f3e;
}

.login-btn {
  background-color: var(--primary-red-dark);
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
    font-family: 'Inter', sans-serif;
        width: 100%;
    padding: 16px 20px;
}

.login-btn:hover {
    background-color: #287091;
}


/*dashboard*/
/* Layout Structure */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: #fff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    transition: transform var(--transition-speed) ease;
    z-index: 1000;
    transition: all 0.5s ease;
}



@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .popular-category{
        margin-bottom: 10px;
    }
    .popular-meta{
            flex-direction: column;
    }
}


/* Mobile responsive sidebar handling */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
}



.logo-text {
    font-family: 'Canela', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-red-dark);
}

.sidebar .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}



.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color:rgb(248 245 241); /* Light purple hover */
    color: #1a4152;
}

.sidebar .nav-link svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Top Header */
.app-container .top-header {
    background-color: var(--bg-color); /* Match body bg or white? Screenshot seems to blend. */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.dashboard-content .hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .dashboard-content .hamburger {
        display: block;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.user-text {
    font-size: 0.9rem;
    color: var(--text-main);
}

.user-profile .avatar {
    width: 36px;
    height: 36px;
    background-color: #E0E7FF;
    color: #1a4152;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Content Area */
.dashboard-content .page-content {
    padding: 2rem;
    overflow-y: auto;
}



.dashboard-content .page-content .card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table doesn't squash too much */
}

th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

td {
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #fafafa;
}

.role-text {
    font-weight: 500;
}
.page-content .dataTables_wrapper .dataTables_length select{border:1px solid var(--border-color);margin-right: 5px;}
.page-content .dataTables_wrapper .dataTables_filter input{border:1px solid var(--border-color);}
.page-content .dataTables_wrapper .dataTables_filter{margin-bottom: 20px;}

/* Status Pills */
.status-pill {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive {
    background-color: #f3f4f6;
    color: #374151;
}

.action-link {
    color: #1a4152;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.action-link:hover {
    text-decoration: none;
}
.common-btn.red{background-color: #dc3545;}
.common-btn.red:hover{background-color: #e64e5d;}

/* Mobile Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 900;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.overlay.active {
    display: block;
    opacity: 1;
}

/***terms*/
.terms-content p{ margin-bottom: 8px;}

/* Custom Tooltip breaking news */
.custom-tooltip {
    display: none;
    position: fixed;
    background: rgba(23, 63, 80, 0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    max-width: 330px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: none;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}
/**dashboard pages*/
.top-title-bar{ display: flex;justify-content: space-between;    align-items: center;margin-bottom: 20px;}
.common-btn{background-color: var(--primary-red-dark);
    color: white;
    border: none;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-transform: capitalize;
    transition: all 0.5s ease;
    font-family: 'Inter', sans-serif;
    padding: 10px 15px;border-radius: 4px;    line-height: normal;}
.common-btn:hover {
    background-color: #287091;
}
table .action-block{ display: flex;gap:10px;justify-content: center;}
/**category page*/
.comment-item .comment-item{ margin-left: 100px; border: none;margin-bottom: 20px;      margin-top: 30px;   background: #f9f9f9;    padding: 20px;    border-radius: 4px;}
.reply-form-container{display: none; margin-top: 15px;}



/**common-form**/
.common-form .input-group{     display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    margin-bottom: 20px;}
.common-form .col-2 { display: flex;gap:20px;}
.input-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.01em;
}
.common-form .input-field{    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: #fff;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;}
.common-form .input-field:focus{outline: none;box-shadow: var(--card-shadow);}
/* File Input Styles */
.common-form .input-field.file-input {
    padding: 0.4rem;cursor: pointer;

}
.common-form textarea.input-field{min-height: 100px;}

.file-input::file-selector-button {
    margin-right: 1rem;
    border: none;
    background: #eee;
    /* Use the inactive background for a neutral look */
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease;
}

.file-input::file-selector-button:hover {
    background-color: #e5e7eb;
    /* Slightly darker grey on hover */
}
.qty-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    user-select: none;
        border: 1px solid var(--border-color);
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;

}
.qty-input {
    width: 50px !important;
    text-align: center;
    padding: 0.5rem !important;
    min-width: auto !important;
    -moz-appearance: textfield;
        border: 1px solid var(--border-color);
        border-radius: 4px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Slightly darker than sidebar overlay */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex; /* Use flex to center */
    opacity: 1;
}

.modal {
    background: #fff;
  padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 10px;
    padding: 20px 30px;
}

.modal-title {
    font-family: 'Canela', serif;
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}
.modal-body{padding: 0 30px;}

.close-modal {
    background: none;
    border: none;
       font-size: 26px;
    cursor: pointer;
    color: var(--text-muted);
    position: absolute;
    right: 20px;
    top: 10px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding: 20px 30px;
}

.custom-loader{ border: 5px dotted #3ba7da;
    border-radius: 50%;
    -webkit-animation: 2s loader linear infinite;
    animation: 2s loader linear infinite;display: block;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    pointer-events: none;
    margin: 10px auto;}


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

/***pagination*/
.dataTables_wrapper .dataTables_paginate.paging_simple_numbers{padding-top: 15px;}
.dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button, .dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button,.dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button.disabled:hover{    background-color: #e7e7e7;
    color: #143b4d !important;
    padding: 4px 13px;
    border: none !important;    font-size: 15px;margin-left: 5px;
   }
.dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button:hover {
 background: #2d7191;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button.current, .dataTables_wrapper .dataTables_paginate.paging_simple_numbers .paginate_button.current:hover{    background-color: #287091;    color: #fff !important;}
.contact-detail {display: grid; grid-template-columns: 1fr 1fr 1fr;gap: 0 30px;}
.contact-detail-row{  padding-bottom: 10px;border-bottom: 1px solid #eee;margin-bottom: 25px;}
.contact-detail-row:last-child{    grid-column: 1 / -1;border:none;padding: 0;margin: 0;}
.contact-detail-row label{font-weight: 600; display: block;}
.select2-results__option{ font-size: 14px;}
.dashboard-content .page-content .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{ top: 5px;}
.dashboard-content .page-content .select2-container--default .select2-selection--multiple .select2-selection__choice__display{ font-size: 13px;}




/* RESPONSIVE */


/* 404 Page Styles */
.error-page-section {
    padding: 100px 0;
    text-align: center;
    background-color: #f8f9fa;
    /* Light background */
    min-height: 60vh;
    /* Ensure it takes up space */
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 150px;
    font-weight:600;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 20px;

}

.error-message {
    font-size: 30px;
    color: var(--primary-red-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.error-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.error-content .common-btn{    padding: 15px 20px;}


@media (max-width: 1199px) {
.popular-item-img {
    width: 70px;
    height: 70px;

}
.container-fluid{padding: 0 15px;}

}


@media (min-width: 1025px) {
.category-listing-right{position: sticky;top:60px;align-self: flex-start;}
}


@media (max-width: 1024px) {
.category-listing{ display: block; }
.blog-single .category-listing-left{margin-bottom: 30px;}
}

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

  .search-bar {
    flex-direction: column;
  }
  .search-section .search-bar{   align-items: flex-start;}
 .search-bar label {padding-left: 0;}
 .search-section .articles-grid {grid-template-columns: repeat(2, 1fr);}

}



/* Responsive  */
@media (max-width: 991px) {
 .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }


}
@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .common-form .col-2 {
  flex-direction: column;flex-wrap: wrap;
}
.contact-detail{display: block;}
.breaking-news-item h4{     max-height: inherit;}

}

@media(max-width: 767px) {
    .breadcrumbs h1{     font-size: 36px;}
    h3,.section-title h3,.post-content h3 {
        font-size: 22px;
    }

    .brand-logo {
        font-size: 22px;
        gap: 5px;

    }

    .brand-logo img {
        width: 44px;
    }

    .social-icons a {
        margin-right: 3px;

    }

    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Reset manual widths as Slick handles responsiveness */


    .footer-links {
        gap: 10px;
    }

    .footer-top {
        padding: 40px 0;
    }

    .footer-content-grid {
        gap: 40px;
    }

    .newsletter-form {
        margin-bottom: 0;
    }

    .top-stories-grid {
        margin-bottom: 40px;
    }

    .featured-row {
        gap: 0;grid-template-columns: 20px 1fr 20px;
    }
    .nav-arrow{ font-size: 18px; }
    .breaking-ticker-wrapper{display: block;height: auto;}
    .breaking-label{ padding: 10px 25px;justify-content: center; }
    .breaking-items-scroll{ padding:15px; }
    .ticker-controls{ justify-content: center; }

.breaking-news-item{ flex-direction: column;justify-content: center;text-align: center; }

.hero-overlay h2{ font-size:  25px;}
.article-card img {
    height: 250px;
    object-fit: cover;
}
.page-title {
    font-size: 30px;

}
.category-listing-left .post-title{font-size: 24px;}
.blog-section-head {
font-size: 24px;
}
.search-section .articles-grid {grid-template-columns: repeat(1,1fr);}
.main-wrapper-login {

    padding: 30px 0px;
}
.custom-tooltip{left: 50% !important; transform: translateX(-50%); width: 260px;}


}



@media (max-width: 992px) {
    .nav-list li a{     padding: 12px 14px; }
    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-nav-section {
        justify-content: center;
        gap: 80px;
    }

    .footer-newsletter-section {
        align-items: center;
        width: 100%;
    }



    .footer-brand-section {
        align-items: center;
        text-align: center;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
    }
 .weltblick .slick-arrow, .weltblick .slick-arrow:hover, .weltblick .slick-arrow:focus{width: 30px;height: 30px;background: #fff;top: 36%;}

.weltblick .slick-prev {left: 0; }
.weltblick .slick-next{ right: 0;}
.weltblick .slick-prev:before, .weltblick .slick-next:before{ font-size: 14px;}
}

@media (max-width: 900px) {
.nav-list li a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;

}
}



@media (max-width: 500px) {
    .footer-nav-section {
        gap: 40px;
        flex-direction: row;
        /* Keep side by side on small screens if possible, or stack */
        justify-content: space-around;
        width: 100%;
    }

    .footer-links-col {
        align-items: center;
    }
    .popular-posts,.newsletter-box {

    padding: 20px;

}
.comment-meta{ flex-direction: column;align-items: flex-start; }
.comment-form .form-row {
            grid-template-columns: 1fr;

        }
.comment-form-container {

    padding: 20px;

}

}
