.page-preview-note {
    background: var(--eyect-warn-soft, #fff6e5);
    border: 1px solid var(--eyect-warn-line, #f3d9a4);
    color: var(--eyect-warn, #8a5a12);
    border-radius: var(--eyect-radius, 10px);
    padding: 10px 14px;
    font-size: 14px;
    margin: 0 0 20px;
}
.hr-content {
    width: 100%;
    display: block;

}
.image-content {
    width: 100%;
    display: block;
}
.image-content img {
    height: 400px;
    width: auto;
}
.flexblock {
    display: flex; align-items: center;
    width: 100%;
    display: block;
}
*, *::before, *::after {
    box-sizing: border-box;
}

.flexblockLeft,
.flexblockRight {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 20px 0;
    gap: 5%;
}

.flexblockOne {
    flex: 1 1 0;
    min-width: 0;
}

.flexblockTwo {
    flex: 1 2 0;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.flexblockTwo img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}
.flex-mobile { display: none; }

@media (max-width: 768px) {
  .flex-desktop { display: none; }
  .flex-mobile  { display: flex; }
}
.flexblockOne h1:first-child,
.flexblockTwo h1:first-child {
    margin-top: 0;
}
table td, table th {
    border: 1px solid var(--eyect-table-line, #222);
    padding: 0px;
}
table {
    border-spacing: 0px;
    border-collapse: separate;
}
.video-embed-block {
    margin: 0 0 20px 0;
}
.gallery-block {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 0 0 20px 0;
}
.gallery-thumb-wrap {
    overflow: hidden;
    border-radius: var(--eyect-radius-sm, 4px);
    position: relative;
}
.gallery-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}
.gallery-thumb-wrap:hover .gallery-thumb {
    transform: scale(1.04);
}
.gallery-caption {
    margin: 4px 0 0;
    font-size: 0.8em;
    text-align: center;
    color: var(--eyect-muted, #555);
}

.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lb-overlay.lb-visible {
    display: flex;
}
.lb-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}
.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--eyect-radius-sm, 4px);
    display: block;
    margin: 0 auto;
}
.lb-caption {
    color: #ddd;
    margin: 10px 0 0;
    font-size: .9em;
}
.lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: var(--eyect-brand-contrast, #fff);
    font-size: 2.2em;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}
.lb-prev, .lb-next {
    background: rgba(255,255,255,.15);
    border: none;
    color: var(--eyect-brand-contrast, #fff);
    font-size: 2.8em;
    cursor: pointer;
    padding: 0 16px;
    border-radius: var(--eyect-radius-sm, 4px);
    line-height: 1;
    transition: background .15s;
    flex-shrink: 0;
}
.lb-prev:hover, .lb-next:hover {
    background: rgba(255,255,255,.3);
}

.filedownload-block {
    margin: 0 0 20px 0;
}
.filedownload-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid var(--eyect-line, #e0e0e0);
    border-radius: var(--eyect-radius-sm, 8px);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.filedownload-link:hover {
    border-color: var(--eyect-ink-soft, #555);
    box-shadow: var(--eyect-shadow, 0 2px 8px rgba(0,0,0,.08));
}
.filedownload-icon {
    font-size: 2em;
    flex-shrink: 0;
    color: var(--eyect-muted, #555);
}
.filedownload-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.filedownload-title-text {
    font-weight: 600;
}
.filedownload-desc {
    font-size: .85em;
    color: var(--eyect-muted, #666);
}
.filedownload-dl-icon {
    font-size: 1.2em;
    color: var(--eyect-muted-light, #999);
    flex-shrink: 0;
}

.foldergallery-block {
    margin: 0 0 20px 0;
}
.foldergallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--eyect-line, #e0e0e0);
    padding-bottom: 0;
}
.foldergallery-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1em;
    color: var(--eyect-muted, #555);
    transition: color .15s, border-color .15s;
}
.foldergallery-tab.active,
.foldergallery-tab:hover {
    color: var(--eyect-ink-strong, #111);
    border-bottom-color: var(--eyect-ink, #333);
}
.foldergallery-panel {
    display: none;
}
.foldergallery-panel.active {
    display: block;
}

.iframe-content {
    margin: 0 0 20px 0;
    width: 100%;
    overflow: hidden;
}
.iframe-content iframe {
    display: block;
    max-width: 100%;
}

.row-block {
    display: flex;
    gap: 24px;
    width: 100%;
    margin: 0 0 20px 0;
    align-items: flex-start;
}
.row-column {
    flex: 1 1 0;
    min-width: 0;
}
.row-column:empty {
    display: none;
}

@media (min-width: 769px) {
    .row-block.row-ratio-33-67 .row-column:nth-child(1) { flex: 0 0 33%; }
    .row-block.row-ratio-33-67 .row-column:nth-child(2) { flex: 1 1 0; }
    .row-block.row-ratio-67-33 .row-column:nth-child(1) { flex: 0 0 67%; }
    .row-block.row-ratio-67-33 .row-column:nth-child(2) { flex: 1 1 0; }
    .row-block.row-ratio-25-75 .row-column:nth-child(1) { flex: 0 0 25%; }
    .row-block.row-ratio-25-75 .row-column:nth-child(2) { flex: 1 1 0; }
    .row-block.row-ratio-75-25 .row-column:nth-child(1) { flex: 0 0 75%; }
    .row-block.row-ratio-75-25 .row-column:nth-child(2) { flex: 1 1 0; }
}
@media (max-width: 768px) {
    .row-block {
        flex-direction: column;
        gap: 16px;
    }
}

.faq-item { border-bottom: 1px solid var(--eyect-line, #dfe3ec); }
.faq-item:first-child { border-top: 1px solid var(--eyect-line, #dfe3ec); }

.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--eyect-ink-strong, #111418);
    transition: color .2s;
}
.faq-question-btn:hover { color: var(--eyect-brand, #0C4668); }
.faq-question-btn span:first-child { flex: 1; }

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--eyect-brand, #0C4668);
    transition: transform .3s ease;
}
.faq-question-btn[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer-inner {
    padding: 0 4px 18px;
    line-height: 1.7;
    color: var(--eyect-ink, #26333d);
}

.grid-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 32px 0;
}
@media (max-width: 1024px) { .grid-block { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .grid-block { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-block { grid-template-columns: 1fr; } }

.grid-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--eyect-surface, #fff);
    border-radius: var(--eyect-radius, 12px);
    box-shadow: var(--eyect-shadow, 0 3px 14px rgba(12, 70, 104, .08));
    transition: transform .2s ease, box-shadow .2s ease;
}
.grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eyect-shadow-lg, 0 12px 40px rgba(12, 70, 104, .22));
}

.grid-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--eyect-surface-sunken, #eef1f6);
}
.grid-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.grid-card:hover .grid-card-image img { transform: scale(1.04); }
.grid-card-image--empty { background: var(--eyect-line, #dfe3ec); }

.grid-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 14px 16px 18px;
}
.grid-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--eyect-brand, #0C4668);
}
.grid-card-desc {
    margin: 0;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--eyect-muted, #7d8b96);
}
.grid-card-desc b, .grid-card-desc strong { color: var(--eyect-accent, #0C4668); }

.faq-block {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 0;
}
