/* ===========================
   BLISSS — standalone page styling
   =========================== */

@font-face {
  font-family: 'Jomolhari';
  src: url('../fonts/Jomolhari/Jomolhari-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --bliss-bg:     #ffffff;
  --bliss-ink:    #1a1a1a;
  --bliss-accent: #608138;
  --bliss-muted:  #6b6b6b;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bliss-bg);
  font-family: 'Inter', sans-serif;
  color: var(--bliss-ink);
}

/* ---- HEADER: logo top-left, nav spread on the right ---- */
.bliss-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, nav right -> gap between them */
  gap: clamp(24px, 3vw, 56px);     /* space between the logo and the nav items */
  min-height: 80px;
  padding: 12px clamp(24px, 4vw, 56px);
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.bliss-header.nav-hidden {
  transform: translateY(-110%);
}

.bliss-header.nav-frosted {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(108, 143, 62, 0.18);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 8px 28px rgba(47, 84, 38, 0.08);
}

.bliss-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.bliss-logo {
  width: 210px;
  height: 56px;
  object-fit: contain;
  display: block;
}

/* text wordmark used in place of the logo image */
.bliss-wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bliss-accent);
}

/* nav pushed to the right, items spread out */
.bliss-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 16px);
  margin-left: auto; /* keep it on the right even if the logo is narrow */
}

.bliss-link {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d2819;
  padding: 8px clamp(8px, 0.8vw, 12px);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.bliss-link:hover {
  background: #4f762e;
  color: #ffffff;
}

.bliss-link.active,
.bliss-link[aria-current="page"] {
  color: #608138;
  font-weight: 600;
}


/* ---- HOVER DROPDOWNS (composite tab + panel shape) ---- */
.bliss-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* the link becomes the top "tab" of the composite shape */
.bliss-nav-item > .bliss-link {
  padding: 8px 14px;
  border-radius: 10px 10px 0 0;
  transition: background 0.32s ease-in-out, color 0.32s ease-in-out;
}


.bliss-nav-item:hover > .bliss-link,
.bliss-nav-item:focus-within > .bliss-link {
  background: var(--bliss-accent);
  color: #ffffff;
}

/* the dropdown is the bottom "panel" — same color, joined to the tab */
.bliss-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  max-width: 440px;
  padding: 6px 0;
  background: var(--bliss-accent);
  border-radius: 0 10px 10px 10px; /* square top-left to meet the tab */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease-in-out, visibility 0.32s ease-in-out;
  z-index: 200;
}

.bliss-nav-item:hover .bliss-dropdown,
.bliss-nav-item:focus-within .bliss-dropdown {
  opacity: 1;
  visibility: visible;
}

/* the last two items open leftward so the panel stays inside the page */
.bliss-nav-item:nth-last-child(-n + 2) .bliss-dropdown {
  left: auto;
  right: 0;
  border-radius: 10px 0 10px 10px; /* square top-right to meet the tab */
}

.bliss-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: normal;
  line-height: 1.35;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.bliss-dropdown a:hover {
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

.bliss-dropdown .resource-section-link {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bliss-dropdown .resource-section-link:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.bliss-dropdown .resource-sub-link {
  position: relative;
  padding-left: 36px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.bliss-dropdown .resource-sub-link::before {
  content: "\2014";
  position: absolute;
  left: 18px;
  opacity: 0.7;
}

.bliss-view-all {
  font-weight: 600;
  margin-top: 4px;
}

.bliss-view-all .bliss-arrow {
  margin-right: 6px;
}

/* ---- hamburger (mobile only) ---- */
.bliss-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bliss-bar {
  display: block;
  height: 2px;
  background: #608138;
  border-radius: 2px;
}
.bliss-bar--short { width: 16px; }
.bliss-bar--long  { width: 26px; }

/* ---- MAIN ---- */
.bliss-main {
  max-width: none;
  margin: 0;
  padding: 120px 56px 80px; /* clear the fixed navbar */
}

.bliss-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--bliss-accent);
  margin-bottom: 14px;
}

.bliss-title {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.bliss-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.bliss-title-row .bliss-title {
  margin-bottom: 18px;
}

.submit-article-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  margin-top: 6px;
  background: var(--bliss-accent);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s;
}

.submit-article-btn:hover {
  background: #4e6a2e;
}

.bliss-lead {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  max-width: none;       /* fill the full column to the right */
  margin-bottom: 14px;
}

/* ---- BANNER: image flush to the left edge + text beside it ---- */
.bliss-banner {
  display: grid;
  grid-template-columns: 2fr 3fr; /* 40 / 60 */
  align-items: center;
  gap: 48px;
  margin-bottom: 36px;
  /* break out of the centered .bliss-main so the image hugs the left edge */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: 56px;
}

.bliss-banner-img {
  width: 635px;
  height: 272px;
  max-width: 100%;
  margin-left: 6px;
  overflow: hidden;
}

.bliss-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---- 2 x 3 CARD GRID ---- */
.bliss-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop: 2 x 3 */
  gap: 20px;
}

.bliss-card {
  min-height: 470px;
  max-width: 100%;
  background: #F9FBFA;
  border: none;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}

.bliss-card:hover {
  background: #ffffff;
  box-shadow: -6px 17px 20px 0px rgba(0, 0, 0, 0.15);
}

.bliss-card-img {
  width: 100%;
  height: 235px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8e8e8;
}

.bliss-card-img img,
.bliss-card-img iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.bliss-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
}

.bliss-card-body {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #3a3a3a;
  text-align: justify;
  flex: 1;
  margin: 0;
}

.bliss-card-btn {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 30px;
  background: #608138;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  margin-top: 16px;
}

.bliss-card-btn:hover {
  background: #4e6a2e;
}

/* ---- mobile pagination (shown via JS only on mobile) ---- */
.bliss-pagination {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.bliss-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: #f0eee7;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.bliss-page-btn.is-active {
  background: var(--bliss-accent);
  color: #ffffff;
}

/* ---- DETAILS OVERLAY / MODAL ---- */
.bliss-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

.bliss-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.bliss-modal {
  position: relative;
  width: 730px;
  height: 825px;
  max-width: calc(100vw - 48px);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 20px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.bliss-overlay.is-open .bliss-modal {
  transform: translateY(0);
}

.bliss-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #608138;
  border-radius: 50%;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.bliss-modal-close:hover {
  background: #4e6a2e;
}

.bliss-modal-video {
  width: 572px;
  max-width: 100%;
  height: 346px;
  margin: 0 auto 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #000000;
}

.bliss-modal-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bliss-modal-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: center;
}

.bliss-modal-body {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #1a1a1a;
  text-align: justify;
  width: 572px;
  max-width: 100%;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
/* tablet + mobile: stack the banner, drop the full-bleed so image & text
   share the page's left margin */
@media (max-width: 1024px) {
  .bliss-banner {
    grid-template-columns: 1fr;
    width: auto;
    margin-left: 0;
    padding-right: 0;
  }
  .bliss-banner-img {
    width: 500px;        /* reduced a bit */
    max-width: 100%;
    height: 210px;
    margin-left: -44px;  /* pull a bit further left */
    justify-self: start; /* pin to the left of the cell */
    overflow: hidden;
  }
  .bliss-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* fill + clip */
    object-position: left center; /* keep the left side when cropping */
  }
  /* tablet: 3 x 2 (two columns) */
  .bliss-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .bliss-header {
    min-height: 74px;
    padding: 12px 20px;
    gap: 16px;
    position: relative;
  }

  .bliss-logo {
    width: 190px;
    height: 50px;
  }

  .bliss-nav-toggle { display: flex; }

  .bliss-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: #ffffff;
    border-bottom: 1px solid #ece9e1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  }
  .bliss-nav.is-open { display: flex; }

  .bliss-link {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid #f0eee7;
  }

  /* ACCORDION dropdowns in the mobile menu */
  .bliss-nav-item {
    display: block;
    width: 100%;
  }
  /* reset the desktop "tab" look on mobile + chevron */
  .bliss-nav-item > .bliss-link {
    padding: 16px 24px;
    border-radius: 0;
    border-top: 1px solid #f0eee7;
  }
  .bliss-nav-item > .bliss-link::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 44%;
    width: 11px;
    height: 11px;
    margin: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
  }
  .bliss-nav-item.is-open > .bliss-link::after {
    transform: translateY(-50%) rotate(225deg);
  }
  .bliss-nav-item:hover > .bliss-link,
  .bliss-nav-item:focus-within > .bliss-link {
    background: transparent;
    color: var(--bliss-ink);
  }
  .bliss-nav-item.is-open > .bliss-link {
    color: var(--bliss-accent);
  }
  .bliss-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #faf9f5;
    box-shadow: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
  }
  .bliss-nav-item.is-open .bliss-dropdown {
    max-height: 620px;
  }
  .bliss-dropdown a {
    padding: 12px 24px 12px 40px;
    color: var(--bliss-ink);
    border-top: 1px solid #efece4;
  }
  .bliss-dropdown a:hover {
    background: #f3f1ea;
    color: var(--bliss-accent);
  }
  .bliss-dropdown .resource-section-link:not(:first-child) {
    border-top-color: #e2dfd4;
  }
  .bliss-dropdown .resource-sub-link {
    padding-left: 58px;
  }
  .bliss-dropdown .resource-sub-link::before {
    left: 40px;
  }

  .bliss-main { padding: 120px 24px 56px; } /* clear the fixed navbar */
  .bliss-title { font-size: 2.6rem; }

  /* stack the banner, single-column cards */
  .bliss-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .bliss-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bliss-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .bliss-logo {
    width: 168px;
    height: 44px;
  }

  .bliss-nav {
    max-height: calc(100vh - 64px);
  }
}

@media (max-width: 700px) {
  /* .header switches to position: relative below this breakpoint (see style.css),
     so it no longer overlays the content and .bliss-main doesn't need extra
     top padding to clear it. */
  .bliss-main { padding-top: 32px; }
}

@media (max-width: 550px) {
  /* style.css re-fixes .header at this breakpoint (overlaid navbar for the
     home hero), so .bliss-main needs its top clearance back here too —
     otherwise the title overlaps the logo on real phone widths. Placed
     after the 700px block so it wins by cascade order. */
  .bliss-main { padding-top: 120px; }
}

/* ===== FOOTER (copied from the home page) ===== */
.footer {
  background: #6d7e3a;
  color: #ffffff;
  padding: 36px 64px 18px;
  font-family: 'Inter', sans-serif;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.footer-contact { min-width: 220px; }
.footer-reach   { min-width: 200px; margin-top: 33px; }
.footer-links   { min-width: 260px; }

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.footer-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-size: 18px;
}

.footer-socials a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: rgba(255,255,255,0.3);
}

.footer-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.4);
  min-height: 110px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
  max-width: 360px;
}

.footer-links-grid a {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  opacity: 0.9;
}

.footer-links-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 11px;
  margin-top: 20px;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .footer {
    padding: 28px 20px 14px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-reach { margin-top: 0; }
  .footer-divider { display: none; }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}
