/* ===== BLOG PAGE SECTION ===== */
.blog-page-section {
    padding: 80px 0 100px;
    background: var(--bg-white);
}

/* ===== BLOG TOOLBAR ===== */
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    padding: 25px 30px;
    background: var(--bg-light);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.blog-search {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.blog-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-search input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 133, 59, 0.1);
}

.blog-search input::placeholder {
    color: var(--text-muted);
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--bg-white);
    color: var(--text-body);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.25);
}

/* ===== BLOG PAGE GRID ===== */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== BLOG PAGE CARD ===== */
.blog-page-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-page-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-page-card:hover .blog-page-img img {
    transform: scale(1.05);
}

.blog-page-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-page-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.blog-page-tag {
    padding: 4px 12px;
    background: var(--bg-cream);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-page-body h3 {
    margin-bottom: 12px;
}

.blog-page-body h3 a {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-page-body h3 a:hover {
    color: var(--accent);
}

.blog-page-body>p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.blog-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-page-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-page-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-page-author span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.blog-page-read {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-page-read:hover {
    gap: 10px;
}

/* ===== NO RESULTS ===== */
.blog-no-results {
    text-align: center;
    padding: 80px 20px;
}

.blog-no-results i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 20px;
}

.blog-no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.blog-no-results p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================
   VIDEO SINGLE PAGE
   ============================================ */

.single-article-page {
    padding: 205px 0 90px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

.single-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}

.single-article-main {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.single-article-sidebar {
    position: sticky;
    top: 110px;
}

.article-title {
    font-family: 'Cairo', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 22px;
}

.article-featured-image {
    margin-top: 10px;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 24px 20px;
}

.sidebar-widget h5 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.sidebar-widget a span {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   ARTICLE / POST PAGE STYLES
   ============================================ */

/* ===== ARTICLE HERO ===== */
.article-hero {
    position: relative;
    padding: 220px 0 80px;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 48, 0.3) 0%, rgba(15, 26, 48, 0.85) 70%, rgba(15, 26, 48, 0.95) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.article-back:hover {
    color: var(--accent-light);
}

.article-hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.article-hero-tags .blog-page-tag {
    background: rgba(232, 133, 59, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(232, 133, 59, 0.3);
    padding: 5px 14px;
    font-size: 0.8rem;
}

.article-hero-content h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.article-author-info strong {
    display: block;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
}

.article-author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.article-meta-items {
    display: flex;
    gap: 20px;
}

.article-meta-items span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.article-meta-items i {
    color: var(--accent-light);
}

/* ===== ARTICLE LAYOUT ===== */
.article-section {
    padding: 60px 0 100px;
    background: var(--bg-white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
    max-width: 100%;
    min-width: 0;
}

.article-body {
    max-width: 100%;
    min-width: 0;
}

.article-body > * {
    max-width: 100%;
}

.article-body img,
.article-body video,
.article-body iframe,
.article-body embed,
.article-body object {
    max-width: 100%;
}

.article-body img,
.article-body video {
    height: auto;
    border-radius: 12px;
}

.article-body iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
}

.article-body table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-body table th,
.article-body table td {
    min-width: 140px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: start;
}

.article-body pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
    border-radius: 12px;
    background: #0f1a30;
    color: #f5f7fb;
    direction: ltr;
    text-align: left;
}

.article-body code {
    word-break: break-word;
}

.article-body a {
    overflow-wrap: anywhere;
}

.article-content .article-lead {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-body);
    font-weight: 500;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-cream);
}

.article-content h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 40px 0 18px;
    position: relative;
    padding-right: 18px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--accent-gradient);
    border-radius: 4px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-body);
    margin-bottom: 20px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 30px 35px;
    background: linear-gradient(135deg, var(--bg-cream), #fff9f2);
    border-right: 5px solid var(--accent);
    border-radius: 0 14px 14px 0;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-dark);
    position: relative;
}

.article-content blockquote i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.article-content ol,
.article-content ul {
    margin: 20px 0 25px;
    padding-right: 25px;
}

.article-content li {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-body);
    margin-bottom: 10px;
    position: relative;
}

.article-content li strong {
    color: var(--text-dark);
}

.article-content ul li::marker {
    color: var(--accent);
}

.article-content ol li::marker {
    color: var(--accent);
    font-weight: 700;
}

/* ===== ARTICLE HIGHLIGHTS ===== */
.article-highlights {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 50%, #fff9f2 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

@keyframes highlightIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.article-highlights h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-highlights h4 i {
    color: var(--accent);
    font-size: 1.2rem;
    animation: highlightIconPulse 2s ease-in-out infinite;
}

.article-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-highlights li {
    position: relative;
    padding: 16px 20px 16px 50px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid rgba(232, 133, 59, 0.1);
    transition: all 0.3s ease;
}

.article-highlights li:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.12);
    border-color: rgba(232, 133, 59, 0.25);
}

.article-highlights li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 18px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #E8853B, #F5A862);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(232, 133, 59, 0.3);
}

.article-highlights li.hidden-highlight {
    display: none;
}

.highlights-toggle-btn {
    margin-top: 16px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #E8853B, #F5A862);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.25);
}

.highlights-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 133, 59, 0.35);
}

.highlights-toggle-btn i {
    transition: transform 0.3s ease;
}

.highlights-toggle-btn.expanded i {
    transform: rotate(180deg);
}

/* ===== ARTICLE TIP BOX ===== */
.article-tip {
    display: flex;
    gap: 18px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.06), rgba(39, 174, 96, 0.02));
    border: 1px solid rgba(39, 174, 96, 0.15);
    border-radius: 14px;
    margin: 30px 0;
    align-items: flex-start;
}

.article-tip-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, #27AE60, #6FCF97);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.article-tip strong {
    color: #27AE60;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.article-tip div:last-child {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
}

/* ===== ARTICLE TAGS FOOTER ===== */
.article-tags-footer {
    margin-top: 40px;
    padding: 25px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.article-tags-footer strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-tags-footer strong i {
    color: var(--accent);
}

.article-tags-footer .blog-page-tag {
    margin: 0;
    transition: all 0.3s ease;
}

.article-tags-footer .blog-page-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 133, 59, 0.2);
}

/* ===== ARTICLE SHARE ===== */
.article-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-cream);
}

.article-share h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.article-share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.share-twitter {
    background: #1DA1F2;
}

.share-facebook {
    background: #4267B2;
}

.share-linkedin {
    background: #0A66C2;
}

.share-whatsapp {
    background: #25D366;
}

.share-copy {
    background: var(--primary);
}

/* ===== SIDEBAR ===== */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-author-card {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 50%, #fff9f2 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.sidebar-author-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--bg-cream);
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.15);
}

.sidebar-author-card h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.sidebar-author-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.sidebar-author-card .btn {
    font-size: 0.85rem;
    padding: 10px 25px;
}

.sidebar-related {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.sidebar-related h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-related h4 i {
    color: var(--accent);
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-related-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-white);
    transition: box-shadow 0.3s ease;
}

.sidebar-related-item:hover {
    box-shadow: var(--shadow-sm);
}

.sidebar-related-item img {
    width: 70px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-related-item h5 {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 4px;
}

.sidebar-related-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== PROJECT INFO LIST (SIDEBAR) ===== */
.project-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid rgba(232, 133, 59, 0.1);
    transition: all 0.3s ease;
}

.project-info-item:hover {
    border-color: rgba(232, 133, 59, 0.25);
    box-shadow: 0 2px 8px rgba(232, 133, 59, 0.08);
}

.info-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}

/* ===== PARTNER CARD (SIDEBAR) ===== */
.sidebar-partner-section {
    margin-top: 30px;
}

.partner-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 50%, #fff9f2 100%);
    border: 2px solid rgba(232, 133, 59, 0.15);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.08);
}

.partner-card-header {
    background: linear-gradient(135deg, #E8853B, #F5A862);
    color: white;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.partner-card-header i {
    font-size: 1.1rem;
}

.partner-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.partner-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.partner-details {
    width: 100%;
}

.partner-name {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.partner-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-cream);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== SIDEBAR CATEGORIES LIST ===== */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-categories-list li a:hover {
    background: var(--bg-cream);
    color: var(--accent);
    transform: translateX(-4px);
}

.filter-count {
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

/* ===== RELATED BLOGS SECTION ===== */
.related-blogs-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 3px solid var(--bg-cream);
}

.related-blogs-section h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-blogs-section h3 i {
    color: var(--accent);
    font-size: 1.6rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-article-layout {
        grid-template-columns: 1fr;
    }

    .single-article-sidebar {
        position: static;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-author-card,
    .sidebar-related {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .single-article-page {
        padding: 178px 0 70px;
    }

    .single-article-main {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .article-title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .blog-page-section {
        padding: 50px 0 70px;
    }

    .blog-toolbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .blog-search {
        max-width: 100%;
    }

    .blog-filters {
        justify-content: center;
    }

    .blog-page-grid {
        grid-template-columns: 1fr;
    }

    .article-hero {
        padding: 185px 0 50px;
        min-height: 350px;
    }

    .article-hero-content h1 {
        font-size: 1.8rem;
    }

    .article-hero-tags {
        flex-wrap: wrap;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-meta-items {
        flex-wrap: wrap;
        gap: 12px;
    }

    .article-highlights {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .article-highlights h4 {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .article-highlights li {
        font-size: 0.95rem;
        padding: 14px 16px 14px 44px;
    }

    .article-highlights li::before {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        right: 14px;
        top: 16px;
    }

    .highlights-toggle-btn {
        padding: 11px 24px;
        font-size: 0.9rem;
    }

    .article-tags-footer {
        padding: 20px;
        gap: 10px;
    }

    .article-tags-footer strong {
        font-size: 0.9rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.95rem;
    }

    .article-content blockquote {
        padding: 20px 25px;
    }

    .article-share-links {
        flex-wrap: wrap;
    }

    .sidebar-related-item {
        align-items: flex-start;
    }

    .sidebar-related-item h5 {
        font-size: 0.84rem;
    }

    .sidebar-author-card,
    .sidebar-related {
        min-width: 100%;
    }

    .project-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 14px;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }

    .partner-card-body {
        padding: 16px;
    }

    .partner-logo {
        max-width: 150px;
    }

    .partner-name {
        font-size: 1rem;
    }

    .sidebar-categories-list li a {
        font-size: 0.88rem;
        padding: 9px 12px;
    }

    .related-blogs-section {
        margin-top: 50px;
        padding-top: 35px;
    }

    .related-blogs-section h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .single-article-page {
        padding: 168px 0 55px;
    }

    .article-title {
        font-size: 1.45rem;
    }

    .sidebar-widget {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .article-hero {
        padding: 170px 0 40px;
        min-height: 300px;
    }

    .article-hero-content h1 {
        font-size: 1.5rem;
    }

    .article-back {
        margin-bottom: 16px;
    }

    .article-meta {
        gap: 12px;
    }

    .article-author-info {
        align-items: flex-start;
    }

    .article-author-info img {
        width: 42px;
        height: 42px;
    }

    .article-meta-items span {
        font-size: 0.82rem;
    }

    .article-highlights {
        padding: 20px 16px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .article-highlights h4 {
        font-size: 1.05rem;
        margin-bottom: 14px;
        gap: 8px;
    }

    .article-highlights h4 i {
        font-size: 1rem;
    }

    .article-highlights ul {
        gap: 10px;
    }

    .article-highlights li {
        font-size: 0.9rem;
        padding: 12px 14px 12px 40px;
        line-height: 1.7;
    }

    .article-highlights li::before {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        right: 12px;
        top: 14px;
    }

    .highlights-toggle-btn {
        padding: 10px 22px;
        font-size: 0.88rem;
        gap: 6px;
    }

    .article-tags-footer {
        padding: 18px 16px;
        gap: 10px;
    }

    .article-tags-footer strong {
        font-size: 0.88rem;
        width: 100%;
        margin-bottom: 4px;
    }

    .article-content .article-lead {
        font-size: 1rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.92rem;
        line-height: 1.9;
    }

    .article-content blockquote {
        padding: 18px;
        font-size: 1rem;
    }

    .article-body iframe {
        min-height: 220px;
    }

    .external-article-url {
        overflow-wrap: anywhere;
    }

    .blog-page-img {
        height: 180px;
    }

    .share-link {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .project-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    .info-label,
    .info-value {
        font-size: 0.82rem;
    }

    .partner-card-header {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .partner-card-body {
        padding: 14px;
        gap: 10px;
    }

    .partner-logo {
        max-width: 130px;
        padding: 10px;
    }

    .partner-name {
        font-size: 0.95rem;
    }

    .partner-type {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .sidebar-categories-list li a {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .filter-count {
        font-size: 0.7rem;
        padding: 2px 6px;
        min-width: 20px;
    }

    .related-blogs-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .related-blogs-section h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        gap: 8px;
    }

    .related-blogs-section h3 i {
        font-size: 1.2rem;
    }
}

/* ===== EXTERNAL ARTICLE CARD ===== */
.external-article-card {
    text-align: center;
    padding: 50px 35px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 50%, #fff9f2 100%);
    border: 2px solid rgba(232, 133, 59, 0.15);
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.external-article-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 133, 59, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.external-article-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(27, 42, 74, 0.04), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.external-article-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8853B, #F5A862);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(232, 133, 59, 0.3);
    animation: externalIconPulse 3s ease-in-out infinite;
}

.external-article-card-icon i {
    font-size: 1.5rem;
    color: white;
}

@keyframes externalIconPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(232, 133, 59, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(232, 133, 59, 0.45); }
}

.external-article-card h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary, #1B2A4A);
    margin-bottom: 10px;
}

.external-article-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #7a7a7a);
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.external-article-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #E8853B, #F5A862);
    color: white !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(232, 133, 59, 0.3);
    position: relative;
    z-index: 1;
}

.external-article-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 133, 59, 0.4);
    color: white !important;
}

.external-article-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.external-article-cta:hover i {
    transform: translate(-3px, -3px);
}

.external-article-url {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted, #aaa);
    direction: ltr;
    font-weight: 500;
}

@media (max-width: 768px) {
    .external-article-card {
        padding: 35px 20px;
    }

    .external-article-card h3 {
        font-size: 1.2rem;
    }

    .external-article-card-icon {
        width: 60px;
        height: 60px;
    }

    .external-article-card-icon i {
        font-size: 1.2rem;
    }

    .external-article-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}
