/* Main Content Column */
.content-section {
	margin-bottom: 30px;
}

.content-section h2 {
	font-family: 'Ruda', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #595959;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0084c9;
}

.content-section p {
	font-size: 16px;
	line-height: 1.8;
	color: #595959;
	margin-bottom: 20px;
}

.content-section hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d0d0d0, transparent);
    margin: 36px 0;
}

.content-section .content-link {
	color: #0084c9;
	text-decoration: none;
}

.content-section .content-link:hover {
	text-decoration: underline;
}


@media (max-width: 767px) {
	.content-section h2 {
		font-size: 24px;
	}
}


/* ==========================================
   CONTENT SECTION BUTTON
   ========================================== */

.content-section__button-wrapper {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.content-section__button-wrapper--left {
    justify-content: flex-start;
}

.content-section__button-wrapper--center {
    justify-content: center;
}

.content-section__button-wrapper--right {
    justify-content: flex-end;
}

.content-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Ruda', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #0084c9 0%, #00a5db 100%);
    color: #ffffff;
}

.content-section__button:hover {
    background: linear-gradient(135deg, #006da6 0%, #0084c9 100%);
    color: #ffffff;
}

.content-section__button:active {
    transform: translateY(1px);
}

.content-section__button i {
    font-size: 0.9em;
}

.content-section__button.content-section__button--secondary {
    background: transparent;
    color: #0084c9;
    border: 2px solid #0084c9;
}

.content-section__button.content-section__button--secondary:hover {
    background-color: rgba(0, 132, 201, 0.08);
    color: #0084c9;
}

.content-section__button--full-width {
    width: 100%;
}

.content-section__button:disabled {
    background: #c0c8d0;
    cursor: not-allowed;
}

.content-section__button:disabled:hover {
    background: #c0c8d0;
}


/* ========== LIST STYLING ========== */

/* Safe Harbor / Disclosure Styling */
.content-section--disclosure {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #595959;
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
}

.content-section--disclosure h2 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #595959;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.content-section--disclosure p {
    font-size: 13px;
    line-height: 1.7;
    color: #757575;
    margin-bottom: 12px;
}

.content-section--disclosure p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .content-section--disclosure {
        padding: 16px 18px;
    }
    
    .content-section--disclosure h2 {
        font-size: 14px;
    }

    .content-section--disclosure p {
        font-size: 12px;
    }
}

/* ----- BASE LIST STYLES ----- */
.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 15px;
    list-style: none;
}

.content-section ol {
    counter-reset: list-counter;
}

.content-section ul > li,
.content-section ol > li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #595959;
}

.content-section ol > li {
    counter-increment: list-counter;
}

/* ----- TOP-LEVEL BULLETS (UL) ----- */
.content-section ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #0084c9;
    border-radius: 50%;
}

/* ----- TOP-LEVEL NUMBERS (OL) ----- */
.content-section ol > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Ruda', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0084c9;
    line-height: 1.6;
}

/* ----- NESTED LISTS (SHARED) ----- */
.content-section li > ul,
.content-section li > ol {
    margin: 12px 0 4px 0;
    padding-left: 10px;
}

.content-section li > ul > li,
.content-section li > ol > li {
    margin-bottom: 8px;
    padding-left: 20px;
}

.content-section li > ul > li:last-child,
.content-section li > ol > li:last-child {
    margin-bottom: 0;
}

/* ----- NESTED UL BULLETS ----- */
.content-section li > ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: transparent;
    border: 1.5px solid #00a5db;
    border-radius: 50%;
}

/* ----- NESTED OL NUMBERS ----- */
.content-section li > ol {
    counter-reset: nested-counter;
}

.content-section li > ol > li {
    counter-increment: nested-counter;
}

.content-section li > ol > li::before {
    content: counter(nested-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Ruda', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #00a5db;
    line-height: 1.6;
}

/* ----- THIRD-LEVEL NESTING ----- */
.content-section li > ul > li > ul,
.content-section li > ol > li > ol,
.content-section li > ul > li > ol,
.content-section li > ol > li > ul {
    margin: 8px 0 4px 0;
}

.content-section li > ul > li > ul > li::before,
.content-section li > ol > li > ul > li::before {
    width: 4px;
    height: 4px;
    background: #595959;
    border: none;
}

.content-section li > ul > li > ol,
.content-section li > ol > li > ol {
    counter-reset: deep-nested-counter;
}

.content-section li > ul > li > ol > li,
.content-section li > ol > li > ol > li {
    counter-increment: deep-nested-counter;
}

.content-section li > ul > li > ol > li::before,
.content-section li > ol > li > ol > li::before {
    content: counter(deep-nested-counter) ".";
    font-size: 13px;
    font-weight: 500;
    color: #595959;
}

/* ----- PARAGRAPHS WITHIN LIST ITEMS ----- */
.content-section li > p {
    margin-bottom: 12px;
}

.content-section li > p:first-child {
    margin-top: 4px;
}

.content-section li > p:last-child {
    margin-bottom: 0;
}

/* ----- LAST ITEMS CLEANUP ----- */
.content-section ul > li:last-child,
.content-section ol > li:last-child {
    margin-bottom: 0;
}

/* ========== END LIST STYLING ========== */

/* ========== BLOCKQUOTE STYLING ========== */

/* ----- BASE BLOCKQUOTE ----- */
.content-section blockquote {
    background: #f8fbfd;
    border-left: 4px solid #0084c9;
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 24px 0;
    position: relative;
}

.content-section blockquote p {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    color: #595959;
    margin: 0;
}

.content-section blockquote p + p {
    margin-top: 12px;
}

.content-section blockquote cite {
    display: block;
    font-family: 'Ruda', sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #0084c9;
    margin-top: 16px;
}

/* ----- TESTIMONIAL VARIANT ----- */
.content-section blockquote.testimonial {
    background: linear-gradient(135deg, rgba(0,132,201,0.04) 0%, rgba(0,165,219,0.04) 100%);
    padding: 48px 28px 28px 28px;
}

.content-section blockquote.testimonial::before {
    content: '\f10d'; /* fa-quote-left */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    top: 16px;
    left: 28px;
    font-size: 24px;
    color: rgba(0,132,201,0.12);
}

.content-section blockquote.testimonial::after {
    content: '\f10e'; /* fa-quote-right */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 24px;
    color: rgba(0,132,201,0.12);
}

.content-section blockquote.testimonial cite {
    position: relative;
    display: block;
    font-family: 'Ruda', sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #0084c9;
    margin-top: 16px;
    padding-left: 20px;
}

.content-section blockquote.testimonial cite::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: #0084c9;
}

.content-section blockquote.testimonial cite span.position {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #999999;
    margin-top: 4px;
}
/* ----- END TESTIMONIAL VARIANT ----- */

/* ----- PULL QUOTE VARIANT ----- */
.content-section blockquote.pull-quote {
    background: transparent;
    border-left: none;
    border-top: 3px solid #0084c9;
    border-bottom: 3px solid #00a5db;
    border-radius: 0;
    padding: 28px 20px;
    text-align: center;
}

.content-section blockquote.pull-quote p {
    font-family: 'Ruda', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    color: #595959;
    line-height: 1.5;
}

.content-section blockquote.pull-quote cite {
    margin-top: 20px;
}

/* ----- HIGHLIGHT VARIANT ----- */
.content-section blockquote.highlight {
    background: linear-gradient(135deg, rgba(0,132,201,0.05) 0%, rgba(0,219,109,0.05) 100%);
    border-left-color: #00db6d;
}

/* ========== END BLOCKQUOTE STYLING ========== */

/* Info Box */
.content-section .info-box {
	background: #f0f8fc;
	border-left: 4px solid #0084c9;
	padding: 25px;
	margin: 30px 0;
	border-radius: 6px;
}

.content-section .info-box-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Ruda', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #0084c9;
	margin-bottom: 15px;
}

.content-section .info-box ul {
	margin: 0; 
	padding: 0;
}

.content-section .info-box strong {
	color: #0084c9;
}


/* Highlight Box */
.content-section .highlight-box {
	background: linear-gradient(135deg, rgba(0,132,201,0.05) 0%, rgba(0,219,109,0.05) 100%);
	border: 2px solid #00db6d;
	padding: 25px;
	margin: 30px 0;
	border-radius: 8px;
}

.content-section .highlight-box h3 {
	font-family: 'Ruda', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #0084c9;
	margin-bottom: 12px;
}

.content-section .highlight-box p {
	margin-bottom: 0;
}


/* References */
.references-list {
	padding-left: 25px;
}

.references-list li {
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 12px;
	color: #666;
}

.references-list em {
	color: #0084c9;
}

.references-list a {
	color: #0084c9;
	text-decoration: none;
}

.references-list a:hover {
	text-decoration: underline;
}

/* ============================================
   CONTENT BLOCKS - Flexible Media Wrapper
   For images, videos, iframes, and embeds
   ============================================ */

/* ============================================
   BASE WRAPPER
   ============================================ */

.content-block {
  margin: 2rem auto;
  padding: 0;
}

/* Direct children: images, videos */
.content-block > img,
.content-block > video,
.content-block > .inner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Iframes need explicit dimensions (no intrinsic size) */
.content-block > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* Sensible default */
  border: none;
  border-radius: 4px;
}

/* Caption styling */
.content-block > figcaption,
.content-block > .caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* ============================================
   SIZING - Width Constraints
   ============================================ */

.content-block--sm    { max-width: 400px; }
.content-block--md    { max-width: 550px; }
.content-block--lg    { max-width: 700px; }  /* Default feel */
.content-block--wide  { max-width: 1000px; }
.content-block--full  { max-width: 100%; margin-left: 0; margin-right: 0; }

.content-block--full > figcaption,
.content-block--full > .caption {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* ============================================
   POSITIONING - Float & Alignment
   ============================================ */

.content-block--left {
  float: left;
  max-width: 350px;
  margin: 0.5rem 2rem 1.5rem 0;
  clear: left;
}

.content-block--right {
  float: right;
  max-width: 350px;
  margin: 0.5rem 0 1.5rem 2rem;
  clear: right;
}

.content-block--left.content-block--sm,
.content-block--right.content-block--sm {
  max-width: 250px;
}

.content-block--left > figcaption,
.content-block--right > figcaption,
.content-block--left > .caption,
.content-block--right > .caption {
  text-align: left;
  font-size: 0.85rem;
}

/* Clearfix utility */
.content-flow::after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================
   ASPECT RATIOS
   ============================================ */

/* Override default 16:9 for iframes, or set for images/video */
.content-block--16-9 { aspect-ratio: 16 / 9; }
.content-block--4-3  { aspect-ratio: 4 / 3; }
.content-block--square { aspect-ratio: 1 / 1; }

/* When aspect-ratio is on container, children fill it */
.content-block[class*="--16-9"] > iframe,
.content-block[class*="--4-3"] > iframe,
.content-block--square > iframe {
  aspect-ratio: auto; /* Remove iframe's own ratio */
  height: 100%;
}

.content-block[class*="--16-9"] > img,
.content-block[class*="--16-9"] > video,
.content-block[class*="--4-3"] > img,
.content-block[class*="--4-3"] > video,
.content-block--square > img,
.content-block--square > video {
  height: 100%;
  object-fit: cover;
}

/* ============================================
   VISUAL TREATMENTS
   ============================================ */

.content-block--shadow > img,
.content-block--shadow > iframe,
.content-block--shadow > video,
.content-block--shadow > .inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-block--border > img,
.content-block--border > iframe,
.content-block--border > video,
.content-block--border > .inner {
  border: 1px solid #e0e0e0;
}

.content-block--rounded > img,
.content-block--rounded > iframe,
.content-block--rounded > video,
.content-block--rounded > .inner {
  border-radius: 12px;
}

/* Card treatment - wraps content with background */
.content-block--card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.content-block--card > figcaption,
.content-block--card > .caption {
  color: #555;
  margin-top: 1rem;
}

/* Screenshot style */
.content-block--screenshot > img,
.content-block--screenshot > iframe {
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   GRIDS - Multiple items
   ============================================ */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.content-grid > .content-block {
  margin: 0;
}

.content-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
.content-grid--3 { grid-template-columns: repeat(3, 1fr); }
.content-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Comparison (side-by-side) */
.content-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto;
}

.content-compare > .content-block {
  margin: 0;
}

/* ============================================
   SPECIAL LAYOUTS
   ============================================ */

/* Hero - full width at top of content */
.content-block--hero {
  max-width: 100%;
  margin: 0 0 3rem 0;
}

.content-block--hero > img,
.content-block--hero > iframe,
.content-block--hero > video {
  border-radius: 0;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.content-block--space-none { margin-top: 0; margin-bottom: 0; }
.content-block--space-sm   { margin-top: 1rem; margin-bottom: 1rem; }
.content-block--space-lg   { margin-top: 3rem; margin-bottom: 3rem; }

/* ============================================
   CAPTION UTILITIES
   ============================================ */

.content-block--caption-left > figcaption,
.content-block--caption-left > .caption { text-align: left; }

.content-block--caption-right > figcaption,
.content-block--caption-right > .caption { text-align: right; }

.content-block--no-caption > figcaption,
.content-block--no-caption > .caption { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  
  /* Remove floats */
  .content-block--left,
  .content-block--right {
    float: none;
    max-width: 100%;
    margin: 1.5rem auto;
  }
  
  .content-block--left > figcaption,
  .content-block--right > figcaption,
  .content-block--left > .caption,
  .content-block--right > .caption {
    text-align: center;
  }
  
  .content-block {
    margin: 1.5rem auto;
  }
  
  /* Stack grids */
  .content-grid,
  .content-grid--2,
  .content-grid--3,
  .content-grid--4,
  .content-compare {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-block--card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .content-block {
    margin: 1rem auto;
  }
  
  .content-block > figcaption,
  .content-block > .caption {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  .content-block {
    page-break-inside: avoid;
    margin: 1rem auto;
  }
  
  .content-block > img,
  .content-block > iframe,
  .content-block > video {
    max-width: 100%;
    box-shadow: none;
  }
  
  .content-block--left,
  .content-block--right {
    float: none;
    max-width: 500px;
    margin: 1rem auto;
  }
  
  .content-block > figcaption,
  .content-block > .caption {
    color: #000;
    font-size: 9pt;
  }
}

/* ============================================
   Confidential Block
   ============================================ */

.confidential-box {
    position: relative;
    background-color: #fde8e8;
    border: 1px solid #e8b8b8;
    border-left: 4px solid #c0392b;
    border-radius: 0 4px 4px 0;
    padding: 20px 20px 20px 24px;
    margin: 20px 20px 0 20px;
}

.confidential-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Ruda', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.confidential-box-header::before {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    content: '\f023'; /* fa-lock */
    font-size: 14px;
}

.confidential-box p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5c4242;
    margin: 0;
}

.confidential-box p + p {
    margin-top: 12px;
}

.content-section aside {
    font-size: 14px;
    color: #666;
    border-left: 2px solid #ccc;
    padding-left: 16px;
    margin: 24px 0;
}

.content-section mark {
    background: linear-gradient(120deg, rgba(0,219,109,0.15) 0%, rgba(0,132,201,0.15) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

/* Accordion Styles */
.content-section .accordion-container {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-section .accordion-item {
	border-bottom: 1px solid #e8e8e8;
}

.content-section .accordion-item:last-child {
	border-bottom: none;
}

.content-section .accordion-header {
	width: 100%;
	padding: 20px 25px;
	background: white;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: background 0.3s ease;
	font-family: 'Ruda', sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: #595959;
	text-align: left;
}

.content-section .accordion-header:hover {
	background: #f9f9f9;
}

.content-section .accordion-item.active .accordion-header {
	background: #e8f4fb;
	color: #0084c9;
}

.content-section .accordion-icon {
	flex-shrink: 0;
	transition: transform 0.3s ease;
	color: #0084c9;
}

.content-section .accordion-item.active .accordion-icon {
	transform: rotate(45deg);
}

.content-section .accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.content-section .accordion-content p {
	padding: 20px 25px 0px 25px;
	font-size: 15px;
	line-height: 1.7;
	color: #595959;
}



/* ========== RESOURCE META SECTION ========== */

.resource-meta-section {
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

/* Tags Row */
.resource-meta-section .resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.resource-meta-section .resource-tags .tag {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 16px;
}


/* Tag Category Colors */
.resource-meta-section .tag--science {
	background: #e8f5e9;
    color: #2e7d32;
}

.resource-meta-section .tag--business {
    background: #e3f2fd;
    color: #1565c0;
}



/* Meta Row */
.resource-meta-section .resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.resource-meta-section .resource-meta__item {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #777;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resource-meta-section .resource-meta__item i {
    color: #0084c9;
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.resource-meta-section .resource-meta__item strong {
    font-weight: 500;
    color: #595959;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .resource-meta-section .resource-meta {
        flex-direction: column;
        gap: 10px;
    }
}
