/* ==========================================================================
   UpSell Wholesale — layout layer
   --------------------------------------------------------------------------
   brand.css sets the palette and type; this file matches the STRUCTURE of
   upsellwholesale.com, measured from the rendered page:

     content column   1222px
     header           solid #FFD813 bar, nav labels #333 at 600
     cards            radius 18px + shadow 0 10px 25px rgba(0,0,0,.06)
     panels           radius 20px
     buttons          radius 3px
     icon discs       #F59A17 orange, circular

   An earlier revision of this file squared every corner, based on WoodMart's
   --wd-brd-radius: .001px variable. The rendered site does not do that - its
   cards are notably rounded - so the radii below come from measured values.

   Selectors were read out of the live LMS markup for the active home_elegant
   layout: .menubar .navbar .navbar-brand.logo .main-nav-wrap .nav-link,
   .lms-hero-section2 .lms-hero-content2 .title-9 .subtitle-9 .lms1-btn-purple,
   .home1-section-title > .title, .lms1-course-card .courses-card
   .courses-card-body .course-title .courses-price, .lms2-footer-section.
   ========================================================================== */

:root {
    --upsell-container: 1222px;
    --upsell-header-h: 95px;
    --upsell-rhythm: 80px;
}

/* --------------------------------------------------------------------------
   1. Page width
   -------------------------------------------------------------------------- */

.container,
.container-lg,
.container-md,
.container-xl {
    max-width: var(--upsell-container);
}

@media (min-width: 1400px) {
    .container,
    .container-xxl {
        max-width: var(--upsell-container);
    }
}

/* --------------------------------------------------------------------------
   2. Rounded geometry (measured, not assumed)
   -------------------------------------------------------------------------- */

.courses-card,
.lms1-course-card,
.lms-category-type1,
.common-card,
.card,
.upsell-offline-pending {
    border-radius: var(--upsell-radius-card) !important;
}

.courses-card-image,
.courses-card-image img {
    border-radius: var(--upsell-radius-card) var(--upsell-radius-card) 0 0 !important;
}

.btn,
.badge {
    border-radius: var(--upsell-radius-btn);
}

/* --------------------------------------------------------------------------
   3. Header — the brand's solid yellow bar
   -------------------------------------------------------------------------- */

/* home_elegant_assets.php emits an inline <style> block that sets
   ".menubar { background-color: transparent }". Inline blocks sit after this
   file in the document, so !important is required to win. */
.menubar {
    background: var(--upsell-yellow) !important;
    border-bottom: 0;
    box-shadow: none;
}

.menubar .navbar {
    min-height: var(--upsell-header-h);
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

/* The base theme pins the logo to "height: 32px" (.menubar .logo img in
   style.css), which suits a wide wordmark but leaves a square mark - like the
   UpSell roundel - tiny in a 95px header. height:auto lets the image use its
   own proportions; max-height caps it. A wordmark stays under the cap and is
   unaffected, a square mark grows to 56px. */
.menubar .navbar-brand.logo img {
    height: auto;
    max-height: 56px;
    width: auto;
}

.main-nav-wrap .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--upsell-nav);
    padding-left: 14px;
    padding-right: 14px;
    transition: color 0.15s ease;
}

.main-nav-wrap .nav-link:hover,
.main-nav-wrap .nav-item.active > .nav-link {
    color: #000;
}

/* Header actions: yellow bar means the primary action needs dark or orange. */
.menubar .btn-primary,
.menubar a.btn-primary,
.signUp-btn {
    background: var(--upsell-ink);
    border-color: var(--upsell-ink);
    color: #fff;
    height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 26px;
    font-weight: 600;
    border-radius: var(--upsell-radius-btn);
}

.menubar .btn-primary:hover,
.signUp-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.menubar .nav-link,
.menubar a {
    color: var(--upsell-nav);
}

@media (max-width: 991px) {
    .menubar .navbar {
        min-height: 60px;
    }
}

/* --------------------------------------------------------------------------
   4. Hero
   The stock hero ships a lavender artwork (image/img/corpo-hero-bg.webp) set
   from an inline <style> block in home_elegant_assets.php. Inline blocks come
   after this file in the document, so !important is the only way to override
   it without editing the view.
   -------------------------------------------------------------------------- */

.lms-hero-section2 {
    padding-top: 56px;
    background:
        radial-gradient(circle at 82% 8%, rgba(255, 216, 19, 0.45), transparent 42%),
        radial-gradient(circle at 6% 92%, rgba(245, 154, 23, 0.12), transparent 48%),
        #fff !important;
}

.lms-hero-content2 .title-9 {
    font-weight: 800;
    color: var(--upsell-ink);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.lms-hero-content2 .subtitle-9 {
    color: var(--upsell-body);
    max-width: 34em;
    line-height: 1.65;
}

.btn.lms1-btn-purple {
    background: var(--upsell-orange);
    border-color: var(--upsell-orange);
    color: #fff;
    height: 52px;
    display: inline-flex;
    align-items: center;
    padding: 0 34px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--upsell-radius-btn);
}

.btn.lms1-btn-purple:hover {
    background: var(--upsell-orange-hover);
    border-color: var(--upsell-orange-hover);
    color: #fff;
}

.hero2-iconbox1-rounded {
    border-radius: var(--upsell-radius-card);
    background: var(--upsell-yellow-soft);
    border: 1px solid rgba(255, 216, 19, 0.55);
}

.hero2-iconbox-title {
    font-weight: 700;
    color: var(--upsell-ink);
}

.hero2-iconbox-category {
    color: var(--upsell-body);
}

/* Feature icon discs are orange on the source site. */
.rounded-iconBox {
    background: var(--upsell-orange) !important;
    color: #fff !important;
}

.rounded-iconBox svg,
.rounded-iconBox i,
.rounded-iconBox path {
    color: #fff !important;
    fill: #fff !important;
}

/* --------------------------------------------------------------------------
   5. Section rhythm and headings
   -------------------------------------------------------------------------- */

.home1-section-title {
    margin-bottom: 42px;
}

.home1-section-title .title {
    font-size: 34px;
    font-weight: 800;
    color: var(--upsell-ink);
    letter-spacing: -0.015em;
}

.home1-section-title .title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 14px auto 0;
    background: var(--upsell-yellow);
    border-radius: 2px;
}

.why-choose-section1 {
    background: var(--upsell-surface);
    padding-top: var(--upsell-rhythm);
    padding-bottom: var(--upsell-rhythm);
}

/* --------------------------------------------------------------------------
   6. Cards
   -------------------------------------------------------------------------- */

.courses-card,
.lms1-course-card,
.lms-category-type1 {
    border: 1px solid var(--upsell-line);
    box-shadow: var(--upsell-shadow);
    background: #fff;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.courses-card:hover,
.lms1-course-card:hover,
.lms-category-type1:hover {
    border-color: var(--upsell-yellow);
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
}

.courses-card-image img {
    width: 100%;
    object-fit: cover;
}

.courses-card-body {
    padding: 18px;
}

.course-title,
.course-title a {
    font-size: 16px;
    font-weight: 600;
    color: var(--upsell-ink);
    line-height: 1.4;
}

.course-title a:hover {
    color: var(--upsell-orange);
}

.course-meta-info1 {
    color: var(--upsell-body);
    font-size: 13px;
}

.courses-price,
.courses-price-left {
    color: var(--upsell-ink);
    font-weight: 800;
}

.courses-price-border {
    border-color: var(--upsell-line);
}

.courses-card-image-text {
    background: var(--upsell-yellow);
    color: var(--upsell-ink);
    font-weight: 700;
    border-radius: var(--upsell-radius-btn);
}

/* Cart counter ships pink. */
.menu_number {
    background: var(--upsell-ink) !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.lms2-footer-section {
    background: var(--upsell-ink);
    color: #b9bec5;
}

.lms2-footer-section .ft2-padding {
    padding-top: var(--upsell-rhythm);
    padding-bottom: 48px;
}

.lms2-footer-section .ft2-border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* footer.php hardcodes width="180px" height="40px" attributes, sized for a
   wide wordmark - they squash the square UW roundel. CSS beats presentational
   attributes, so both axes are freed and the cap keeps wordmarks sane. */
.lms2-footer-logo img {
    width: auto;
    height: auto;
    max-height: 56px;
}

.lms2-footer-section .ft2-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.lms2-footer-section .ft2-nav-link,
.lms2-footer-section .ft2-nav-link a,
.lms2-footer-section p {
    color: #b9bec5;
}

.lms2-footer-section .ft2-nav-link a:hover,
.lms2-footer-section a:hover {
    color: var(--upsell-yellow);
}

.lms2-footer-section .form-control {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.lms2-footer-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   8. Stock lavender "trusted by" artwork — neutralise rather than ship
      off-brand purple.
   -------------------------------------------------------------------------- */

/* The strip is stock artwork of university wordmarks (Stanford, Chicago, Duke,
   Texas) - endorsements this site does not have. Greyscaling wasn't enough;
   implying credentials that don't exist is worse than empty space, so the
   whole slider is removed. Delete this rule if real partner logos are added. */
.brandSlider,
.brandSlider1-height,
.brand-slide1 {
    display: none !important;
}

.brand-area img,
.brand-item img,
.partner-logo img,
img[src*="/brand"] {
    filter: grayscale(1);
    opacity: 0.45;
    transition: opacity 0.18s ease;
}
