:root {
    --accent: 217.2 91.2% 59.8%;
}
.cms-page-container
{
    width:100%;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
}
.ls-container
{
    justify-content: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}
.ls-container-vertical
{
    flex-direction: column;
}
.ls-container-horizontal
{
    flex-direction: row;
}
.ls-container-leaf
{
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    align-items: center;
}
.component-block
{
    margin-top: 5px;
    margin-bottom: 20px;
    width: 100%;
}

.html-editor-block .preview-container
{
    width: 100%;
    text-align: left;
}

.article-selector-container {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.article-container {
  max-width: 1200px;
  margin: 0 auto;
}

.article-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.article-cover {
    margin-bottom: 20px;
    text-align: center;
}

.cover-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-blocks {
    margin-top: 20px;
}
.block-unknown {
    padding: 15px;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    background: #fffbeb;
    font-size: 12px;
    color: #92400e;
    overflow-x: auto;
}

.html-block-fallback {
    padding: 15px;
    border: 1px solid #f87171;
    border-radius: 6px;
    background: #fef2f2;
    color: #991b1b;
}

.carousel-panel-container
{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* Content Slider Styles */
.carousel-panel {
  width: 600px;
}

.carousel {
  position: relative;
  width: 600px;
  max-width: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #000;
}

.carousel[data-slider-height] .slides {
  height: var(--slider-height, 400px);
}

.carousel[data-slider-height] .slide {
  height: var(--slider-height, 400px);
}

.empty-preview {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  color: #888;
  font-size: 1.2em;
  border-radius: 12px;
  border: 2px dashed #ccc;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide-with-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero block overlay and content */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.hero-title {
  margin: 0 0 16px 0;
  text-align: center;
}

.hero-sub {
  margin: 0 0 24px 0;
  text-align: center;
}

.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 20;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.9);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 20;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.library-btn {
  padding: 8px 16px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.thumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.video-thumb, .html-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* YouTube Player Styles */
.youtube-player-hero {
    cursor: pointer;
}

.youtube-player-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.youtube-player-hero .youtube-player-iframe {
    position: absolute;
    inset: 0;
    object-fit: cover;
    pointer-events: none;
}

.video-preview-wrapper {
    display: none;
}

.video-preview-wrapper.hero-mode {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-preview-wrapper.standard-mode {
    display: inline-block;
}

.video-preview {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-preview.standard-mode {
    display: inline-block;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.video-preview-title {
    color: #fff;
    font-weight: 700;
    padding: 8px 12px;
    text-align: center;
    max-width: 90%;
    margin-bottom: 8px;
}

.video-preview-play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-player-block
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-block-container
{
  padding: 24px;
  background: white;
  border-radius: 8px;
}

.teaser-card-body {
  color: inherit;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Text Block Styles */
.text-block {
    width: 100%;
    box-sizing: border-box;
}

.text-paragraph {
    line-height: 1.6;
    margin-bottom: 1em;
}

.text-paragraph:last-child {
    margin-bottom: 0;
}

/* Text Alignment */
.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right;
}

/* Font Sizes */
.text-size-small {
    font-size: 0.875rem;
}

.text-size-medium {
    font-size: 1rem;
}

.text-size-large {
    font-size: 1.25rem;
}

/* Margins */
.text-margins-narrow {
    padding: 0.5rem 0;
}

.text-margins-normal {
    padding: 1rem 0;
}

/* Icons List Component */
.icons-list-section {
    padding: 4rem 0;
}

.icons-list-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.icons-list-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.icon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
}

@media (min-width: 640px) {
    .icon-grid {
        max-width: 48rem;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .icon-grid {
        max-width: none;
        margin: 0;
        grid-template-columns: repeat(auto-fit, minmax(max(200px, 100%/4), 1fr));
    }
}

.icon-grid-item {
    text-align: center;
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background-color: hsl(var(--accent) / 0.1);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
}

.icon-image-container
{
    width: 6rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon-image {
    width: 100%;
    height: 100%;
}


.icon-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.icon-item-description {
    color: #6b7280;
}

.text-margins-wide {
    padding: 2rem 0;
}

/* Data Table Styles */
.data-table-container {
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.data-table-header-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
}

.data-table-wrapper {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    border: 1px solid #d1d5db;
    padding: 12px 16px;
    text-align: left;
}

.data-table-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f3f4f6;
}

.data-table-header th {
    font-weight: 600;
}

.table-cell-image {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.table-cell-link {
    color: #2563eb;
    text-decoration: underline;
}

.table-cell-link:hover {
    color: #1d4ed8;
}

.table-cell-boolean {
    font-size: 1.2em;
    font-weight: bold;
}

.collapsable-contents-section
{
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-color: #ffffff;
}

.collapsable-contents-container
{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: left;
}

.collapsable-contents-header
{
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.collapsable-sections-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.collapsable-section-details
{
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid #e5e7eb;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s;
}

.collapsable-section-details[open] .collapsable-section-icon {
    transform: rotate(180deg);
}


.collapsable-section-details:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


.collapsable-section-summary
{
    font-weight: 600;
    display: flex;
    flex-direction: row;

    width: 100%;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    transition: background-color 0.2s;
    list-style: none;



}


.collapsable-section-summary::-webkit-details-marker {
    display: none;
}

.collapsable-section-summary:hover {
    background-color: #f8fafc;
}


.collapsable-section-title
{
    flex: 1;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: #334155;
}

.collapsable-section-icon
{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;


    margin-left: 1rem;
    transform: rotate(0deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    color: #64748b;

}

.collapsable-section-content
{   
    width: 100%;
    display: flex;
    flex-direction: column; 
    background: #ffffff;     
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.collapsable-section-child
{
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    color: #475569;
    line-height: 1.625;

}

.collapsable-section-child:first-child {
    padding-top: 0;
}


.collapsable-section-child h1
{
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;    
}

.collapsable-section-child h2
{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;    
}

.collapsable-section-child h3
{
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;    
}

.collapsable-section-child h4
{
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;    
}

.collapsable-section-child h5
{
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;    
}

.collapsable-section-child strong
{
    font-weight: 600;
}

.collapsable-section-child p
{
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.collapsable-section-child p:last-child {
    margin-bottom: 0;
}


.collapsable-section-child ul
{
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    list-style-type: disc;
    line-height: 1.6;
}

.collapsable-section-child ol
{
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    list-style-type: decimal;
    line-height: 1.6;
}

.collapsable-section-child li
{
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.collapsable-section-child a
{
    color: #2563eb;
    text-decoration: underline;
}

.collapsable-section-child a:hover
{
    color: #1d4ed8;
}


.collapsable-section-child .video-preview {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.collapsable-section-child .youtube-player-iframe {
    max-width: 100%;
    height: auto;
}


.collapsable-section-child img {
    max-width: 300px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.collapsable-section-image {
    width: 300px;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
