/* Powered Online brand - Example #1 wordmark style
   "Powered" in DM Serif Display italic + "Online" in Great Vibes
   Light style (no dark backgrounds). 584 teal #00CC99 / blue #0066CC accents. */

/* Compact brand card for product pages — matches the cg-stat card look */
.po-brand-stat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0b1526, #1f2f49);
    border-radius: 16px;
    padding: 12px 18px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.po-brand-stat::after {
    content: '';
    position: absolute;
    right: -22px;
    top: -22px;
    width: 70px;
    height: 70px;
    border: 10px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}
.po-brand-stat__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}
.po-brand-stat__body {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.po-brand-stat__body strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.po-brand-stat__body span {
    font-family: 'Sono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}
.po-brand-stat__body span i {
    color: #00CC99;
}

.po-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.po-brand .logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.po-brand .mk {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1;
}

.po-brand .mk b {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 30px;
    color: #0f172a;
}

.po-brand .mk i {
    font-family: 'Great Vibes', cursive;
    font-style: normal;
    font-size: 28px;
    color: #0066CC;
}

.navbar .po-brand {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* on colored backgrounds (navbar over hero) */
.po-brand.is-light .mk b,
.po-brand.is-light .mk i {
    color: #ffffff;
}

/* footer brand — sits on light/blue gradient, keep dark ink */
.site-footer .po-brand .mk b {
    color: #0f172a;
}
.site-footer .po-brand .mk i {
    color: #0066CC;
}
.site-footer .po-brand .logo {
    height: 40px;
}

/* hero heading brand style */
.hero-brand-title b {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #0f172a;
}
.hero-brand-title i {
    font-family: 'Great Vibes', cursive;
    font-style: normal;
    margin-left: 10px;
    color: #0066CC;
}

/* ================= Powered Online footer =================
   MATCH the theme footer: WHITE text + underline links on the wave bg.
   These only fix LAYOUT (grid, spacing, separation line, mobile centering).
   No dark text — the theme's .site-footer already styles text white. */

.po-footer .container { max-width: 1240px; }

.po-fgrid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 40px;
}

.po-fbrand .logo { height: 40px; }

/* give spacing so social icons are NOT glued to the subscribe field */
.po-fbrand .social-icon { margin-bottom: 18px; }
.po-fbrand .subscribe-form { margin-top: 4px; }
.po-footer .subscribe-form .form-control { margin-bottom: 8px; }

.po-fcol-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.po-fcol-links li { margin-bottom: 8px; }

/* white text + underline, matching the theme footer */
.po-footer p,
.po-footer li,
.po-footer .po-fcol-links a,
.po-footer .po-fbottom-links a,
.po-footer .po-fcopy,
.po-footer .po-faffiliate {
    color: #ffffff;
}
.po-footer .po-fcol-links a,
.po-footer .po-fbottom-links a {
    color: #ffffff !important;
    text-decoration: none;
}
.po-footer .po-fcol-links a:hover,
.po-footer .po-fbottom-links a:hover {
    color: var(--secondary-color, #fff);
}
.po-footer .po-fcol-links .po-faddress { font-style: normal; }

.po-fbrand .po-fabout {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 20px;
    max-width: 46ch;
}

/* separation line between top grid and bottom bar */
.po-fbottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .35);
    padding-top: 24px;
    margin-top: 26px;
}
.po-fbottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.po-fcopy { font-size: 14px; }
.po-faffiliate {
    font-size: 12.5px;
    text-align: center;
    margin: 20px 0 0;
    letter-spacing: .2px;
    opacity: .85;
}

/* footer brand wordmark: white to match footer */
.po-footer .po-brand .mk b,
.po-footer .po-brand .mk i {
    color: #ffffff;
}

@media (max-width: 992px) {
    .po-fgrid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .po-fbrand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    /* Categories (col 2) left + Company (col 3) right, side by side */
    .po-fgrid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
    .po-fcol { text-align: left; }
    .po-fbrand { grid-column: 1 / -1; text-align: center; }
    .po-fcol:nth-child(4) { grid-column: 1 / -1; }
    .po-fbrand .po-brand { display: flex; justify-content: center; align-items: center; gap: 10px; }
    .po-fbrand .po-fabout { margin-left: auto; margin-right: auto; }
    .po-fcol .social-icon { justify-content: flex-start; }
    .po-fbottom { flex-direction: column; justify-content: center; text-align: center; }
    .po-fbottom-links { justify-content: center; }
    /* keep underline on footer category links (was lost due to inline-block link-item) */
    .po-footer .po-fcol-links li { display: block; }
    /* center the subscribe placeholder + button on mobile */
    .po-footer .subscribe-form .form-control { text-align: center; }

    /* vertical divider centred between Categories (col2) and Company (col3);
       text with a comfortable gap from the line */
    .po-fcol:nth-child(2) { text-align: right; border-right: 1px solid rgba(255, 255, 255, .4); padding-right: 30px; }
    .po-fcol:nth-child(3) { text-align: left; padding-left: 15px; }
    /* get in touch centred full-width column */
    .po-fcol:nth-child(4) { text-align: center; }
    .po-fcol:nth-child(4) .po-fcol-links li { text-align: center; }
}
@media (max-width: 992px) and (min-width: 561px) {
    /* divider between Categories (col2) and Company (col3) on tablet 2-col grid */
    .po-fcol:nth-child(2) { border-right: 1px solid rgba(255, 255, 255, .4); padding-right: 30px; text-align: right; }
    .po-fcol:nth-child(3) { padding-left: 15px; text-align: left; }
    .po-fcol:nth-child(4) { text-align: center; }
    .po-fcol:nth-child(4) .po-fcol-links li { text-align: center; }
}

/* ================= Mobile header (Etsy-style) ================= */
/* desktop: nav-top + sticky row re-join the normal flex row */
@media (min-width: 992px) {
    .po-nav .po-nav-top { display: contents; }
    .po-nav .po-nav-sticky { display: contents; }
}

.po-menu-heading {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
}

@media (max-width: 991.98px) {
    /* header floats OVER the hero's colored background (absolute, transparent, white text) */
    .po-nav {
        position: absolute;
        top: 0; right: 0; left: 0;
        background: transparent;
        padding-top: 12px;
    }

    /* ROW 1: brand (logo + wordmark) left, hamburger right — transparent */
    .po-nav .po-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: transparent;
    }
    .po-nav .po-nav-top .navbar-brand { margin: 0; }

    /* on scroll: row 1 (brand) disappears */
    .po-nav.po-scrolled .po-nav-top { display: none; }

    /* ROW 2: search + hamburger, full width — no white box behind it */
    .po-nav .po-nav-sticky {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        background: transparent;
        margin-top: 12px;
    }
    .po-nav .po-nav-sticky .po-nav-search { flex: 1 1 auto; flex-basis: 100%; margin: 0 !important; min-width: 0; max-width: none; }
    .po-nav .po-nav-sticky .po-nav-search .input-group { width: 100%; }

    /* on scroll: search row floats at the very top (only the white search box + icon, no panel) */
    .po-nav.po-scrolled .po-nav-sticky {
        position: fixed;
        top: 0; left: 0; right: 0;
        margin: 0;
        padding: 10px 12px;
        background: transparent;
    }

    /* hamburger: white over the colored hero, dark once scrolled (on white) */
    .navbar-toggler {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
        width: 46px; height: 46px;
        flex: 0 0 auto;
    }
    .navbar-toggler .navbar-toggler-icon,
    .navbar-toggler .navbar-toggler-icon::before,
    .navbar-toggler .navbar-toggler-icon::after {
        background: #ffffff !important;
    }
    .po-nav.po-scrolled .navbar-toggler .navbar-toggler-icon,
    .po-nav.po-scrolled .navbar-toggler .navbar-toggler-icon::before,
    .po-nav.po-scrolled .navbar-toggler .navbar-toggler-icon::after {
        background: #0f172a !important;
    }

    /* menu panel: white Etsy-style sheet, NOT green */
    .po-nav .po-nav-menu.navbar-collapse {
        background: #ffffff;
        border-radius: 14px;
        margin-top: 16px;
        padding: 20px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
    }
    /* when scrolled the menu lives in the scrolled-away navbar; pin it under the
       floating search bar so tapping the hamburger still shows the menu */
    .po-nav.po-scrolled .po-nav-menu.navbar-collapse {
        position: fixed;
        top: 62px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .po-nav .po-nav-menu .navbar-nav {
        background: transparent;
        padding: 0;
        width: 100%;
    }
}

/* Etsy-style menu (mobile) */
.po-nav-menu .menu-search { display: none; }
.po-nav-menu .menu-search .form-control { border-radius: 8px; }
.po-menu-cats { list-style: none; margin: 0; padding: 0; }
.po-menu-cats > li { border-bottom: 1px solid #eef1f6; }
.po-menu-cats > li:last-child { border-bottom: none; }
.po-menu-cat {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 13px 6px;
    background: none; border: none; cursor: pointer;
    font-family: var(--title-font-family, Sono);
    font-size: 16px; font-weight: 600; color: #0f172a; text-align: left;
}
.po-menu-cat:hover { color: #0066CC; }
.po-menu-cat .caret { font-size: 12px; color: #94a3b8; transition: transform .2s ease; }
.po-menu-cat[aria-expanded="true"] .caret { transform: rotate(90deg); }
.po-menu-sub { list-style: none; margin: 0; padding: 0 6px 12px 18px; }
.po-menu-sub a { display: block; padding: 8px 6px; color: #475569; text-decoration: none; font-size: 14.5px; }
.po-menu-sub a:hover { color: #0066CC; }

/* ================= Powered Online JS widgets ================= */

/* AJAX form feedback: reuse Bootstrap alerts, extra spacing */
.po-form-msg { margin-top: 10px; font-size: 14px; }

/* Search suggestions dropdown */
.po-nav-search { position: relative; }
.po-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1090;
    margin-top: 8px;
    max-height: 420px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
    padding: 8px;
}
.po-search-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
}
.po-search-item:hover { background: #f1f5f9; }
.po-search-head { display: flex; align-items: center; gap: 8px; }
.po-search-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 7px;
    border-radius: 20px;
    background: #dbeafe;
    color: #0066CC;
    white-space: nowrap;
}
.po-search-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.po-search-excerpt {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.po-search-price { font-size: 13px; font-weight: 700; color: #0f172a; margin-top: 4px; }
.po-search-empty { padding: 12px; color: #64748b; font-size: 13.5px; }

/* Sticky bottom CTA bar */
.po-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, .12);
    padding: 12px 0;
}
.po-sticky-bar .container { max-width: 1240px; }
.po-sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.po-sticky-bar-text {
    font-size: 14.5px;
    color: #0f172a;
}
.po-sticky-bar-close {
    border: none;
    background: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
}
.po-sticky-bar-close:hover { color: #0f172a; }

/* spacer so fixed bar does not cover footer text */
body.po-sticky-visible { padding-bottom: 64px; }

/* ============================================================================
   Powered Online teal/blue tokens
   primary #00CC99, secondary #0066CC — no orange.
=========================================================================== */

/* Mobile: the navbar floats transparent OVER the blue wave header, so the wave
   (and the white logo/brand on it) starts at the very top of the page — this
   matches the original HTML design. Only once the page is scrolled does the
   search bar get a white surface so it stays readable over page content. */
@media (max-width: 991.98px) {
    .po-nav {
        background: transparent;
        border: 0;
    }
    .po-nav .po-nav-top { background: transparent; }
    .po-nav.po-scrolled .po-nav-sticky {
        background: #ffffff;
        padding-top: 8px;
        padding-bottom: 8px;
        box-shadow: 0 2px 12px rgba(15, 23, 42, .12);
    }
}

/* Clamp the brand wordmark on very small screens to avoid horizontal overflow */
@media (max-width: 380px) {
    .po-brand .mk b { font-size: 24px; }
    .po-brand .mk i { font-size: 22px; }
    .po-brand .logo { height: 36px; }
}

/* ================= Product cover images (po_product_cover_html) =================
   Rendered as <img class="po-cover-img"> inside .custom-block-image-wrap.
   Match the theme's .custom-block-full image card sizing so real photos
   do not blow up to natural size. */
.po-cover-img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: var(--border-radius-medium, 14px);
    background: #eef2f5;
}
.po-cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 210px;
    border-radius: var(--border-radius-medium, 14px);
    background: linear-gradient(135deg, #00CC99 0%, #0066CC 100%);
    color: #ffffff;
    font-family: 'DM Serif Display', serif;
    font-size: 34px;
}

/* ================= Mobile compaction (wave header + footer) =================
   The base theme forces a 480px tall wave header and a giant padded footer on
   every viewport, which swallows phone screens. These overrides keep the
   desktop look untouched and shrink the chrome down for small screens. */
@media (max-width: 991.98px) {
    .site-header {
        min-height: 300px;
        padding: 150px 0 40px;
    }
    .site-header h1,
    .site-header h2 {
        font-size: 24px;
        line-height: 1.3;
        max-width: 90%;
    }
}
@media (max-width: 767.98px) {
    .site-footer {
        margin-top: -60px;
        padding-top: 100px;
        padding-bottom: 60px;
    }
}
/* In-page search bar stays full width on small phones (theme caps it at 200px) */
@media (max-width: 414px) {
    .latest-card-section .search-form {
        max-width: none !important;
        width: 100%;
    }
    .latest-card-section .search-form .input-group {
        flex-wrap: nowrap;
    }
    .latest-card-section .search-form .form-control {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }
    .latest-card-section .search-form input[type="search"] {
        max-width: none !important;
        width: auto;
    }
    .latest-card-section .search-form button[type="submit"] {
        flex: 0 0 50px;
        width: 50px;
        margin-left: -1px !important;
    }
}

/* ================= Search result cards (.po-sr-card) =================
   Compact e-commerce style product tiles for the search results page.
   Keeps the theme feel (teal accents, Montserrat/Sono) but shorter:
   square-ish cover, rating stars + count, price like Amazon/Etsy, small CTA. */
.po-sr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #dfe9f0;
    border-radius: var(--border-radius-medium, 14px);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.po-sr-card:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    transform: translateY(-3px);
}
.po-sr-media {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #eef2f5;
}
.po-sr-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.po-sr-card:hover .po-sr-media img { transform: scale(1.04); }
.po-sr-type {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-family: 'Sono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}
.po-sr-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 14px;
}
.po-sr-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.po-sr-title a { color: inherit; text-decoration: none; }
.po-sr-title a:hover { color: #00CC99; }
.po-sr-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    line-height: 1;
    color: #f5b301;
    margin-bottom: 8px;
}
.po-sr-rating .bi { font-size: 13px; }
.po-sr-rating small {
    font-family: 'Sono', monospace;
    color: #64748b;
    margin-left: 6px;
    line-height: 1;
}
.po-sr-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sono', monospace;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.po-sr-excerpt {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.po-sr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}
.po-sr-price {
    font-family: 'Sono', monospace;
    font-size: 17px;
    font-weight: 700;
    color: #00CC99;
    line-height: 1;
}
.po-sr-price del {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 6px;
}
.po-sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Sono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: #0066CC;
    background: #eaf3fb;
    border-radius: 999px;
    padding: 7px 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.po-sr-btn:hover { background: #0066CC; color: #ffffff; }
.po-sr-free {
    font-family: 'Sono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: #00CC99;
}


/* Category breadcrumb bar */
.po-breadcrumb {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
}
.po-breadcrumb .breadcrumb {
    font-family: 'Sono', monospace;
    font-size: 13px;
}
.po-breadcrumb .breadcrumb-item a {
    color: #0066CC;
    text-decoration: none;
}
.po-breadcrumb .breadcrumb-item.active {
    color: #475569;
}

/* Hero carousel: equal-size cards regardless of source image ratio */
.owl-carousel .owl-carousel-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    background: #eef2f7;
}


/* Latest products — "cg-mini" style from Card Gallery (3 per row desktop, 1 per row mobile) */
.latest-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
@media (min-width: 768px) {
    .latest-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .latest-products-grid { grid-template-columns: repeat(3, 1fr); }
}

.cg-mini {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 10px;
    padding: 14px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.cg-mini:hover { background: #fff; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14); }
.cg-mini__media {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    background: #eef2f5;
}
.cg-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.cg-mini__body { padding: 14px 4px 2px; }
.cg-mini__name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #0f172a;
    margin: 0 0 4px;
}
.cg-mini__name a { color: inherit; text-decoration: none; }
.cg-mini__price { font-size: 13px; font-weight: 300; color: #64748b; margin: 0 0 12px; }
.cg-mini__cta {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0066CC;
    padding-bottom: 3px;
    background: linear-gradient(#00CC99, #00CC99) 0 100% / 0 1px no-repeat;
    transition: background-size 0.4s ease;
}
.cg-mini__cta:hover { background-size: 100% 1px; }

/* Article cards — "magazine" style (blog / category / tag) */
.po-articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) {
    .po-articles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .po-articles { grid-template-columns: repeat(3, 1fr); }
}

.po-acard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.po-acard:hover { box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10); transform: translateY(-4px); }
.po-acard__media { position: relative; display: block; height: 190px; background: #eef2f5; overflow: hidden; }
.po-acard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.po-acard__chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #0066CC;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}
.po-acard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.po-acard__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17.5px;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 49px;
}
.po-acard__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
}
.po-acard__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}
.po-acard__meta { font-size: 12.5px; color: #64748b; }
.po-acard__more { font-size: 13px; font-weight: 600; color: #0066CC; }
@media (max-width: 575.98px) {
    .po-acard__media { height: 180px; }
}

/* Trust strip — "Why Powered Online" */
.trust-strip {
    background: #f7fafc;
    display: flex;
    align-items: center;
    min-height: 320px;
}
.po-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 52px 30px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #fcfdfe);
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.po-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066CC, #00CC99);
    color: #fff;
    font-size: 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.22);
}
.po-trust-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.2px;
    color: #0f172a;
    margin: 0 0 8px;
}
.po-trust-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    max-width: 270px;
}





/* header Free Kit - premium gift badge (text visually hidden, kept for SEO) */
.free-kit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: fk-float 4.2s ease-in-out infinite;
}
.free-kit-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 32% 26%, #ffffff 0%, #eef5ff 48%, #dcebff 100%);
    box-shadow:
        0 5px 14px rgba(0, 102, 204, 0.26),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.95),
        inset 0 -6px 12px rgba(0, 102, 204, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 0;
    overflow: hidden;
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease;
}
.free-kit-img {
    width: 130%;
    height: 130%;
    max-width: none;
    object-fit: cover;
    display: block;
}
.free-kit-circle::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #00CC99;
    box-shadow: 0 0 8px 2px rgba(0, 204, 153, 0.65);
    animation: fk-pulse 2.4s ease-in-out infinite;
}
.free-kit-btn:hover .free-kit-circle {
    transform: scale(1.12) rotate(-8deg);
    box-shadow:
        0 10px 22px rgba(0, 102, 204, 0.34),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.95);
}
.free-kit-btn.active .free-kit-circle {
    border-color: #00CC99;
    box-shadow:
        0 0 0 4px rgba(0, 204, 153, 0.18),
        0 5px 14px rgba(0, 102, 204, 0.26);
}
@keyframes fk-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes fk-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: 0.75; }
}





/* header search — 20% smaller text & button */
.po-nav-search .form-control,
.po-nav-search #submit {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    height: auto;
}
.po-nav-search #submit { padding: 0.3rem 0.7rem; }

@media (min-width: 992px) {
    /* keep logo + search + menu + gift on ONE line */
    .po-nav { flex-wrap: nowrap; align-items: center; }
    .po-nav .po-nav-menu,
    .po-nav .po-nav-menu .navbar-nav { flex-wrap: nowrap; align-items: center; }
    .po-nav .po-nav-search { min-width: 0; }
    .po-nav .navbar-brand { margin-right: 32px !important; }
}

/* ================= Brand monogram avatar + about panel ================= */
.po-mono {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: var(--border-radius-large, 14px);
    background: linear-gradient(135deg, #0066CC, #00CC99);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.po-about-panel {
    margin-top: 2.5rem;
    padding: 30px 32px;
    background: linear-gradient(180deg, #ffffff, #fcfdfe);
    border: 1px solid #eef2f7;
    border-left: 4px solid #0066CC;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.po-about-panel h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
    margin: 0 0 8px;
}
.po-about-panel p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* ================= Equal-height cards (homepage latest articles) ================= */
.featured-cards-section [class*="col-"] { display: flex; }
.featured-cards-section [class*="col-"] > .custom-block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.featured-cards-section .custom-block-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-bottom: 20px;
}
.featured-cards-section .custom-block-bottom { margin-top: auto !important; }
.featured-cards-section .custom-block-info h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}
.featured-cards-section .custom-block-info > p.mb-0 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: 51.2px;
}
