/*
Theme Name: WPH Job Pro
Theme URI: https://webpresshub.net
Description: A modern, modular, responsive child theme for GeneratePress focused on news and blog portals.
Author: WebPressHub
Author URI: https://webpresshub.net
Template: generatepress
Version: 2.0.0
Text Domain: wph-news
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');


:root {
    /* Color Palette */
    --wph-primary: #1b9e7e;
    /* News Portal Red */
    --wph-secondary: #e11d48;
    /* Accent Rose */
    --wph-bg: #ffffff;
    /* Light Slate Body Background */
    --wph-text: #0f172a;
    /* Slate 900 Text */
    --wph-text-muted: #64748b;
    /* Slate 500 Subtext */
    --wph-border: #e2e8f0;
    /* Slate 200 border */
    --wph-card-bg: #ffffff;
    /* Card Background */
    --wph-success: #22c55e;
    /* Verified / Success Green */

    /* Layout */
    --wph-container: 1240px;
    --wph-spacing: 0.85rem;
    --wph-radius: 10px;
    --wph-radius-sm: 6px;
    --wph-radius-full: 9999px;

    /* Shadows */
    --wph-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
    --wph-shadow-hover: 0 12px 20px -5px rgba(15, 23, 42, 0.06), 0 6px 8px -6px rgba(15, 23, 42, 0.06);
    --wph-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    /* Typography defaults */
    --wph-font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base resets & typography */
*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--wph-text);
    font-family: var(--wph-font);
    line-height: 1.5;
    background-color: #ffffff !important;
}

.site,
#page {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wph-text);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--wph-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wph-text);
    font-family: var(--wph-font);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* =========================
   Logo Sizing & Responsiveness
========================= */
.wph-header-inner .site-branding {
    width: 18%;
    /* Scale dynamically relative to header container on desktop */
    max-width: 200px;
    min-width: 130px;
}

.wph-header-inner .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-header-inner .site-branding img,
.wph-header-inner .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Mobile header logo responsive width */
.wph-mobile-header .site-branding {
    width: 40%;
    max-width: 145px;
    min-width: 115px;
}

.wph-mobile-header .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-mobile-header .site-branding img,
.wph-mobile-header .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Mobile drawer logo responsive width */
.wph-mobile-drawer .site-branding {
    width: 55%;
    max-width: 160px;
    min-width: 115px;
}

.wph-mobile-drawer .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-mobile-drawer .site-branding img,
.wph-mobile-drawer .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Footer logo responsive width */
.footer-widget-col .custom-logo-link {
    display: block;
    width: 55%;
    max-width: 160px;
    min-width: 110px;
    margin-bottom: 1.25rem;
}

.footer-widget-col .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}



















/* কন্টেইনার */
.custom-notice-container {
    max-width: 1320px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ৩ কলামের গ্রিড (১২টি সেকশনকে ৩ কলামে ৪টি রো বা সারিতে সাজাবে) */
.notice-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 25px; /* র-এর গ্যাপ ৩০ পিক্সেল এবং কলামের গ্যাপ ২৫ পিক্সেল */
}

/* সেকশন হেডার */
.custom-section-header {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.custom-section-header h2 {
    margin: 0;
}

.custom-section-header h2 a {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

/* কার্ড ওয়্যাপার */
.notice-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* কার্ড ডিজাইন ও শ্যাডো */
.notice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.notice-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.notice-card.is-hidden {
    display: none;
}

/* বামপাশের কন্টেন্ট (আইকন + টাইটেল) */
.notice-left-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding-right: 8px;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    padding: 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.notice-title a {
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-title a:hover {
    color: #2563eb;
}

/* ডানপাশের "CLICK HERE" বাটন */
.btn-click-here {
    background: #bae6fd;
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-click-here:hover {
    background: #0284c7;
    color: #ffffff;
}

/* See More বাটন */
.see-more-container {
    text-align: center;
    margin-top: 18px;
}

.btn-see-more {
    background: #ffffff;
    color: #0369a1;
    border: 1px solid #0369a1;
    padding: 7px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-see-more:hover {
    background: #0369a1;
    color: #ffffff;
}

/* ==========================================
   রেসপন্সিভ মিডিয়া কুয়েরি
   ========================================== */

/* ট্যাবলেট স্ক্রিনে (২টি কলাম করে দেখাবে) */
@media (max-width: 1024px) {
    .notice-3col-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }
}

/* মোবাইল স্ক্রিনে (১টি কলাম করে দেখাবে) */
@media (max-width: 640px) {
    .notice-3col-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .notice-card {
        padding: 10px 12px;
    }
    
    .notice-title a {
        font-size: 13px;
    }
    
    .btn-click-here {
        padding: 5px 10px;
        font-size: 10px;
    }
}