/*
Theme Name: Your Medical Hub
Theme URI: https://yourmedicalhub.in
Author: Rahil Mohammad
Author URI: https://rahilmohammad.in
Description: Your Medical Hub is a modern, clean, and fully responsive WordPress theme crafted for medical students and educators. Optimized for fast performance and mobile-first design, it’s ideal for sharing study materials, notes, guides, and medical resources. AdSense-ready and easy to customize.
Version: 2.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yourmedicalhub
Tags: responsive, medical, education, clean, fast, adsense-ready, mobile-first, learning, students
*/

/* --- Basic Reset & Typography --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #333; background-color: #f7f9fa; line-height: 1.6; }
a { text-decoration: none; color: #007788; }
a:hover { color: #005566; }

/* --- Header & Navigation --- */
.site-header { background: #ffffff; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eef2f3; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.logo a { font-size: 24px; font-weight: 700; color: #007788; }
.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav a { font-weight: 600; color: #555; }

/* ==========================================================================
   YOUR MEDICAL HUB - CORE EDTECH HOMEPAGE FRAMEWORK STYLING
   ========================================================================== */

/* Premium Medical Hero Layout */
.ymh-premium-hero { 
    background: linear-gradient(135deg, #0f2d3a 0%, #004d58 100%); 
    color: #ffffff; 
    padding: 100px 5%; 
    text-align: center; 
    position: relative; 
}
.ymh-hero-content { max-width: 850px; margin: 0 auto; position: relative; z-index: 5; }
.ymh-hero-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: rgba(0, 168, 150, 0.2); 
    border: 1px solid #00a896; 
    color: #00a896; 
    padding: 6px 16px; 
    border-radius: 30px; 
    font-size: 13px; 
    font-weight: 700; 
    margin-bottom: 25px; 
    text-transform: uppercase;
}
.ymh-premium-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; margin-bottom: 20px; letter-spacing: -0.5px; }
.ymh-premium-hero p { font-size: 19px; line-height: 1.6; opacity: 0.85; margin-bottom: 35px; }

.ymh-hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.ymh-btn-primary { background: linear-gradient(90deg, #007788, #00a896); color: #fff; padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: all 0.3s; }
.ymh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,168,150,0.4); color: #fff; }
.ymh-btn-secondary { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: all 0.3s; }
.ymh-btn-secondary:hover { background: #fff; color: #0f2d3a; transform: translateY(-2px); }

/* Success Steps Implementation Layout */
.ymh-success-steps-section { max-width: 1200px; margin: 70px auto 40px; padding: 0 20px; text-align: center; }
.ymh-section-header { margin-bottom: 50px; }
.ymh-subtitle { font-size: 12px; font-weight: 800; color: #007788; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.ymh-core-heading { font-size: 32px; color: #0f2d3a; font-weight: 800; }
.ymh-section-desc { font-size: 15px; color: #718096; max-width: 600px; margin: 10px auto 0; }

.ymh-steps-timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.step-timeline-card { background: #ffffff; border: 1px solid #e2e8f0; padding: 40px 30px 30px 30px; border-radius: 16px; text-align: left; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.step-timeline-card:hover { transform: translateY(-5px); border-color: #007788; box-shadow: 0 12px 30px rgba(0,119,136,0.06); }

.step-number-badge { position: absolute; top: -15px; left: 30px; background: #0f2d3a; color: #ffffff; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.step-timeline-card:hover .step-number-badge { background: #007788; }

.step-icon-wrapper { font-size: 24px; color: #007788; margin-bottom: 20px; width: 48px; height: 48px; background: #f0f9fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.step-timeline-card h3 { font-size: 19px; color: #0f2d3a; font-weight: 700; margin-bottom: 12px; }
.step-timeline-card p { font-size: 14px; color: #4a5568; line-height: 1.6; }

/* Institutional Trust Counter Ticker */
/* ==========================================================================
   YOUR MEDICAL HUB - CORE PILLARS SECTION (REAL VALUE VISUALS)
   ========================================================================== */
.ymh-pillars-section { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 60px 0; margin-bottom: 50px; }
.ymh-pillars-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ymh-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.pillar-block { background: #ffffff; border: 1px solid #e2e8f0; padding: 25px; border-radius: 12px; display: flex; flex-direction: column; gap: 12px; transition: all 0.25s ease; }
.pillar-block:hover { border-color: #00a896; box-shadow: 0 4px 15px rgba(0, 168, 150, 0.05); }

.pillar-icon { font-size: 20px; color: #00a896; width: 40px; height: 40px; background: #e6fffa; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.pillar-block h4 { font-size: 16px; font-weight: 700; color: #0f2d3a; }
.pillar-block p { font-size: 13px; color: #718096; line-height: 1.6; }

/* Mobile View Breakpoints for Core Pillars */
@media (max-width: 900px) {
    .ymh-pillars-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Main Hub Layout Grid Matrix System */
.ymh-homepage-layout-matrix { max-width: 1200px; margin: 0 auto 70px; padding: 0 20px; display: grid; grid-template-columns: 2.3fr 1fr; gap: 40px; }
.ymh-section-header-inline { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #e2e8f0; padding-bottom: 15px; margin-bottom: 35px; }
.ymh-core-heading-sm { font-size: 22px; color: #0f2d3a; font-weight: 800; }

.live-pulse-container { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #dd6b20; background: #fffaf0; padding: 4px 12px; border-radius: 6px; border: 1px solid #feebc8; text-transform: uppercase; }
.pulse-dot { width: 8px; height: 8px; background: #dd6b20; border-radius: 50%; animation: pulseAnimation 1.5s infinite; }
@keyframes pulseAnimation { 0% { transform: scale(0.9); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.4; } 100% { transform: scale(0.9); opacity: 1; } }

/* Corporate Grade Post Cards Layout */
.ymh-premium-posts-grid { display: flex; flex-direction: column; gap: 28px; }
.ymh-corporate-post-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.5fr; box-shadow: 0 4px 20px rgba(15,45,58,0.02); transition: all 0.3s; }
.ymh-corporate-post-card:hover { border-color: #cbd5e0; box-shadow: 0 8px 30px rgba(15,45,58,0.06); }

.ymh-card-thumbnail-wrapper { position: relative; width: 100%; height: 100%; min-height: 220px; overflow: hidden; background: #edf2f7; }
.ymh-card-thumbnail-wrapper img { width: 100%; height: 100%; object-fit: cover; position: absolute; transition: transform 0.5s ease; }
.ymh-corporate-post-card:hover .ymh-card-thumbnail-wrapper img { transform: scale(1.03); }

/* Fallback Image State */
.ymh-fallback-logo-placeholder { position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%); color: #007788; padding: 20px; text-align: center; }
.placeholder-icon { font-size: 38px; margin-bottom: 8px; opacity: 0.85; }
.placeholder-text { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #486581; }

.ymh-card-body-details { padding: 28px; display: flex; flex-direction: column; }
.ymh-card-meta-top { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; font-size: 12px; color: #718096; }
.ymh-badge-category a { background: #e6f7f4; color: #00a896; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; font-size: 11px; }
.ymh-card-title { font-size: 21px; line-height: 1.4; font-weight: 700; margin-bottom: 12px; }
.ymh-card-title a { color: #0f2d3a; }
.ymh-card-title a:hover { color: #007788; }
.ymh-card-excerpt { font-size: 14px; color: #4a5568; line-height: 1.65; margin-bottom: 20px; }
.ymh-card-footer { margin-top: auto; }
.ymh-readmore-link { font-size: 13px; font-weight: 700; color: #007788; display: inline-flex; align-items: center; gap: 5px; }
.ymh-readmore-link:hover { color: #00a896; }

/* Ultra-Premium Corporate Pagination System */
.ymh-corporate-pagination { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.ymh-corporate-pagination ul { list-style: none; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0; }
.ymh-corporate-pagination ul li span.current { background: #0f2d3a; color: #ffffff; border-color: #0f2d3a; }
.ymh-corporate-pagination ul li a, .ymh-corporate-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #e2e8f0; background: #ffffff; color: #2d3748; font-size: 14px; font-weight: 700; transition: all 0.2s ease; }
.ymh-corporate-pagination ul li a:hover { border-color: #007788; color: #007788; background: #f0f9fa; }


/* ==========================================================================
   STRICT MOBILE-FIRST RESPONSIVE DESIGN ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1024px) {
    .ymh-homepage-layout-matrix { grid-template-columns: 1fr; }
    .ymh-steps-timeline-grid { grid-template-columns: 1fr; gap: 20px; }
    .ymh-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .ymh-premium-hero { padding: 60px 20px; }
    .ymh-premium-hero h1 { font-size: 30px; }
    .ymh-premium-hero p { font-size: 16px; }
    
    .ymh-core-heading { font-size: 24px; }
    .step-timeline-card { padding: 35px 20px 20px 20px; }
    
    .ymh-metrics-grid { grid-template-columns: 1fr; gap: 20px; }
    .ymh-corporate-post-card { grid-template-columns: 1fr; }
    .ymh-card-thumbnail-wrapper { min-height: 190px; }
    
    .ymh-card-body-details { padding: 20px; }
    .ymh-card-title { font-size: 18px; }
    .ymh-section-header-inline { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .ymh-corporate-pagination ul { flex-wrap: wrap; }
}

/* --- Footer --- */
.site-footer { background: #222; color: #bbb; text-align: center; padding: 20px; margin-top: 60px; font-size: 14px; }

/* ==========================================================================
   YOUR MEDICAL HUB - ULTRA PREMIUM CORPORATE MEDICAL UI CODE
   ========================================================================== */

/* Font Awesome & Google Fonts integration fallback wrapper layout mechanics */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Global Variables Override for Consistency */
:root {
    --primary-medical: #007788;
    --secondary-medical: #00a896;
    --dark-slate: #0f2d3a;
    --body-text-color: #2d3748;
    --light-bg-gray: #f8fafc;
    --border-subtle: #e2e8f0;
    --card-shadow: 0 4px 20px rgba(15, 45, 58, 0.05);
}

/* Premium Hero Header */
.ymh-post-hero-header { background: #ffffff; padding: 40px 0; border-bottom: 1px solid var(--border-subtle); position: relative; }
.ymh-hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Breadcrumbs CSS */
.ymh-breadcrumbs { font-size: 13px; color: #718096; margin-bottom: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ymh-breadcrumbs a { color: var(--primary-medical); font-weight: 600; }
.ymh-breadcrumbs .sep { font-size: 10px; color: #a0aec0; }

/* Trust Badge */
.ymh-trust-badge { display: inline-flex; align-items: center; gap: 8px; background: #e6fffa; border: 1px solid #b2f5ea; padding: 6px 14px; border-radius: 30px; margin-bottom: 20px; }
.ymh-trust-badge .badge-icon { color: var(--secondary-medical); font-size: 14px; }
.ymh-trust-badge .badge-text { color: #234e52; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Main Title styling */
.ymh-hero-title { font-size: 38px; color: var(--dark-slate); line-height: 1.25; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 25px; }

/* Meta Rows Info Card */
.ymh-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; border-top: 1px dashed var(--border-subtle); padding-top: 20px; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-item .meta-label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: #718096; letter-spacing: 0.5px; }
.meta-item .meta-value { font-size: 15px; font-weight: 700; color: var(--dark-slate); }
.meta-item .meta-value-badge { font-size: 13px; font-weight: 700; color: var(--primary-medical); background: #ebf8ff; padding: 4px 12px; border-radius: 6px; border: 1px solid #bee3f8; }

.author-profile { flex-direction: row; align-items: center; gap: 12px; }
.author-profile img { border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); border: 2px solid #fff; outline: 2px solid var(--primary-medical); }

/* Layout Wrapper Matrix */
.ymh-main-layoutwrapper { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2.3fr 1fr; gap: 40px; }

/* Article Card Box Styling */
.ymh-premium-article-body { background: #ffffff; border-radius: 16px; border: 1px solid var(--border-subtle); box-shadow: var(--card-shadow); padding: 40px; overflow: hidden; }

/* Article Hero Image Styling */
.ymh-article-hero-thumb { margin: -40px -40px 35px -40px; border-bottom: 1px solid var(--border-subtle); }
.ymh-article-hero-thumb img { width: 100%; height: auto; max-height: 450px; object-fit: cover; display: block; }

/* Medical Notice Banner */
.ymh-quick-notice-box { background: #fffaf0; border-left: 4px solid #dd6b20; padding: 16px 20px; border-radius: 4px; display: flex; gap: 15px; margin-bottom: 35px; align-items: flex-start; border: 1px solid #feebc8; border-left-width: 4px; }
.ymh-quick-notice-box .notice-icon { color: #dd6b20; font-size: 18px; line-height: 1; }
.ymh-quick-notice-box .notice-text { font-size: 14px; color: #744210; line-height: 1.5; }

/* High-Yield Clean Educational Content Typography */
.ymh-core-content-render { font-size: 18px; color: var(--body-text-color); line-height: 1.85; letter-spacing: -0.1px; }
.ymh-core-content-render p { margin-bottom: 26px; }
.ymh-core-content-render h2 { font-size: 26px; color: var(--dark-slate); font-weight: 700; margin: 45px 0 20px 0; border-bottom: 2px solid var(--border-subtle); padding-bottom: 8px; }
.ymh-core-content-render h3 { font-size: 21px; color: var(--primary-medical); font-weight: 600; margin: 35px 0 15px 0; }

/* Table and Medical Data Lists Custom CSS styling */
.ymh-core-content-render ul, .ymh-core-content-render ol { margin: 0 0 25px 25px; }
.ymh-core-content-render li { margin-bottom: 10px; }

/* Interactive Blocks inside Single Post Content */
.ymh-core-content-render blockquote { background: var(--light-bg-gray); border-left: 5px solid var(--primary-medical); padding: 25px; margin: 35px 0; border-radius: 4px; font-style: normal; font-weight: 500; color: #4a5568; box-shadow: inset 0 0 10px rgba(0,0,0,0.01); }

/* Premium Tags Array Layout */
.ymh-tags-wrapper { margin-top: 45px; padding-top: 30px; border-top: 1px dashed var(--border-subtle); display: flex; flex-direction: column; gap: 12px; }
.tags-heading { font-size: 14px; font-weight: 700; color: var(--dark-slate); text-transform: uppercase; letter-spacing: 0.5px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-list a { background: var(--light-bg-gray); padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #4a5568; border: 1px solid var(--border-subtle); transition: all 0.2s ease; }
.tags-list a:hover { background: var(--primary-medical); color: #fff; border-color: var(--primary-medical); transform: translateY(-1px); }

/* Corporate Author Showcase Block */
.ymh-author-corporate-card { background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 35px; margin-top: 40px; box-shadow: var(--card-shadow); }
.corp-author-top { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.corp-author-top img { border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.corp-author-title-block h4 { font-size: 20px; color: var(--dark-slate); font-weight: 700; }
.corp-author-title-block .author-subtitle { font-size: 13px; color: var(--primary-medical); font-weight: 600; }
.corp-author-bio { font-size: 14px; color: #4a5568; line-height: 1.6; margin-bottom: 20px; }
.corp-author-footer { border-top: 1px solid var(--border-subtle); padding-top: 15px; }
.verified-instructor { font-size: 12px; font-weight: 700; color: var(--secondary-medical); background: #e6fffa; padding: 4px 10px; border-radius: 4px; }

/* Micro Dual Navigation Deck System */
.ymh-dual-navigation-deck { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 35px; }
.nav-deck-box { background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px; box-shadow: var(--card-shadow); transition: all 0.3s ease; }
.nav-deck-box:hover { border-color: var(--primary-medical); transform: translateY(-2px); }
.nav-deck-box a { display: flex; flex-direction: column; gap: 6px; }
.deck-direction { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #718096; letter-spacing: 0.5px; }
.deck-title { font-size: 15px; font-weight: 700; color: var(--dark-slate); line-height: 1.4; transition: color 0.2s; }
.nav-deck-box:hover .deck-title { color: var(--primary-medical); }
.next-deck { text-align: right; }

/* ==========================================================================
   YOUR MEDICAL HUB - SIDEBAR & DISCUSSION MODULE ELITE DESIGN
   ========================================================================== */

/* --- SIDEBAR CODELINE CORE --- */
.ymh-corporate-sidebar { display: flex; flex-direction: column; gap: 30px; }

.sidebar-premium-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; box-shadow: 0 4px 20px rgba(15, 45, 58, 0.03); position: relative; overflow: hidden; }

/* Special Glimmer Card effect for important sections */
.highlight-card { border-top: 3px solid #007788; }
.card-glow-bar { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #007788, #00a896); }

.sb-card-title { font-size: 16px; font-weight: 700; color: #0f2d3a; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; }
.sb-card-title i { color: #007788; font-size: 18px; }

/* Category Layout Grid system */
.sb-category-grid { display: flex; flex-direction: column; gap: 10px; }
.sb-grid-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8fafc; border: 1px solid #edf2f7; border-radius: 8px; transition: all 0.25s ease; color: #4a5568; font-size: 14px; font-weight: 600; }
.sb-grid-item:hover { background: #007788; color: #ffffff; border-color: #007788; transform: translateX(3px); }
.cat-count { font-size: 11px; background: #e2e8f0; color: #4a5568; padding: 2px 8px; border-radius: 20px; transition: all 0.25s ease; }
.sb-grid-item:hover .cat-count { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* Modern Minimalist Timeline Feed for Updates */
.sb-timeline-feed { display: flex; flex-direction: column; position: relative; padding-left: 14px; }
.sb-timeline-feed::before { content: ''; position: absolute; left: 4px; top: 5px; bottom: 5px; width: 2px; background: #e2e8f0; }
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -14px; top: 6px; width: 10px; height: 10px; background: #ffffff; border: 2px solid #00a896; border-radius: 50%; z-index: 2; transition: all 0.3s; }
.timeline-item:hover .timeline-dot { background: #00a896; scale: 1.2; }
.timeline-content { display: flex; flex-direction: column; gap: 4px; padding-left: 10px; }
.timeline-date { font-size: 11px; font-weight: 700; color: #a0aec0; text-transform: uppercase; }
.timeline-link { font-size: 14px; font-weight: 600; color: #2d3748; line-height: 1.4; }
.timeline-link:hover { color: #007788; }

/* Notice / Ad Panel styling */
.ad-placeholder-card { background: linear-gradient(145deg, #0f2d3a, #071922); color: #fff; border: none; }
.ad-badge { font-size: 9px; background: rgba(255,255,255,0.15); color: #cbd5e0; padding: 3px 8px; border-radius: 4px; width: fit-content; font-weight: 700; margin-bottom: 15px; letter-spacing: 0.5px; }
.ad-inner-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.ad-inner-content p { font-size: 13px; color: #a0aec0; margin-bottom: 20px; line-height: 1.5; }
.sb-action-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #007788, #00a896); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: all 0.3s; }
.sb-action-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3); color: #fff; }


/* --- DISCUSSION MODULE / COMMENTS SYSTEM --- */
.ymh-discussion-deck { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(15, 45, 58, 0.03); margin-top: 40px; }
.discussion-header { margin-bottom: 30px; border-bottom: 1px solid #f1f5f9; padding-bottom: 20px; }
.discussion-title { font-size: 22px; color: #0f2d3a; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.comment-count-badge { background: #edf2f7; color: #4a5568; font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.discussion-subtitle { color: #718096; font-size: 14px; margin-top: 5px; }

/* Elite Comment Box Inputs Form styling */
.ymh-comment-form-wrapper .comment-respond { display: flex; flex-direction: column; gap: 20px; }
.ymh-comment-form-wrapper .form-group { position: relative; width: 100%; }
.ymh-comment-form-wrapper textarea { width: 100%; border: 1px solid #cbd5e0; background: #f8fafc; border-radius: 10px; padding: 16px; font-size: 15px; color: #2d3748; outline: none; transition: all 0.3s ease; resize: vertical; font-family: inherit; }
.ymh-comment-form-wrapper textarea:focus { border-color: #007788; background: #fff; }

.ymh-comment-form-wrapper .input-row { display: flex; gap: 20px; margin-top: 15px; width: 100%; }
.ymh-comment-form-wrapper .input-field { flex: 1; }
.ymh-comment-form-wrapper input[type="text"] { width: 100%; border: 1px solid #cbd5e0; background: #f8fafc; border-radius: 8px; padding: 12px 16px; font-size: 14px; outline: none; transition: all 0.3s; }
.ymh-comment-form-wrapper input[type="text"]:focus { border-color: #007788; background: #fff; }

/* Form Submit Button */
.ymh-submit-btn { background: #0f2d3a; color: #ffffff; border: none; padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; width: fit-content; margin-top: 10px; }
.ymh-submit-btn:hover { background: #007788; transform: translateY(-1px); }

/* Comments Loop Presentation System */
.ymh-comment-stream-list { list-style: none; margin: 40px 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 25px; }
.stream-item-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; transition: all 0.2s; }
.stream-item-card:hover { border-color: #cbd5e0; }

.comment-meta-block { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.comment-avatar-frame img { border-radius: 50%; object-fit: cover; border: 2px solid #edf2f7; }

.comment-user-details { display: flex; flex-direction: column; gap: 2px; }
.user-row { display: flex; align-items: center; gap: 10px; }
.user-name { font-size: 15px; font-weight: 700; color: #0f2d3a; }
.faculty-badge { font-size: 11px; font-weight: 700; background: #e6fffa; color: #00a896; padding: 2px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; }

.comment-time { font-size: 12px; color: #a0aec0; font-weight: 500; }
.comment-text-content { font-size: 15px; color: #4a5568; line-height: 1.6; padding-left: 2px; }

/* Reply Button Module Link */
.comment-actions-bar { margin-top: 15px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.comment-reply-link { font-size: 13px; font-weight: 700; color: #007788; display: inline-flex; align-items: center; gap: 6px; }
.comment-reply-link:hover { color: #00a896; }

/* Thread Replies Nested Indentation */
.ymh-comment-stream-list .children { list-style: none; padding-left: 40px; margin-top: 20px; display: flex; flex-direction: column; gap: 20px; border-left: 2px solid #edf2f7; }


/* ==========================================================================
   STRICT BREAKPOINTS FOR SIDEBAR AND DISCUSSIONS MODULE
   ========================================================================== */
@media (max-width: 768px) {
    .ymh-discussion-deck { padding: 20px; }
    .ymh-comment-form-wrapper .input-row { flex-direction: column; gap: 15px; }
    .ymh-comment-stream-list .children { padding-left: 15px; }
    .stream-item-card { padding: 16px; }
}

/* Precise Handheld Mobile Breakdown (Phones / Small screens) */
@media (max-width: 768px) {
    /* Hero compression */
    .ymh-post-hero-header { padding: 25px 0; }
    .ymh-hero-title { font-size: 26px; margin-bottom: 20px; }
    .ymh-hero-meta { gap: 15px; flex-direction: column; align-items: flex-start; }
    .author-profile { border-bottom: 1px solid var(--border-subtle); padding-bottom: 15px; width: 100%; }
    
    /* Article Content Frame compression for strict edges handling on small screens */
    .ymh-premium-article-body { padding: 20px; border-radius: 10px; }
    .ymh-article-hero-thumb { margin: -20px -20px 20px -20px; }
    
    /* Content Font Size normalization for clear readability without eye strain */
    .ymh-core-content-render { font-size: 16px; line-height: 1.75; }
    .ymh-core-content-render h2 { font-size: 21px; margin: 35px 0 15px 0; }
    .ymh-core-content-render h3 { font-size: 18px; }
    
    /* Navigation Stack mapping down layout grid */
    .ymh-dual-navigation-deck { grid-template-columns: 1fr; gap: 15px; }
    .next-deck { text-align: left; }
    
    /* Author Box conversion */
    .corp-author-top { flex-direction: column; text-align: center; gap: 10px; }
    .ymh-author-corporate-card { padding: 20px; text-align: center; }
}

/* --- Corporate Header Logo & Branding Styles --- */
.logo-branding img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform 0.2s;
}
.logo-branding img:hover {
    transform: scale(1.02);
}
.site-text-logo {
    font-size: 22px;
    font-weight: 800;
    color: #0f2d3a;
    letter-spacing: -0.5px;
}

/* Fallback card thumbnail logo handler */
.fallback-logo-img {
    width: auto !important;
    max-height: 70px !important;
    position: static !important;
    object-fit: contain !important;
    opacity: 0.7;
    filter: grayscale(20%);
}

/* Responsive updates for mobile navigation */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        text-align: center;
    }
    .logo-branding img {
        max-height: 40px;
        margin: 0 auto;
    }
}