* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #eee;
}

.top-bar {
    background: linear-gradient(to right, #ff4d00, #ff9a00);
    color: white;
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 5px 10px;
}

.clock-icon {
    width: 14px;
}

.top-right a img {
    width: 18px;
    margin-left: 15px;
}

.main-header {
    background: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    height: 50px;
}

/* Desktop Menu */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.desktop-nav ul li {
    position: relative;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 15px;
}

.desktop-nav ul li.active a {
    color: #ff4d00;
}

.badge {
    position: absolute;
    top: -10px;
    right: -18px;
    font-size: 10px;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}

.badge.new { background: #ff4d00; }
.badge.latest { background: #ff6a00; }
.badge.pro { background: #ff4d00; }

.header-icons a img {
    width: 22px;
    margin-left: 20px;
}

.mobile-bar {
    display: none;
}

/* Dropdown container */
.dropdown-menu {
    display: none;
    width: 100%;
    background: transparent;
    border-top: 1px solid #ddd;
}

.dropdown-menu.active {
    display: block;
}

/* Align menu to right */
.dropdown-menu ul {
    list-style: none;
    width: 320px;              /* adjust size */
    margin-left: auto;         /* push to right */
    margin-right: 30px;        /* space from edge */
    background: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Items */
.dropdown-menu ul li {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

/* ================= Mobile ================= */
@media (max-width: 768px) {

    .top-bar {
        justify-content: center;
    }

    .top-left {
        display: none;
    }

    .top-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 100%;
        margin-bottom: 10px;
    }

    .logo img {
        height: 45px;
        margin: auto;
        display: block;
    }

    /* Hide desktop menu */
    .desktop-nav {
        display: none;
    }

    .header-icons {
        display: none;
    }
   
    .mobile-bar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #ddd;
        padding-top: 10px;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        color: #ff4d00;
        font-weight: bold;
        cursor: pointer;
    }

    .mobile-menu img {
        width: 22px;
        margin-right: 6px;
    }

    .mobile-search img {
        width: 20px;
    }
}



/* ============================= */
/* Footer Main Wrapper           */
/* ============================= */
.footer-dark {
    width: 100%;
    background: #3a3a3a;   /* top footer color */
    color: #ddd;
    border-top: 4px solid #ff4d00;   /* orange line */
}

.footer-top {
    padding: 40px 0;
}

.footer-wrapper {
    width: 100%;
    padding: 0 40px 40px;   /* control side space here */
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.footer-box {
    flex: 1;
    min-width: 280px;
}

.footer-box h3 {
    background: #2f2f2f;
    padding: 12px 15px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 23px;
}

.footer-card {
    background: #2f2f2f;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-card a {
    color: #ddd;
    text-decoration: none;
}

.footer-card a:hover {
    color: #ff4d00;
}

/* ============================= */
/* List Style (Most Read / Categories) */
/* ============================= */

.list-card ul {
    list-style: none;
}

.list-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #444;
    position: relative;
}

.list-card ul li::before {
    content: "›";
    color: #ff4d00;
    margin-right: 8px;
}

/* Bottom Area */
.footer-bottom-area {
    background: #2a2a2a;
    padding: 30px 40px 15px;
}

/* Social container */
.footer-social {
    text-align: center;
    margin-bottom: 15px;
}

/* Circle style */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    background: #3a3a3a;        /* circle color */
    border-radius: 50%;
    transition: 0.3s;
}

/* Icon inside circle */
.footer-social a img {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.footer-social a:hover {
    background: #ff4d00;
    transform: translateY(-3px);
}

.footer-social a:hover img {
    opacity: 1;
}

/* Bottom Row Layout */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

.footer-copy {
    text-align: left;
}

/* Right links */
.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff4d00;
}

/* ============================= */
/* Responsive                    */
/* ============================= */
@media (max-width: 768px) {
 
    .footer-wrapper {
        flex-direction: column;
        padding: 0 20px 30px;
        gap: 20px;
    }
    
    .footer-box {
        width: 100%;
    }
    
    .footer-bottom-area {
        padding: 25px 20px 15px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        margin: 0 5px;
    }

    .footer-social a img {
        width: 16px;
        height: 16px;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
   
    .footer-copy {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .footer-links a {
        margin-left: 0;
    }
}



/* 1st section */
.headline-panel-section {
    background: #eee;
    padding: 30px 60px;
}

/* White wrapper */
.headline-panel {
    background: #fff;
    padding: 15px;
    overflow: hidden;
}

/* Top bar */
.headline-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Label (top-left) */
.headline-panel-label {
    background: #ff4d00;
    color: #fff;
    padding: 2px 10px;
    font-weight: 700;
    font-size: 14px;
}

/* Right control (optional) */
.headline-panel-control {
    background: #ff4d00;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
}

/* Scrolling wrapper */
.headline-panel-wrapper {
    overflow: hidden;
}

/* Moving track */
.headline-panel-track {
    display: flex;
    gap: 40px;
    animation: headlineScroll 30s linear infinite;
}

.headline-panel-wrapper:hover .headline-panel-track {
    animation-play-state: paused;
}

/* Item */
.headline-panel-item {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 420px;
}

.headline-panel-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.headline-panel-text {
    display: flex;
    flex-direction: column;
}

.headline-panel-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 4px;
}

.headline-panel-title {
    font-size: 16px;
    font-weight: 600;
}

/* Animation */
@keyframes headlineScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ===============================
   Headlines Responsive - 768px
================================ */
@media (max-width: 768px) {

    .headline-panel-section {
        padding: 20px 15px;
    }

    .headline-panel {
        padding: 12px;
    }

    /* Top label smaller */
    .headline-panel-label {
        font-size: 12px;
        padding: 2px 8px;
    }

    .headline-panel-control {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Reduce scroll speed slightly for mobile */
    .headline-panel-track {
        gap: 20px;
        animation-duration: 15s;
    }

    .headline-panel-item {
        min-width: 280px;
        gap: 10px;
    }
   
    .headline-panel-item img {
        width: 70px;
        height: 55px;
    }

    .headline-panel-date {
        font-size: 12px;
    }

    .headline-panel-title {
        font-size: 14px;
        line-height: 1.3;
    }
}



/* 2nd section */
.news-combo-section {
    background: #eee;
    padding: 10px 60px;
}

.news-combo-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 25px;
}

.combo-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}
/* ===============================
   LEFT : Latest News
================================ */
.latest-card {
    position: relative;
    margin-bottom: 15px;
}

.latest-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.latest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
}
/* ===============================
   CENTER : Featured
================================ */
.combo-center {
    position: relative;
}

.center-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.center-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.center-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.center-category {
    background: #333;
    padding: 4px 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.center-date {
    font-size: 13px;
}

.center-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.center-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.center-links {
    font-size: 14px;
    padding-left: 18px;
}
/* ===============================
   RIGHT : Popular News
================================ */
.popular-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
}

.popular-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

/* ===============================
   Responsive – 768px
================================ */
@media (max-width: 768px) {

    .news-combo-section {
        padding: 30px 15px;
    }

    /* Single column layout */
    .news-combo-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "center"
            "left"
            "right";
        gap: 20px;
    }

    /* Assign areas */
    .combo-center {
        grid-area: center;
    }

    .combo-left {
        grid-area: left;
    }

    .combo-right {
        grid-area: right;
    }

    .center-image {
        height: 500px;
    }

    .center-overlay {
        padding: 20px;
    }

    .center-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .center-text {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .center-meta {
        margin-bottom: 10px;
        gap: 10px;
    }

    .latest-card img {
        height: 180px;
    }

    .popular-item {
        padding: 12px;
    }

    .popular-item h4 {
        font-size: 15px;
    }

    .combo-title {
        font-size: 20px;
    }
} 



/* 3rd section */
.featured-section {
    background: #eee;
    padding: 40px 60px;
}

.featured-container {
    width: 100%;
}

/* Title */
.featured-header {
    margin-bottom: 25px;
}

.featured-header h2 {
    font-size: 22px;
    font-weight: 700;
    position: relative;
}

.featured-header h2::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background: #ff4d00;
    margin-top: 6px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.featured-card {
    background: #fff;
    padding: 8px;
    border: 1px solid #e5e5e5;
}

.featured-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Overlay content */
.featured-content {
    background: #fff;
    padding: 18px;
    margin: -60px 15px 0;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.featured-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #3e3735;
    margin-bottom: 8px;
}

.featured-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.featured-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.featured-author,
.featured-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-author img,
.featured-date img {
    width: 14px;
    height: 14px;
}

/* Description */
.featured-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-section {
        padding: 30px 15px;
    }

    .featured-content {
        margin: -50px 10px 0;
        padding: 15px;
    }

    .featured-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}



/* 4th section */
.ad-banner-section {
    background: #eee;
    padding: 10px 60px;
}

.ad-banner-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.ad-banner-wrap img {
    width: 100%;
    height: 120px;          /* similar to your image height */
    object-fit: cover;      /* keeps image proportional */
    display: block;
}
/* ===============================
   Ad Banner Responsive - 768px
================================ */
@media (max-width: 768px) {

    .ad-banner-section {
        padding: 10px 15px;   /* reduce side space */
    }

    .ad-banner-wrap {
        max-width: 100%;
    }

    .ad-banner-wrap img {
        height: 37px;         /* smaller height for mobile */
    }
}



/* 5th section */
.post-news-section {
    background: #eee;
    padding: 40px 60px;
}

.post-news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Section titles */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-header h2,
.news-title {
    font-size: 24px;
    font-weight: 700;
}

.post-header h2::after{
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background: #ff4d00;
    margin-top: 6px; 
}

.news-title::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background: #ff4d00;
    margin-top: 6px;
}

/* Filter */
.post-filter span {
    margin-left: 15px;
    font-size: 14px;
    cursor: pointer;
    color: #555;
}

.post-filter .active {
    color: #ff4d00;
    font-weight: 600;
}

/* Layout inside left */
.post-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.post-main {
    background: #fff;
    padding: 8px 8px;
}

.post-main img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

.post-main h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

/* Post list */
.post-item {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 8px 8px;
    margin-bottom: 12px;
}

.post-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
}

.post-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

/* Right news grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.news-card {
    background: #fff;
    padding: 8px 8px;
}

.news-thumb {
    position: relative;
}

.news-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.news-thumb span {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}

.news-card h4 {
    font-size: 14px;
    margin-top: 6px;
}
/* ===============================
   Responsive 768px
================================ */
@media (max-width: 768px) {

    .post-news-section {
        padding: 30px 15px;
    }

    .post-news-container {
        grid-template-columns: 1fr;
    }

    .post-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-main img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns:2, 1fr;
    }
}



/* 6th section */
.triple-news-section {
    background: #eee;
    padding: 10px 60px;
}

.triple-news-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 25px;
}

/* LEFT POSTS */
.triple-post {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 6px;
    margin-bottom: 15px;
}

.triple-thumb {
    position: relative;
}

.triple-thumb img {
    width: 150px;
    height: 130px;
    object-fit: cover;
}

.triple-tag {
    position: absolute;
    bottom: 20px;
    left: 6px;
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}

.triple-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.triple-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.triple-content p {
    font-size: 14px;
    margin-bottom: 6px;
}

.triple-content a {
    font-size: 14px;
    color: #ff4d00;
    text-decoration: none;
}

/* SIDEBAR */
.sidebar-box {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #ff4d00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sidebar-ad {
    width: 100%;
    height: 300px;
    padding: 0px;
}
/* ===============================
   Sidebar Social
================================ */
.sidebar-social {
    display: flex;
    gap: 10px;
}

.sidebar-social a {
    display: block;
    width: 40px;
    height: 40px;
    background: #df1616;
    padding: 8px;
    border-radius: 4px;
}

.sidebar-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* ===============================
   Sidebar Cards (Hot News)
================================ */
.sidebar-card {
    background: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.sidebar-card-img {
    position: relative;
}

.sidebar-card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sidebar-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}

.sidebar-card-title {
    font-size: 15px;
    padding: 8px 10px 4px;
    line-height: 1.4;
}

.sidebar-card-date {
    font-size: 13px;
    color: #777;
    padding: 0 10px;
}

.triple-sidebar {
    position: sticky;
    top: 20px;        /* distance from top while scrolling */
    align-self: start; /* important for grid layouts */
}
/* ===============================
   Responsive 768px
================================ */
@media (max-width: 768px) {

    .triple-news-section {
        padding: 30px 15px;
    }

    .triple-news-container {
        grid-template-columns: 1fr;
    }

    /* Order for mobile */
    .triple-left { order: 1; }
    .triple-middle { order: 2; }
    .triple-sidebar { order: 3; }

    .triple-post {
        flex-direction: column;
    }

    .triple-thumb img {
        width: 100%;
        height: 180px;
    }
}



/* 7th section */
.stories-panel {
    background: #eee;
    padding: 10px 30px;
}

.stories-inner {
    padding: 0 30px;
}

/* Title */
.stories-heading {
    margin-bottom: 25px;
}

.stories-heading h2 {
    font-size: 22px;
    font-weight: 700;
    position: relative;
}

.stories-heading h2::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background: #ff4d00;
    margin-top: 6px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.story-box {
    position: relative;
    overflow: hidden;
    background: #000;
    border: 6px solid #fff;   /* White border */
    
}

.story-box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.story-box:hover img {
    transform: scale(1.06);
}

/* Overlay */
.story-overlay {
    position: absolute;
    inset: 0;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
}

/* Category */
.story-label {
    position: absolute;
    top: 60px;
    left: 100px;
    background: #2b2928;
    padding: 4px 10px;
    font-size: 11px;
    text-transform: uppercase;
}

.story-title {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.story-meta {
    display: flex;
    /* justify-content: space-between; */
    font-size: 13px;
    gap:20px;
    padding-left: 25px;
}

/* Author & Date groups */
.meta-left,
.meta-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icons */
.meta-left img,
.meta-right img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1); /* makes icon white */
}
/* ===============================
   Tablet & Mobile (768px)
================================ */
@media (max-width: 768px) {

    .stories-panel {
        padding: 30px 15px;
    }

    .stories-inner {
        padding: 0;
    }

    /* Grid: 4 → 2 columns */
    .stories-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    /* Image height smaller */
    .story-box img {
        height: 200px;
    }

    /* Border slightly thinner */
    .story-box {
        border: 4px solid #fff;
    }

    /* Overlay padding reduced */
    .story-overlay {
        padding: 25px;
    }

    /* Category position reset (important) */
    .story-label {
        top: 70px;
        left: 120px;
        font-size: 10px;
        padding: 3px 8px;
    }

    /* Title smaller */
    .story-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    /* Meta */
    .story-meta {
        font-size: 12px;
        padding-left: 0;
        gap: 10px;
        justify-content: space-between;
    }

    .meta-left img,
    .meta-right img {
        width: 12px;
        height: 12px;
    }
}



/* detail page */
/* ===============================
   Detail Page Layout (NEW CLASSES)
================================ */

.detail-wrap-area {
    background: #eee;
    padding: 30px 60px;
}

.detail-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* LEFT */
.detail-left-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Breadcrumb */
.detail-breadcrumb-card {
    background:white;
    padding: 12px 15px;
    font-size: 14px;
    color: #555;
}

/* Article Card */
.detail-article-card {
    background: white;
    padding: 25px;
}

/* Category */
.detail-cat-label {
    background: #ff4d00;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Title */
.detail-main-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Meta */
.detail-meta-row {
    display: flex;
    gap: 18px;
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* Image */
.detail-main-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Content */
.detail-content-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* RIGHT SIDEBAR */
.detail-right-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-right-area {
    position: sticky;
    top: 20px;        /* distance from top while scrolling */
    align-self: start; /* important for grid layouts */
}

/* ===============================
   Detail Page Responsive - 768px
================================ */
@media (max-width: 768px) {

    .detail-wrap-area {
        padding: 20px 15px;
    }

    .detail-layout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Left spacing */
    .detail-left-area {
        gap: 15px;
    }

    /* Breadcrumb */
    .detail-breadcrumb-card {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Article */
    .detail-article-card {
        padding: 18px;
    }

    /* Category */
    .detail-cat-label {
        font-size: 11px;
        padding: 3px 8px;
        margin-bottom: 10px;
    }

    /* Title */
    .detail-main-title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    /* Meta */
    .detail-meta-row {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
        margin-bottom: 15px;
    }

    /* Image */
    .detail-main-image img {
        height: 260px;
        margin-bottom: 15px;
    }

    /* Content */
    .detail-content-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Sidebar moves below */
    .detail-right-area {
        gap: 15px;
    }
     .detail-content-text p:first-of-type::first-letter {
        font-size: 32px;
        font-weight: 700;
        float: left;
        line-height: 1;
        margin-right: 6px;
        margin-top: 3px;
    }
} 


/* 2nd row */
/* White card container */
.related-card-wrapper {
    background: #fff;
    padding: 15px;
    margin-top: 25px;
}

/* Heading */
.related-card-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.related-card-heading::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #ff4d00;
    margin-top: 6px;
}

/* Grid */
.related-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Item */
.related-card-item {
    display: flex;
    gap: 15px;
}

/* Image */
.related-card-image img {
    width: 130px;
    height: 90px;
    object-fit: cover;
}

/* Text */
.related-card-title {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Meta */
.related-card-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .related-card-grid {
        grid-template-columns: 1fr;
    }

    .related-card-title {
        font-size: 16px;
    }
}



/* author page */
/* ===============================
   Author Banner Section
================================ */

.author-banner-area {
    background: #eee;
    padding: 30px 60px;
}

.author-banner-container {
    background: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Avatar */
.author-banner-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

/* Info */
.author-banner-name {
    font-size: 32px;
    margin-bottom: 10px;
}

.author-banner-bio {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
}

/* ===============================
   Responsive - 768px
================================ */
@media (max-width: 768px) {

    .author-banner-area {
        padding: 25px 15px;
    }

    .author-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

    .author-banner-avatar img {
        width: 120px;
        height: 120px;
    }

    .author-banner-name {
        font-size: 24px;
    }

    .author-banner-bio {
        font-size: 15px;
    }
}



/* about page */
/* ===============================
   About Page Styles (New Classes)
================================ */

.about-page-wrapper {
    background: #eee;
    padding: 40px 60px;
}

.about-page-container {
    background: #fff;
    padding: 40px;
    max-width: 1000px;
    margin: auto;
}

.about-page-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-page-intro {
    font-size: 16px;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-page-section {
    margin-top: 35px;
}

.about-page-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-page-divider {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-bottom: 18px;
}

.about-page-subtitle {
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* Principles box */
.about-page-principle {
    border-left: 3px solid #ff4d00;
    padding-left: 15px;
    margin-bottom: 18px;
}

.about-page-principle h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

/* Promise list */
.about-page-list {
    list-style: none;
    padding: 0;
}

.about-page-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
}

.about-page-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff4d00;
    font-weight: bold;
}

/* ===============================
   Responsive - 768px
================================ */

@media (max-width: 768px) {

    .about-page-wrapper {
        padding: 25px 15px;
    }

    .about-page-container {
        padding: 25px;
    }

    .about-page-title {
        font-size: 26px;
    }

    .about-page-heading {
        font-size: 20px;
    }

    .about-page-intro {
        font-size: 15px;
    }

    .about-page-principle {
        padding-left: 12px;
    }
}