/*!******************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/ADOGlossary/ADOGlossaryHomePage.css ***!
  \******************************************************************************************************/
/* =========================================
   Global
========================================= */

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

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
}

/* =========================================
   Main Wrapper
========================================= */

.ado-glossary-home-page {
  width: 100%;
  /* Set to visible so sticky children work correctly */
  overflow: visible;
}

/* =========================================
   Banner Section
========================================= */

.glossary-banner-section {
  width: 100%;
  min-height: 500px;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0% 5%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================
   Banner Overlay
========================================= */

.glossary-banner-overlay {
  width: 100%;
  max-width: 850px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  gap: 1rem;

  z-index: 2;
}

/* =========================================
   Banner Heading
========================================= */

.glossary-banner-heading {
  width: 100%;

  color: #ffffff;

  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3rem);

  line-height: 1.2;
}

/* =========================================
   Banner Description
========================================= */

.glossary-banner-description {
  width: 100%;
  max-width: 825px;

  color: #ffffff;

  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.375rem);

  line-height: 1.6;
}

/* =========================================
   Search Wrapper
========================================= */

.glossary-search-wrapper {
  width: 100%;
  margin-top: 1rem;
}

/* =========================================
   Search Inner
========================================= */

.glossary-search-inner {
  width: 100%;

  display: flex;
  flex-direction: row;
  /* Horizontal row by default on desktop/larger viewports */
  align-items: center;
  justify-content: center;

  gap: 1rem;
  /* Space between the input box and the button when inline */
}

/* =========================================
   Search Input Wrapper
========================================= */

.glossary-search-input-wrapper {
  width: 100%;
  max-width: 580px;
  /* Slightly wider modern search field */
  min-width: 0;

  height: 52px;
  /* Normalized balanced height */

  background: #ffffff;

  border-radius: 12px;
  /* Smoother, high-quality rounded corners */

  padding: 0 16px;

  display: flex;
  align-items: center;

  gap: 10px;
}

/* =========================================
   Search Icon
========================================= */

.glossary-search-icon {
  width: 18px;
  height: 18px;

  object-fit: contain;

  flex-shrink: 0;
}

/* =========================================
   Search Input
========================================= */

.glossary-search-input {
  width: 100%;
  height: 100%;

  border: none;
  outline: none;

  background: transparent;

  color: #024950;

  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.glossary-search-input::placeholder {
  color: #7f7f7f;
}

/* =========================================
   Search Button
========================================= */

.glossary-search-button {
  width: 163px;
  height: 53px;

  border-radius: 7px;
  border: 1px solid #ffffff;

  background: #fab206;

  color: #024950;

  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition: background 0.2s ease, transform 0.15s ease;
}

.glossary-search-button:hover {
  background: #f1ab05;
}

.glossary-search-button:active {
  transform: scale(0.97);
}

/* =========================================
   Alphabet Filter Section (Sticky Layout)
========================================= */

.glossary-alphabet-section {
  width: 100%;

  background: #ffffff;

  /* Sticky behavior aligned with header offset */
  position: -webkit-sticky;
  /* Support for older browsers */
  position: sticky;
  z-index: 10;

  /* Subtle divider and shadow to distinguish sticky action */
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* =========================================
   Alphabet Container
========================================= */

.glossary-alphabet-container {
  width: 100%;

  margin: 0 auto;

  display: flex;
  flex-wrap: nowrap; /* Keep all buttons on a single row */
  
  /* Centered when they fit, but start from left (no clipping) on overflow */
  justify-content: flex-start; 
  justify-content: safe center;

  gap: 12px;
  padding: 1%; /* Smooth padding for scroll limits */

  /* Horizontal Scroll & Physics setup */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  /* Modern lightweight scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 73, 80, 0.3) transparent;
}

/* Custom Scrollbar Elements */
.glossary-alphabet-container::-webkit-scrollbar {
  height: 5px;
}

.glossary-alphabet-container::-webkit-scrollbar-track {
  background: transparent;
}

.glossary-alphabet-container::-webkit-scrollbar-thumb {
  background-color: rgba(2, 73, 80, 0.35);
  border-radius: 10px;
}

.glossary-alphabet-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(2, 73, 80, 0.6);
}

/* =========================================
   Alphabet Button
========================================= */

.glossary-alphabet-button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto; /* Prevent button shrinking and distortion in scrollbar row */

  border-radius: 50%;
  border: 1px solid #d9d9d9;

  background: #ffffff;

  color: #024950;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;

  cursor: pointer;

  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.glossary-alphabet-button:hover {
  border-color: #024950;
  transform: scale(1.08);
}

.glossary-alphabet-button.active {
  background: #024950;
  border-color: #024950;
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(2, 73, 80, 0.2);
}

/* =========================================
   Glossary List Section
========================================= */

.glossary-list-section {
  width: 100%;

  min-height: 400px;

  margin: 0 auto;

  padding: 5%;
}

/* =========================================
   Letter Group
========================================= */

.glossary-letter-group {
  margin-bottom: 4rem;

  animation: fadeSlideUp 0.35s ease both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Letter Heading
========================================= */

.glossary-letter-heading {
  margin-bottom: 24px;

  color: #024950;

  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 40px;

  line-height: 100%;
}

/* =========================================
   Card Grid
========================================= */

.glossary-card-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;
}

/* =========================================
   Glossary Card
========================================= */

.glossary-card {
  background: #ffffff;

  border: 1px solid #e8e8e8;
  border-radius: 14px;

  padding: 24px;

  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glossary-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

  border-color: #c0d8da;
}

/* =========================================
   Card Top
========================================= */

.glossary-card-top {
  width: 100%;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 14px;
}

/* =========================================
   Card Title
========================================= */

.glossary-card-title {
  color: #024950;

  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;

  line-height: 100%;

  margin: 0;
}

/* =========================================
   Arrow Icon
========================================= */

.glossary-card-arrow {
  color: #024950;

  font-size: 24px;
  font-weight: 500;

  line-height: 1;

  flex-shrink: 0;

  margin-top: -10px;

  transition: transform 0.2s ease;
}

.glossary-card:hover .glossary-card-arrow {
  transform: translateX(4px);
}

/* =========================================
   Card Description
========================================= */

.glossary-card-description {
  color: #434343;

  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;

  line-height: 1.7;

  margin: 0;
}

/* =========================================
   No Data
========================================= */

.glossary-no-data {
  text-align: center;

  padding: 4rem 1rem;

  color: #434343;

  font-size: 18px;
  font-weight: 500;
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 992px) {

  .glossary-card-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Mobile (Below 769px but above 577px)
========================================= */

@media (max-width: 768px) {

  .glossary-banner-section {
    min-height: 420px;
    padding-top: 10%;
  }

  /* Keeps search box structured horizontally (inline) on tablet and larger mobiles */
  .glossary-search-inner {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    max-width: 550px;
    margin: 1.25rem auto 0 auto;
  }

  .glossary-search-input-wrapper {
    flex: 1;
    max-width: 100%;
    height: 48px;
    border-radius: 10px;
  }

  .glossary-search-button {
    width: 140px;
    height: 48px;
    /* Matching height for clean inline alignment */
    border-radius: 8px;
    font-size: 15px;
  }

  .glossary-letter-heading {
    font-size: 32px;
  }

  .glossary-card {
    padding: 20px;
  }

  .glossary-card-description {
    display: none;
  }

  .glossary-card-top {
    margin-bottom: unset;
  }

  .glossary-alphabet-container {
    padding: 2%;
  }
}

/* =========================================
   Small Mobile (577px and Below)
========================================= */

@media (max-width: 577px) {

  /* Dynamic vertical stack structure: input field and button split onto separate lines */
  .glossary-search-inner {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .glossary-search-input-wrapper {
    width: 90%;
    max-width: 100%;
    /* Fallback safety to fit screens narrower than 319px */
    height: 44px;
    border-radius: 10px;
    padding: 12px 16px;
    gap: 8px;
    box-shadow: 0px 20px 50px 0px rgba(15, 28, 45, 0.08);
    /* Sophisticated rendering of #0F1C2D14 */
  }

  .glossary-search-button {
    width: 130px;
    /* Centered block button matching the split design on smaller mobiles */
    height: 42px;
    border-radius: 8px;
    font-size: 15px;
  }
}

/* =========================================
   Micro Mobile (480px and Below)
========================================= */

@media (max-width: 480px) {

  .glossary-banner-section {
    min-height: 450px;
  }

  .glossary-search-input::placeholder {
    font-size: 12px;
    letter-spacing: 0px;
  }

  .glossary-banner-heading {
    font-size: 2rem;
  }

  .glossary-banner-description {
    font-size: 1rem;
  }

  .glossary-letter-heading {
    font-size: 28px;
  }

  .glossary-card-title {
    font-size: 17px;
  }

  .glossary-card-description {
    font-size: 15px;
  }

  .glossary-search-input-wrapper {
    width: 90%;
  }
}


/* For Loader */

.wp-react-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.wp-react-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e5e5;
  border-top: 4px solid #024950;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/*!*******************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/ADOGlossary/ADOGlossaryInnerPage.css ***!
  \*******************************************************************************************************/
/* ==========================================================================
   FONT TOKENS
   ========================================================================== */
:root {
  --fs-h1: 48px;
  --fs-h2: 42px;
  --fs-p: 16px;
  --fs-li: 16px;
  --fs-subheading: 18px;
}

@media (max-width: 992px) {
  :root {
    --fs-h1: 38px;
    --fs-h2: 34px;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 30px;
    --fs-h2: 28px;
    --fs-p: 14px;
    --fs-li: 16px;
    --fs-subheading: 16px;
  }
}

/* ==========================================================================
   GLOBAL
   ========================================================================== */

.ado-glossary-inner-page {
  width: 100%;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.loading-container {
  padding: 100px;
  text-align: center;
  font-size: 24px;
}

/* ==========================================================================
   SHARED SECTION SPACING
   ========================================================================== */

.overview-section,
.who-uses-section,
.how-it-works-section,
.core-capabilities-section,
.business-impact-section,
.operational-considerations-section,
.industry-relevance-section {
  padding: 5%;
}

/* ==========================================================================
   SHARED WRAPPERS
   ========================================================================== */

.overview-wrapper,
.who-uses-wrapper,
.how-it-works-wrapper,
.core-capabilities-wrapper,
.business-impact-wrapper,
.operational-wrapper,
.industry-relevance-wrapper {
  margin: 0 auto;
}

/* ==========================================================================
   SHARED HEADINGS
   ========================================================================== */

.overview-section h2,
.who-uses-wrapper h2,
.how-it-works-wrapper h2,
.core-capabilities-wrapper h2,
.business-impact-wrapper h2,
.operational-wrapper h2,
.industry-relevance-wrapper h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-subtitle {
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ==========================================================================
   BANNER SECTION
   ========================================================================== */

.banner-section {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-content h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin: 0;
}

/* ==========================================================================
   OVERVIEW SECTION
   ========================================================================== */

.overview-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Fallback class in case no image is resolved in overviewSection */
.overview-wrapper.no-image-layout {
  grid-template-columns: 1fr;
}

.overview-description {
  font-size: var(--fs-p);
  line-height: 1.8;
}

/* Configure block structure for optimal `<picture>` item sizing */
.overview-picture {
  display: block;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.overview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* ==========================================================================
   WHO USES SECTION
   ========================================================================== */

.who-uses-heading {
  font-size: var(--fs-subheading);
  margin-bottom: 25px;
  line-height: 1.7;
  font-weight: 600;
}

.who-uses-description {
  font-size: var(--fs-p);
  line-height: 1.9;
}

.who-uses-description ol,
.who-uses-description ul {
  padding-left: 24px;
}

.who-uses-description li {
  margin-bottom: 14px;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works-description {
  font-size: var(--fs-p);
  line-height: 1.8;
}

.how-it-works-description ul+p,
.how-it-works-description ol+p {
  margin-left: 1.5%;
}

.how-it-works-description ul {
  margin-left: 1.5%;
}

/* ==========================================================================
   CORE CAPABILITIES SECTION
   ========================================================================== */

.core-capabilities-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px;
  padding-left: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.core-capabilities-card ul {
  list-style-type: disc !important;
  padding: 0;
  margin: 0;
}

.core-capabilities-card li {
  display: list-item !important;
  font-size: var(--fs-li);
  line-height: 1.8;
  margin-bottom: 16px;
  position: relative;
}

/* ==========================================================================
   BUSINESS IMPACT SECTION
   ========================================================================== */

.business-impact-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.business-impact-card {
  background: #f4f5f6;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.impact-card-title {
  font-size: var(--fs-subheading);
  font-weight: 700;
  color: #024950;
  margin: 0 0 15px 0;
}

.impact-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.impact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.impact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.impact-item-text {
  font-size: var(--fs-p);
  line-height: 1.6;
  color: #333333;
}

.impact-item-text p,
.business-impact-bottom-text p {
  margin: 0;
  padding: 0;
}

.business-impact-bottom-text {
  margin-top: 30px;
  font-size: var(--fs-p);
  line-height: 1.7;
}

/* ==========================================================================
   OPERATIONAL CONSIDERATIONS SECTION
   ========================================================================== */

.operational-subheading {
  font-size: var(--fs-p);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 400;
}

.operational-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  padding-left: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.operational-card ul {
  padding: 0;
  margin: 0;
}

.operational-card li {
  font-size: var(--fs-li);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  font-weight: 400;
}

.operational-card li:last-child {
  margin-bottom: 0;
}

.operational-bottom-text {
  font-size: var(--fs-p);
  line-height: 1.7;
  margin-top: 20px;
}

.operational-bottom-text p {
  margin: 0;
}

/* ==========================================================================
   INDUSTRY RELEVANCE SECTION
   ========================================================================== */

.industry-relevance-section {
  background-size: cover;
  background-position: center;
}

.industry-relevance-description {
  font-size: var(--fs-p);
  line-height: 1.8;
}

.industry-relevance-description p {
  margin-top: 0;
  margin-bottom: 24px;
}

.industry-relevance-description p:last-child {
  margin-bottom: 0;
}

.industry-relevance-description ul {
  margin-left: 3%
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  .overview-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .banner-section {
    min-height: 300px;
  }

  .overview-section,
  .who-uses-section,
  .how-it-works-section,
  .core-capabilities-section,
  .business-impact-section,
  .operational-considerations-section,
  .industry-relevance-section {
    padding: 50px 24px;
  }

  .core-capabilities-card,
  .operational-card {
    padding: 25px 20px;
  }

  .core-capabilities-card ul,
  .operational-card ul {
    margin-left: 2%;
  }

  .business-impact-card {
    padding: 15px;
  }

  .how-it-works-description ul+p,
  .how-it-works-description ol+p {
    margin-left: 3%;
  }

  .how-it-works-description ul {
    margin-left: 5.5%;
  }

  .industry-relevance-description ul {
    margin-left: 5.5%
  }
}

/* =========================================
   Related Blogs Section
   ========================================= */
.related-blogs-section {
  background-color: #024950;
  padding: 5%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.related-blogs-wrapper {
  width: 100%;
}

.related-blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.related-blogs-header h2 {
  color: #FAB206;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.view-all-link {
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.view-all-link:hover {
  opacity: 0.8;
}

.blog-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  color: #024950;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
  flex-grow: 1;
}

/* WordPress wraps excerpts in <p>, so we remove the default margin */
.blog-excerpt p {
  margin: 0;
}

.read-more-link {
  color: #024950;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
  display: inline-block;
}

.read-more-link:hover {
  text-decoration: underline;
}

.blog-footer {
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
  margin-top: auto;
}

.blog-date {
  color: #999999;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .related-blogs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.wp-react-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.wp-react-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e5e5;
  border-top: 4px solid #024950;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
