/* =======================================================
   Corpwhizz — assets/css/theme.css
   Extended styles for all sections & components
   ======================================================= */

/* ─── Google Font body override ─── */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* ─────────────────────────────────────────────────────
   HEADER / BRANDING BAR
───────────────────────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.footerbannersec {
	 display: flex;
  	justify-content: center; /* Centers horizontally */
}

.wp-block-latest-posts {
	text-align: left;
    padding: 5px;
    color: #000;	
}
.wp-block-latest-posts a:hover { color: #277fd3; font-weight:bold}
.wp-block-latest-posts li{
    padding-bottom: 5px;
}
.widget_recent_entries{
	/*border: 2px #CCC solid;*/
}
.pharma-sidebar img {width:282px !important}
.pharma-sidebar .ad-placeholder--blue {padding-bottom:10px !important}
.wp-block-latest-posts.wp-block-latest-posts li {border-bottom : 1px #CCC solid}
.headerleft img { border : 1px #35820e solid}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding-top: 12px;
    padding-bottom: 12px;*/
}
.mainsection1{padding-bottom:0 !important}
.featuredsection {padding-bottom:0 !important; padding-top:0 !important}
.header-innertop {
    display: flex;
	background-color:#000;
    align-items: center;
    justify-content: space-between;
	padding: 12px;
	color:#FFF !important;
}
.site-branding { display: flex; flex-direction: column; }

.site-logo-text { display: flex; align-items: baseline; gap: 1px; }
.logo-corp  { font-size: 36px; font-weight: 900; color: var(--brand-green); line-height: 1; letter-spacing: -1px; }
.logo-whizz { font-size: 36px; font-weight: 900; color: var(--brand-dark);  line-height: 1; letter-spacing: -1px; }

.site-tagline {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-top: 2px;
}

.header-date {
    font-size: 12px;
    color: #FFF;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    color: #FFF;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.social-icon:hover { color: var(--brand-blue); }
.social-icon i, .social-icon svg { width: 18px; height: 18px; }

.social-divider {
    width: 1px; height: 20px;
    background: #e5e7eb;
    margin: 0 4px;
}

.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #FFF;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s;
}
.header-search-toggle:hover { color: var(--brand-green); }
.header-search-toggle i, .header-search-toggle svg { width: 18px; height: 18px; }

/* Search panel */
.header-search-panel {
    background: #f9fafb;
    border-top: 1px solid var(--border-light);
    padding: 12px 0;
}
.header-search-panel[hidden] { display: none; }
.header-search-panel .search-form { display: flex; gap: 8px; }
.header-search-panel .search-field {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}
.header-search-panel .search-field:focus { border-color: var(--brand-green); }
.header-search-panel .search-submit {
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────
   NAVIGATION BAR
───────────────────────────────────────────────────── */
.main-navigation {
    background: var(--nav-bg);
    position: relative;
}

.primary-menu-list {
    display: flex;
    align-items: center;
	justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.primary-menu-list::-webkit-scrollbar { display: none; }

.primary-menu-list > li > a {
    display: block;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.primary-menu-list > li > a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

/* Budget 2026 highlight */
.primary-menu-list > li.highlight > a,
.primary-menu-list > li.menu-item-has-slug-budget-2026 > a {
    color: var(--brand-orange);
    border-bottom: 2px solid var(--brand-orange);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}

/* ─────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────── */
.hero-section { background: #fff; }

.hero-article img { height: 180px; }

/* ─────────────────────────────────────────────────────
   STOCK / CURRENCY TICKER
───────────────────────────────────────────────────── */
.ticker-widget {
    background: #fff;
    /*border: 1px solid var(--border-light);*/
    border-radius: 4px;
    /*padding: 12px;*/
    height: 100%;
}

.ticker-header {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.ticker-header img { width : 282px !important}
.ticker-header--blue { background: var(--brand-blue); }
.ticker-header--dark { background: #374151; }

.ticker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
}
.ticker-row:last-child { border-bottom: none; }

.ticker-row-left { display: flex; align-items: center; gap: 6px; }
.ticker-name  { font-size: 12px; font-weight: 700; color: #374151; }
.ticker-row-right { text-align: right; }
.ticker-value  { font-size: 12px; font-weight: 600; color: #1a1a1a;  /*display: block;*/ }
.ticker-change { font-size: 12px; font-weight: 700; /*display: block;*/ }

/* ─────────────────────────────────────────────────────
   PHARMA SECTION
───────────────────────────────────────────────────── */
.pharma-section { background: #fff; }

.pharma-col { display: flex; flex-direction: column; }

.pharma-sidebar { display: flex; flex-direction: column; gap: 12px; }

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    /*padding: 16px;*/
    /*min-height: 130px;*/
    /*border: 2px dashed;*/
	background-color:none !important;
}
/*.ad-placeholder--blue  { background: #eff6ff; border-color: #bfdbfe; }*/
.ad-placeholder--blue  { background: none !important; border-color: none !important; }
.ad-placeholder--orange { background: #fff7ed; border-color: #fed7aa; }
.ad-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ad-placeholder--blue  .ad-label  { color: #60a5fa; }
.ad-placeholder--orange .ad-label { color: #fb923c; }
.ad-size { font-size: 12px; margin-top: 2px; }
.ad-placeholder--blue  .ad-size  { color: #93c5fd; }
.ad-placeholder--orange .ad-size { color: #fdba74; }
.ad-cta { font-size: 12px; font-weight: 500; margin-top: 8px; }
.ad-placeholder--blue  .ad-cta  { color: #3b82f6; }
.ad-placeholder--orange .ad-cta { color: #f97316; }

.ad-cta-banner {
    background: var(--brand-green);
    color: #fff;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ad-cta-banner strong { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ad-cta-banner span   { font-size: 9px; opacity: .8; }
.cta-btn {
    margin-top: 8px;
    background: #fff;
    color: var(--brand-green);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
    transition: background 0.2s;
}
.cta-btn:hover { background: #f0fdf4; }

/* ─────────────────────────────────────────────────────
   FEATURED CAROUSEL SECTION
───────────────────────────────────────────────────── */
.featured-carousel-section { /*background: #2880c7;*/ padding: 24px 0; }

.carousel-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.carousel-img-wrap { margin-bottom: 0; }

.carousel-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}

.carousel-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
    line-height: 1.4;
}
.carousel-title:hover { color: rgba(255,255,255,.85); }

.carousel-excerpt {
    font-size: 10px;
    color: rgba(255,255,255,.65);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
}
.carousel-prev:hover, .carousel-next:hover { background: rgba(0,0,0,.75); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-prev svg, .carousel-next svg { width: 16px; height: 16px; }

/* ─────────────────────────────────────────────────────
   LATEST NEWS GRID
───────────────────────────────────────────────────── */
.latest-news-section { background: #fff; }
.latest-col { display: flex; flex-direction: column; }

/* ─────────────────────────────────────────────────────
   BOTTOM FEATURED ROW
───────────────────────────────────────────────────── */
.bottom-featured-section { background: #fff; padding-bottom: 32px; }
.bottom-card { cursor: pointer; }

/* ─────────────────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────────────────── */
.single-layout { max-width: 840px; margin: 0 auto; }

.single-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
    color: var(--brand-dark);
    margin: 10px 0 12px;
	text-align: center;
}

.single-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.single-meta .sep { color: #d1d5db; }

.single-thumb-wrap { margin-bottom: 20px; border-radius: 4px; overflow: hidden; }
.single-thumb { width: 100%; min-height: 400px; object-fit: cover; }

.single-content {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}
.single-content p  { margin-bottom: 16px; }
.single-content h2 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.single-content h3 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.single-content a  { color: var(--brand-blue); text-decoration: underline; }
.single-content blockquote {
    border-left: 3px solid var(--brand-green);
    padding: 8px 16px;
    margin: 16px 0;
    color: var(--text-muted);
    font-style: italic;
}

.single-tags { margin-top: 20px; font-size: 12px; color: var(--text-muted); }
.single-tags a { color: var(--brand-blue); margin-right: 4px; }

/* Post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.post-navigation .nav-direction { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); }
.post-navigation .nav-title     { font-size: 12px; font-weight: 600; color: var(--text-main); }
.post-navigation a:hover .nav-title { color: var(--brand-green); }

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
.footer-nav-bar { background: var(--nav-bg); padding: 14px 0; }

.footer-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
}
.footer-menu-list li.sep { color: rgba(255,255,255,.2); }
.footer-menu-list a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    padding: 0 16px;
    transition: color 0.2s;
}
.footer-menu-list a:hover { color: #fff; }

.footer-bottom-strip { background: #111827; /*padding: 10px 0; */ padding: 0;}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copyright { font-size: 12px; color: #fff; }

.footer-legal-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}
.footer-legal-links li.sep { color: #374151; font-size: 12px; }
.footer-legal-links a {
    font-size: 12px;
    color: #FFF;
    padding: 0 8px;
    transition: color 0.2s;
}
.footer-legal-links a:hover { color: #fff; }

/* ─────────────────────────────────────────────────────
   INDEX PAGE CARDS
───────────────────────────────────────────────────── */
.cw-index-card { display: flex; flex-direction: column; gap: 4px; }
.cw-index-card .cw-card-img { height: 160px; }

/* Posts pagination */
.nav-links { display: flex; justify-content: space-between; margin-top: 24px; }
.nav-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-blue);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand-green); }

/* No results */
.no-results { text-align: center; padding: 60px 0; }
.no-results h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.no-results p  { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* Customizer selective refresh */
.customize-partial-edit-shortcuts-shown .site-branding { outline: 2px dashed var(--brand-green); }

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media ( max-width: 1024px ) {
    .cw-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .header-date { display: none; }
}

@media ( max-width: 768px ) {
    .cw-grid-4,
    .cw-grid-3,
    .cw-grid-2 { grid-template-columns: 1fr; }

    .logo-corp, .logo-whizz { font-size: 28px; }

    .menu-toggle { display: flex; align-items: center; }

    .primary-menu-list {
        flex-direction: column;
        align-items: flex-start;
        display: none;
        background: var(--nav-bg);
    }
    .primary-menu-list.is-open { display: flex; }
    .primary-menu-list > li { width: 100%; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-legal-links  { flex-wrap: wrap; justify-content: center; }

    .single-title  { font-size: 20px; }
    .single-thumb  { height: 220px; }
}

@media ( max-width: 480px ) {
    .header-actions .social-icon:nth-child(n+3) { display: none; }
}
