/*
Theme Name: PressOrg Theme
Theme URI: https://themeplugin.xyz/PressOrg
Author: Theme Plugin XYZ Team
Author URI: https://themeplugin.xyz/themepluginxyz
Description: সুন্দর লেআউট, মোবাইল, ট্যাব, রেসপনসিভ, সুন্দর ক্যাটাগরী ভিত্তিক হোমপেজ টেমপ্লেট যা ভিতরের সেটিংস থেকে সেট, এড, এডিট, মডিফাই করা যাবে। হেডার সেটিংস, লোগো, তথ্য, টপবার, মেনুবার, ফুটার সেটিংস, ৪ টা কলাম এবং সবকিছু টেক্সট থেকে কালার, টাইটেল কালার, ব্যাকগ্রাউন্ড কালার সবকিছু এডিটেবল। Crafted by Theme Plugin XYZ Team.
Version: 2.0.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pressorg
Tags: news, blog, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready
*/

:root {
    --po-body-bg: #f4f6f8;
    --po-body-text: #334155;
    --po-title-color: #0f172a;
    --po-primary: #006837;
    --po-primary-dark: #054a29;
    --po-secondary: #e11d48;
    --po-card-bg: #ffffff;
    --po-border-color: #e2e8f0;
    --po-topbar-bg: #054a29;
    --po-topbar-text: #ffffff;
    --po-topbar-btn-bg: #e11d48;
    --po-topbar-btn-text: #ffffff;
    --po-header-bg: #ffffff;
    --po-menu-text: #1e293b;
    --po-menu-hover: #006837;
    --po-hero-bg: #f4f6f8;
    --po-leadership-bg: #f4f6f8;
    --po-notice-bg: #f4f6f8;
    --po-office-bg: #f4f6f8;
    --po-footer-bg: #053b20;
    --po-footer-bottom-bg: #032815;
    --po-footer-title: #ffffff;
    --po-footer-text: #d1fae5;
    --po-footer-link: #e2e8f0;
    --po-footer-accent: #10b981;
    --po-font-main: 'Hind Siliguri', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --po-container-width: 1240px;
    --po-radius: 12px;
    --po-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--po-font-main);
    background-color: var(--po-body-bg);
    color: var(--po-body-text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--po-title-color);
    font-weight: 700;
    line-height: 1.35;
}

a {
    color: var(--po-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--po-secondary);
}

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

ul {
    list-style: none;
}

.po-container {
    width: 100%;
    max-width: var(--po-container-width);
    margin: 0 auto;
    padding: 0 18px;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.po-topbar {
    background-color: var(--po-topbar-bg);
    color: var(--po-topbar-text);
    font-size: 13.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.po-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.po-topbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.po-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--po-topbar-text);
}

.po-topbar-item i {
    font-size: 13px;
    opacity: 0.9;
}

.po-topbar-item a {
    color: var(--po-topbar-text);
}

.po-topbar-item a:hover {
    opacity: 0.85;
}

.po-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.po-topbar-link {
    color: var(--po-topbar-text);
    font-weight: 500;
    font-size: 13.5px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.po-topbar-link:hover {
    color: #fde047;
}

.po-topbar-btn {
    background-color: var(--po-topbar-btn-bg);
    color: var(--po-topbar-btn-text) !important;
    padding: 4px 14px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.po-topbar-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* =========================================================
   MAIN HEADER & NAVIGATION
   ========================================================= */
.po-header {
    background-color: var(--po-header-bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 999;
}

.po-header.is-sticky {
    position: sticky;
    top: 0;
}

.po-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.po-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.po-brand img,
.custom-logo-link img {
    max-height: var(--po-logo-height, 68px);
    width: auto;
    object-fit: contain;
}

.po-default-emblem {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d48 0%, #006837 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 104, 55, 0.2);
    flex-shrink: 0;
    border: 2px solid #fff;
}

.po-site-titles {
    display: flex;
    flex-direction: column;
}

.po-site-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--po-title-color);
    line-height: 1.2;
}

.po-site-title a {
    color: inherit;
}

.po-site-description {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

/* Navigation Menu */
.po-nav-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.po-main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.po-main-menu > li {
    position: relative;
}

.po-main-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    color: var(--po-menu-text);
    font-weight: 600;
    font-size: 15.5px;
    border-radius: 6px;
}

.po-main-menu > li > a:hover,
.po-main-menu > li.current-menu-item > a,
.po-main-menu > li.current_page_item > a {
    color: var(--po-menu-hover);
    background-color: rgba(0, 104, 55, 0.06);
}

/* Dropdown Submenu */
.po-main-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--po-card-bg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
    z-index: 1000;
    border-top: 3px solid var(--po-primary);
}

.po-main-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.po-main-menu li ul.sub-menu li a {
    display: block;
    padding: 8px 18px;
    font-size: 14.5px;
    color: var(--po-menu-text);
    font-weight: 500;
}

.po-main-menu li ul.sub-menu li a:hover {
    background: rgba(0, 104, 55, 0.07);
    color: var(--po-primary);
    padding-left: 22px;
}

/* Mobile Menu Toggle */
.po-menu-toggle {
    display: none;
    background: var(--po-primary);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   SECTION HEADINGS (MATCHING REFERENCE DESIGN)
   ========================================================= */
.po-section {
    padding: 36px 0;
}

.po-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.po-section-badge {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--po-primary);
    background: rgba(0, 104, 55, 0.1);
    padding: 3px 12px;
    border-radius: 30px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.po-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--po-title-color);
    margin-bottom: 8px;
}

.po-section-divider {
    width: 56px;
    height: 3.5px;
    background-color: var(--po-secondary);
    margin: 0 auto;
    border-radius: 3px;
}

/* =========================================================
   HERO SECTION (SLIDER + PRESIDENT/FEATURED CARD)
   ========================================================= */
.po-hero-section {
    padding: 26px 0 32px;
    background-color: var(--po-hero-bg);
}

.po-hero-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.po-hero-grid.full-slider {
    grid-template-columns: 1fr;
}

.po-slider-card {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 12px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.po-slider-viewport {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
}

.po-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.po-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.po-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 30%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    color: #fff;
}

.po-slide-cat {
    display: inline-block;
    background: var(--po-secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
     align-self: flex-start;
}

.po-slide-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.po-slide-title a {
    color: #fff;
}

.po-slide-title a:hover {
    color: #fde047;
}

.po-slide-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.po-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.po-slider-arrow:hover {
    background: var(--po-primary);
    border-color: var(--po-primary);
}

.po-slider-prev {
    left: 14px;
}

.po-slider-next {
    right: 14px;
}

.po-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 7px;
}

.po-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.po-slider-dot.active {
    background: #3b82f6;
    width: 22px;
    border-radius: 10px;
}

/* Right Featured Leader Card */
.po-leader-spotlight {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 32px 24px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.po-spotlight-avatar {
    width: 145px;
    height: 145px;
    border-radius: 14px;
    border: 3px solid var(--po-primary);
    background: #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 104, 55, 0.12);
}

.po-spotlight-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-spotlight-avatar i {
    font-size: 56px;
    color: #94a3b8;
}

.po-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--po-primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.po-spotlight-badge i {
    color: #facc15;
}

.po-spotlight-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--po-title-color);
    margin-bottom: 6px;
}

.po-spotlight-role {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.po-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    border: 1.5px solid var(--po-primary);
    color: var(--po-primary);
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.po-spotlight-btn:hover {
    background: var(--po-primary);
    color: #fff;
}

/* =========================================================
   EXECUTIVE LEADERSHIP SECTION (2 HORIZONTAL CARDS)
   ========================================================= */
.po-leadership-section {
    background-color: var(--po-leadership-bg);
}

.po-exec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.po-exec-card {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 24px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.po-exec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.po-exec-photo {
    width: 112px;
    height: 118px;
    border-radius: 10px;
    border: 2.5px solid var(--po-primary);
    background: #f1f5f9;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.po-exec-card.is-red .po-exec-photo {
    border-color: var(--po-secondary);
}

.po-exec-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-exec-photo i {
    font-size: 42px;
    color: #94a3b8;
}

.po-exec-body {
    flex: 1;
}

.po-exec-badge {
    display: inline-block;
    background: var(--po-primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.po-exec-card.is-red .po-exec-badge {
    background: var(--po-secondary);
}

.po-exec-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--po-title-color);
    margin-bottom: 6px;
}

.po-exec-quote {
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.55;
}

.po-exec-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--po-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.po-exec-card.is-red .po-exec-link {
    color: var(--po-secondary);
}

/* =========================================================
   ORGANIZATIONAL NOTICE BOARD & PRESS RELEASE (DUAL BOXES)
   ========================================================= */
.po-notice-section {
    background-color: var(--po-notice-bg);
}

.po-notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.po-notice-box {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    overflow: hidden;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    display: flex;
    flex-direction: column;
}

.po-notice-header {
    background: var(--po-primary);
    color: #fff;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.po-notice-box.is-red .po-notice-header {
    background: var(--po-secondary);
}

.po-notice-header-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.po-notice-more {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12.5px;
    font-weight: 600;
}

.po-notice-more:hover {
    color: #fde047;
}

.po-notice-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.po-notice-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    transition: all 0.2s ease;
}

.po-notice-item:hover {
    border-color: var(--po-primary);
    background: #f8fafc;
}

.po-notice-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.po-date-badge {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #dcfce7;
    color: var(--po-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.1;
    border: 1px solid #bbf7d0;
}

.po-date-badge .day {
    font-size: 16px;
    font-weight: 800;
}

.po-date-badge .month {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.po-pdf-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #fee2e2;
    color: var(--po-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.po-notice-info {
    min-width: 0;
}

.po-notice-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--po-title-color);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-notice-title a {
    color: inherit;
}

.po-notice-title a:hover {
    color: var(--po-primary);
}

.po-notice-date {
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.po-download-btn {
    background: var(--po-primary);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.po-download-btn:hover {
    background: var(--po-primary-dark);
}

/* =========================================================
   DYNAMIC CATEGORY HOMEPAGE BUILDER SECTIONS
   ========================================================= */
.po-cat-section {
    padding: 36px 0;
}

.po-cat-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--po-border-color);
    padding-bottom: 10px;
}

.po-cat-heading-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.po-cat-pill {
    width: 6px;
    height: 26px;
    border-radius: 4px;
    background: var(--po-primary);
}

.po-cat-heading {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.po-cat-viewall {
    font-size: 13.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(0, 104, 55, 0.08);
    color: var(--po-primary);
}

.po-cat-viewall:hover {
    background: var(--po-primary);
    color: #fff;
}

/* Grid 3 & Grid 4 Cards */
.po-posts-grid {
    display: grid;
    gap: 22px;
}

.po-posts-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.po-posts-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.po-posts-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.po-post-card {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    overflow: hidden;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.po-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.po-post-thumb {
    position: relative;
    height: 200px;
    background: #e2e8f0;
    overflow: hidden;
}

.po-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.po-post-card:hover .po-post-thumb img {
    transform: scale(1.05);
}

.po-post-cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--po-primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.po-post-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.po-post-meta {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.po-post-title {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.po-post-title a {
    color: inherit;
}

.po-post-title a:hover {
    color: var(--po-primary);
}

.po-post-excerpt {
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;
    flex: 1;
}

.po-readmore {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--po-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Magazine Layout (1 Big Featured Left + List Right) */
.po-magazine-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}

.po-mag-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.po-mag-small-card {
    background: var(--po-card-bg);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid var(--po-border-color);
    box-shadow: var(--po-shadow);
    display: flex;
    gap: 14px;
    align-items: center;
}

.po-mag-small-thumb {
    width: 110px;
    height: 82px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.po-mag-small-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   CENTRAL OFFICE & MAP SECTION
   ========================================================= */
.po-office-section {
    background-color: var(--po-office-bg);
}

.po-office-card {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 24px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: center;
}

.po-map-frame {
    width: 100%;
    height: 310px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
}

.po-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.po-office-details h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--po-primary);
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--po-border-color);
}

.po-office-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.po-office-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--po-body-text);
}

.po-office-list li i {
    margin-top: 4px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.po-office-list li i.pin-icon {
    color: var(--po-secondary);
}

.po-office-list li i.contact-icon {
    color: var(--po-primary);
}

.po-direction-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--po-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.po-direction-btn:hover {
    background: var(--po-primary-dark);
    transform: translateY(-1px);
}

/* =========================================================
   INNER PAGES, ARCHIVES, SINGLE POSTS & SIDEBAR
   ========================================================= */
.po-main-content {
    padding: 40px 0;
}

.po-content-sidebar-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 30px;
}

.po-single-article,
.po-page-card {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 30px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
}

.po-single-featured {
    margin-bottom: 22px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 460px;
}

.po-single-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-entry-content {
    font-size: 16.5px;
    line-height: 1.8;
}

.po-entry-content p {
    margin-bottom: 18px;
}

.po-entry-content h2,
.po-entry-content h3 {
    margin: 26px 0 12px;
}

.po-sidebar .widget {
    background: var(--po-card-bg);
    border-radius: var(--po-radius);
    padding: 22px;
    box-shadow: var(--po-shadow);
    border: 1px solid var(--po-border-color);
    margin-bottom: 24px;
}

.po-sidebar .widget-title {
    font-size: 18px;
    font-weight: 800;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--po-primary);
}

/* Pagination */
.navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    justify-content: center;
}

.navigation.pagination .page-numbers {
    padding: 8px 15px;
    border-radius: 6px;
    background: var(--po-card-bg);
    border: 1px solid var(--po-border-color);
    color: var(--po-title-color);
    font-weight: 600;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
    background: var(--po-primary);
    color: #fff;
    border-color: var(--po-primary);
}

/* =========================================================
   FOOTER (4 COLUMNS + BOTTOM BAR)
   ========================================================= */
.po-footer {
    background-color: var(--po-footer-bg);
    color: var(--po-footer-text);
    padding-top: 52px;
    margin-top: 30px;
}

.po-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-bottom: 42px;
}

.po-footer-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.po-footer-col h4,
.po-footer-col .widget-title {
    color: var(--po-footer-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--po-footer-accent);
    position: relative;
}

.po-footer-col p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--po-footer-text);
    margin-bottom: 12px;
}

.po-footer-links li {
    margin-bottom: 9px;
}

.po-footer-links li a,
.po-footer-col a {
    color: var(--po-footer-link);
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.po-footer-links li a:hover,
.po-footer-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.po-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 14px;
    color: var(--po-footer-text);
}

.po-footer-contact li i {
    color: var(--po-footer-accent);
    margin-top: 4px;
}

.po-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.po-footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.po-footer-socials a:hover {
    background: var(--po-secondary);
    transform: translateY(-2px);
}

.po-footer-bottom {
    background-color: var(--po-footer-bottom-bg);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

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

.po-footer-bottom a {
    color: var(--po-footer-accent);
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1024px) {
    .po-hero-grid {
        grid-template-columns: 1fr;
    }
    .po-posts-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .po-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .po-content-sidebar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .po-menu-toggle {
        display: inline-flex;
    }
    .po-nav-wrap {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--po-header-bg);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    .po-nav-wrap.active {
        right: 0;
    }
    .po-main-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .po-main-menu > li > a {
        width: 100%;
        padding: 10px 12px;
        border-bottom: 1px solid var(--po-border-color);
        border-radius: 0;
    }
    .po-main-menu li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 14px;
        border-top: none;
    }
    .po-exec-grid,
    .po-notice-grid,
    .po-magazine-grid,
    .po-office-card,
    .po-posts-grid.cols-3,
    .po-posts-grid.cols-2 {
        grid-template-columns: 1fr;
    }
    .po-slider-viewport {
        height: 270px;
    }
    .po-exec-card {
        flex-direction: column;
        text-align: center;
    }
    .po-footer-grid,
    .po-footer-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    .po-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   OPTION 1: GENERAL MEMBERS PAGE TEMPLATE
   (Green Watermark Banner, 4 Cols Desktop / 2 Cols Mobile, 40/page)
   ========================================================= */
.po-page-banner {
    background-color: var(--po-member-banner-bg, #237a57);
    color: var(--po-member-banner-text, #ffffff);
    padding: 38px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(0, 0, 0, 0.12);
}

.po-page-banner-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    pointer-events: none;
    user-select: none;
    opacity: 0.16;
    color: #000000;
    font-size: 64px;
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: 1px;
}

.po-page-banner-watermark i {
    font-size: 76px;
}

.po-page-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.po-page-banner-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--po-member-banner-text, #ffffff);
    margin: 0;
}

.po-page-breadcrumb {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--po-member-banner-text, #ffffff);
}

.po-page-breadcrumb a {
    color: var(--po-member-banner-text, #ffffff);
    opacity: 0.9;
}

.po-page-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.po-members-page-section {
    padding: 42px 0 56px;
    background-color: var(--po-member-page-bg, #ffffff);
}

.po-gen-members-grid {
    display: grid;
    grid-template-columns: repeat(var(--po-member-cols-desktop, 4), 1fr);
    gap: 20px;
}

.po-gen-member-card {
    background: var(--po-member-card-bg, #ffffff);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 13px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.po-gen-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.13);
    border-color: #cbd5e1;
}

.po-gm-photo {
    width: 84px;
    height: 102px;
    border-radius: 6px;
    background: #d9dde2;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.po-gm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-gm-photo svg {
    width: 100%;
    height: 100%;
}

.po-gm-info {
    flex: 1;
    min-width: 0;
}

.po-gm-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--po-member-name-color, #0e7c61);
    margin: 0 0 3px;
    line-height: 1.3;
}

.po-gm-name a {
    color: inherit;
}

.po-gm-name a:hover {
    color: var(--po-secondary);
}

.po-gm-org {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.35;
}

.po-gm-contact-line {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-gm-contact-line i {
    color: var(--po-member-name-color, #0e7c61);
    font-size: 11px;
    width: 13px;
    flex-shrink: 0;
}

/* Pagination Bar */
.po-pagination-wrap {
    margin-top: 38px;
    display: flex;
    justify-content: center;
}

.po-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-weight: 700;
    font-size: 14px;
}

.po-pagination-wrap .page-numbers.current,
.po-pagination-wrap .page-numbers:hover {
    background: var(--po-member-banner-bg, #237a57);
    color: #fff;
    border-color: var(--po-member-banner-bg, #237a57);
}

/* =========================================================
   OPTION 2: MANAGING COMMITTEE PAGE TEMPLATE
   (Circular Photo, Red Name + Underline, Bottom Wave Cards)
   ========================================================= */
.po-committee-page-section {
    padding: 48px 0 56px;
    background-color: var(--po-comm-page-bg, #f8f9fa);
}

.po-committee-main-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--po-comm-heading-color, #1e293b);
    margin: 0 0 36px;
}

.po-committee-grid {
    display: grid;
    grid-template-columns: repeat(var(--po-comm-cols-desktop, 4), 1fr);
    gap: 24px;
}

.po-committee-card {
    background: var(--po-comm-card-bg, #ffffff);
    border-radius: 8px;
    padding: 28px 16px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.po-committee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.po-comm-avatar {
    width: 138px;
    height: 138px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.po-comm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-comm-role {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.po-comm-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--po-comm-name-color, #dc2626);
    margin: 0 0 10px;
    line-height: 1.35;
}

.po-comm-name a {
    color: inherit;
}

.po-comm-name a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.po-comm-underline {
    width: 34px;
    height: 2.5px;
    background-color: var(--po-comm-line-color, #dc2626);
    margin-top: auto;
}

/* Bottom Archive & Historical Wave Cards (OPTION 2 Bottom Section) */
.po-comm-archive-section {
    padding: 40px 0 60px;
    background-color: #f4f6f8;
    border-top: 1px solid #e2e8f0;
}

.po-comm-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

.po-comm-archive-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.po-wave-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px 22px 26px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.2s ease;
}

.po-wave-card:hover {
    transform: translateY(-2px);
}

.po-wave-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--po-comm-name-color, #dc2626);
    margin: 0 0 6px;
    line-height: 1.4;
}

.po-wave-card-title a {
    color: inherit;
}

.po-wave-card-sub {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.po-wave-card-sub::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 2px;
    background-color: var(--po-comm-name-color, #dc2626);
}

.po-wave-card-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.po-wave-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18px;
    pointer-events: none;
}

.po-wave-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================================
   OPTION 3: SINGLE MEMBER DETAILS PAGE
   (Works for both General Members & Managing Committee)
   ========================================================= */
.po-single-member-section {
    padding: 46px 0 64px;
    background: #ffffff;
}

.po-mp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.po-mp-top-left {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.po-mp-photo-frame {
    width: 185px;
    height: 200px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.po-mp-photo-inner {
    width: 100%;
    height: 100%;
    background: #d9dde2;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.po-mp-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.po-mp-summary-name {
    font-size: 28px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 10px;
}

.po-mp-summary-line {
    font-size: 15px;
    color: #475569;
    margin-bottom: 6px;
}

.po-mp-summary-line strong {
    color: #0f172a;
    margin-right: 6px;
}

.po-mp-print-btn {
    background-color: var(--po-mp-print-bg, #3b6ef6);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 110, 246, 0.28);
    transition: all 0.2s ease;
}

.po-mp-print-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.po-mp-section-bar {
    background-color: var(--po-mp-bar-bg, #d6d6d6);
    color: var(--po-mp-bar-text, #0f172a);
    padding: 9px 16px;
    font-size: 18px;
    font-weight: 700;
    margin: 26px 0 18px;
    border-radius: 2px;
}

.po-mp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
    padding: 0 6px;
}

.po-mp-info-item {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.5;
}

.po-mp-info-item strong {
    color: #0f172a;
    margin-right: 6px;
}

.po-mp-status-badge {
    display: inline-block;
    background-color: #0d9488;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
}

/* Print Stylesheet for Single Member Details */
@media print {
    .po-topbar,
    .po-header,
    .po-footer,
    .po-mp-print-btn,
    .po-mp-back-link {
        display: none !important;
    }
    body {
        background: #ffffff !important;
    }
    .po-single-member-section {
        padding: 0 !important;
    }
}

/* =========================================================
   RESPONSIVE RULES FOR MEMBERS (4 DESKTOP / 2 MOBILE) & COMMITTEE
   ========================================================= */
@media (max-width: 1024px) {
    .po-gen-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .po-committee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .po-mp-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Strictly 2 columns per row on mobile as requested */
    .po-gen-members-grid {
        grid-template-columns: repeat(var(--po-member-cols-mobile, 2), 1fr);
        gap: 10px;
    }
    .po-gen-member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 8px;
        gap: 8px;
    }
    .po-gm-photo {
        width: 76px;
        height: 88px;
    }
    .po-gm-name {
        font-size: 13px;
    }
    .po-gm-org {
        font-size: 11px;
    }
    .po-gm-contact-line {
        justify-content: center;
        font-size: 10.5px;
    }
    .po-committee-grid {
        grid-template-columns: repeat(var(--po-comm-cols-mobile, 2), 1fr);
        gap: 12px;
    }
    .po-committee-card {
        padding: 18px 10px 16px;
    }
    .po-comm-avatar {
        width: 96px;
        height: 96px;
    }
    .po-comm-name {
        font-size: 14px;
    }
    .po-comm-archive-grid,
    .po-mp-info-grid {
        grid-template-columns: 1fr;
    }
    .po-page-banner-title {
        font-size: 24px;
    }
    .po-page-banner-watermark {
        font-size: 34px;
    }
}

/* Extra Mobile & Small Screen Responsive Polish (480px and below) */
@media (max-width: 480px) {
    .po-container {
        padding: 0 12px;
    }
    .po-topbar-inner {
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    .po-topbar-left {
        justify-content: center;
        gap: 10px;
        font-size: 12px;
    }
    .po-Slider-viewport,
    .po-slider-viewport {
        height: 230px;
    }
    .po-slide-title {
        font-size: 17px;
    }
    .po-section-title,
    .po-committee-main-heading {
        font-size: 21px;
    }
    .po-gen-members-grid {
        grid-template-columns: repeat(var(--po-member-cols-mobile, 2), minmax(0, 1fr));
        gap: 8px;
    }
    .po-committee-grid {
        grid-template-columns: repeat(var(--po-comm-cols-mobile, 2), minmax(0, 1fr));
        gap: 10px;
    }
    .po-mp-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .po-mp-top-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .po-mp-summary-name {
        font-size: 22px;
    }
}
