/* ==========================================================================
   Press Details (single press-release article) — theme
   Reuses css/press-releases-theme.css (which itself imports
   procurement-sourcing-intelligence.css) so the sidebar "Didn't find what
   you were looking for?" panel, buttons, and base Poppins/teal/orange
   theme all match the Press Releases list page exactly — this page shares
   that same sidebar form (newdesign/includes/press-releases-enquire-form.php).
   Only this page's own elements (report meta bar, action buttons, price
   panel, buy-now modal, bottom-right sample popup) get rules below.
   ========================================================================== */
@import url("press-releases-theme.css");

/* ---------- Article heading / meta ---------- */
.heading_report h1 {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}
.press-releases-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    padding: 26px;
}
.cont-top {
    color: #7a7a7a;
    font-size: 13.5px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f2f4;
}
.cont-top .fa {
    color: #38908f;
    margin-right: 4px;
}
.cont-top .fa-calendar-o {
    margin-left: 14px;
}

/* ---------- Report action buttons ---------- */
.con-btns {
    margin-bottom: 20px;
}
.con-btns .btn,
.mob_btns .btn {
    border-radius: 22px;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 20px;
    border: none;
    transition: background .2s ease, transform .2s ease;
}
.view-rep-btn, .view-rep-mob-btn {
    background: #17484a;
    color: #fff !important;
}
.view-rep-btn:hover, .view-rep-mob-btn:hover {
    background: #123638;
}
.req-sam-btn, .req-sam-mob-btn {
    background: #38908f;
    color: #fff !important;
}
.req-sam-btn:hover, .req-sam-mob-btn:hover {
    background: #2c716f;
}
.buynow-btn, .buynow-mob-btn {
    background: #ec4b3b;
    color: #fff !important;
    cursor: pointer;
}
.buynow-btn:hover, .buynow-mob-btn:hover {
    background: #d33f30;
}
.btn-space {
    margin-left: 10px;
}

/* ---------- Price selection panel ---------- */
#seeprice {
    background: #f8fafc;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.see_pricing {
    padding: 8px 0;
    border-bottom: 1px solid #eceff1;
}
.see_pricing:last-of-type {
    border-bottom: none;
}
.rep_sin, .rep_team, .rep_corp {
    font-weight: 700;
    color: #17484a;
}
#seeprice .customButton {
    background: #ec4b3b;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 26px;
    font-weight: 600;
    margin-top: 10px;
}
#seeprice .customButton:hover {
    background: #d33f30;
}

/* Sidebar enquiry-form card header — same treatment on every detail page
   (Press-Releases.php / blogdetail.php / articledetail.php /
   infographics.php / infographics_details.php) for a consistent look
   across the site. */
.enquiry-card-header {
    background: #16484b;
    color: #fff;
    padding: 16px 20px;
}
.enquiry-card-header p {
    color: rgba(255, 255, 255, .85);
}

/* ---------- Article body ---------- */
.con-desc {
    color: #46545c;
    line-height: 1.75;
    font-size: 15px;
    overflow-x: auto;
}
.con-desc h2, .con-desc h3, .con-desc h4, .con-desc h5, .con-desc h6 {
    color: #17484a;
    font-weight: 600;
}
.con-desc li {
    list-style: disc;
}
.con-desc img {
    max-width: 50%;
    height: auto;
}
/* Rich-text tables from the CMS editor come in as bare <table>/<td> markup
   with no classes — style them generically. overflow-x lives on .con-desc
   above (not on the table itself): forcing display:block + width:100% on
   the <table> breaks its table-layout formatting context (border-collapse
   stops applying cleanly) and stretches an outer box past the now
   content-sized grid, showing up as a bare empty box next to the columns. */
.con-desc table {
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
    margin: 20px 0;
    font-size: 14px;
}
.con-desc table th,
.con-desc table td {
    /* The CMS editor bakes a fixed px width into every <td style="width:...">,
       sized for a much wider desktop column — auto-size instead so cells fit
       their actual container instead of forcing a squeeze or a scrollbar. */
    width: auto !important;
    border: 1px solid #d7e0e0;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.con-desc table th {
    background: #17484a;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}
.con-desc table tr:nth-child(even) td {
    background: #f7fafa;
}
/* Editor output wraps every cell's text in its own <p>, which carries the
   browser's default paragraph margin and makes cells look unevenly padded. */
.con-desc table td p,
.con-desc table th p {
    margin: 0;
}

/* ---------- Buy Now modal ---------- */
/* Hidden by default; JS toggles display:flex/none directly (not jQuery's
   .show()/.hide(), which would fall back to display:block for a plain div
   and break the centering) so the loading spinner overlay only appears
   while the buy-now form is actually submitting. */
.buynow_form_loader {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .85);
    align-items: center;
    justify-content: center;
}
#buyNowModal .modal-content {
    position: relative;
    border-radius: 14px;
    border: none;
    overflow: hidden;
}
#buyNowModal .modal-header {
    background: linear-gradient(135deg, #17484a 0%, #1f6b6d 100%);
    color: #fff;
    border-radius: 14px 14px 0 0;
    padding: 18px 24px;
    align-items: center;
}
#buyNowModal .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}
#buyNowModal .modal-title .fa {
    font-size: 15px;
    opacity: .9;
}
#buyNowModal .modal-title small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: .8;
    margin-top: 2px;
}
/* The global .btn-close (newdesign/assets/css/customstyles.css) draws a
   2px orange circular ring around the icon for use on light backgrounds;
   on this dark gradient header the previous invert()/grayscale()/
   brightness() filter trick warped that ring into an odd bright smear
   instead of a clean circle. Overridden here (ID-scoped selector beats
   the global class rule) with a flat translucent white circle and a
   reliable "make the icon white" filter instead. */
#buyNowModal .modal-header .btn-close {
    /* newdesign/styles.css has a global `button { flex: 1; }` reset that
       stretches every <button> to fill its flex container — since
       .modal-header is display:flex, that blew this button up to ~490px
       wide, and border-radius:50% on a short-but-very-wide box rendered
       as a giant ellipse behind the header text instead of a small
       circle. flex:none (plus an explicit fixed width) pins it back down. */
    flex: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background-color: rgba(255, 255, 255, .18);
    border-radius: 50%;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: background-color .15s ease;
}
#buyNowModal .modal-header .btn-close:hover {
    background-color: rgba(255, 255, 255, .3);
}
#buyNowModal .modal-body {
    padding: 24px;
}
#buyNowModal .form-group {
    margin-bottom: 16px;
}
#buyNowModal label {
    font-size: 13px;
    font-weight: 600;
    color: #17484a;
    margin-bottom: 5px;
}
#buyNowModal .form-control,
#buyNowModal textarea.form-control {
    border-radius: 8px;
    border: 1px solid #dde3e8;
    padding: 9px 12px;
    font-size: 14px;
}
#buyNowModal textarea.form-control {
    min-height: 80px;
    resize: vertical;
}
#buyNowModal .form-control:focus {
    border-color: #17484a;
    box-shadow: 0 0 0 3px rgba(23, 72, 74, .12);
}
#buyNowModal .buynow-terms {
    font-size: 12px;
    color: #7a7a7a;
    margin-bottom: 18px;
}
#buy {
    background: #ec4b3b;
    color: #fff;
    border-radius: 24px;
    border: none;
    font-weight: 600;
    padding: 10px 34px;
    letter-spacing: .2px;
}
#buy:hover {
    background: #d33f30;
}

/* ---------- Bottom-right "Free Sample" popup ---------- */
/* Fixed-position floating widget (was previously in common/popup/popup_form.css,
   which is no longer included on this page — the position/z-index rules are
   reproduced here so the widget still floats bottom-right instead of
   rendering as a plain block at the end of the page). */
.open-button {
    position: fixed;
    bottom: 15px;
    right: 16px;
    z-index: 1000;
    border: none;
    opacity: .95;
    background: #17484a !important;
    color: #fff !important;
    border-radius: 50% 0 0 50% !important;
    width: 34px !important;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.open-button:hover {
    opacity: 1;
}
.form-popup {
    position: fixed;
    bottom: 0;
    right: 16px;
    z-index: 1001;
    border-top: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .15);
    /* Cap the height to the viewport and scroll internally instead of
       growing upward past the top of the screen — the form was anchored
       to bottom:0 with no limit, so once field-error messages added extra
       height on a failed validation, the box grew tall enough to push its
       own close (x) button off the top of the screen, making it
       impossible to close. */
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}
.form-container {
    max-width: 260px;
    padding: 12px 16px;
    background: #fff;
    font-size: 12.5px;
}
.form-container p b {
    color: #17484a;
}
.form-container p {
    margin-bottom: 8px;
}
.form-container .cls {
    position: sticky;
    top: 0;
}
.form-container .form-control {
    border-radius: 6px;
    border: 1px solid #dde3e8;
    margin-bottom: 6px;
    padding: 6px 10px;
    height: auto;
    font-size: 12.5px;
}
.form-container .field-error {
    font-size: .68rem;
    margin-top: -3px;
    margin-bottom: 5px;
}
.pop_submit {
    background: #ec4b3b !important;
    border: none !important;
    border-radius: 24px !important;
    font-weight: 600;
    font-size: 12.5px;
    color: #fff;
    width: 100%;
    min-height: 32px;
}
.pop_submit:hover {
    background: #d33f30 !important;
}
@media (max-width: 480px) {
    .form-popup {
        right: 8px;
        left: 8px;
    }
    .form-container {
        max-width: 100%;
    }
}

.rep-s-type,.rep-t-type,.rep-c-type{
    margin: 5px;
}
