.hr-content {
    width: 100%;
    display: block;

}
.image-content {
    width: 100%;
    display: block;
}
.image-content img {
    height: 400px;
    width: auto;
    border-radius: 10px;
}
.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;
    border-radius: 10px;
}
.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 #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: 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: #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: 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: #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: #fff;
    font-size: 2.8em;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 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 #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.filedownload-link:hover {
    border-color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.filedownload-icon {
    font-size: 2em;
    flex-shrink: 0;
    color: #555;
}
.filedownload-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.filedownload-title-text {
    font-weight: 600;
}
.filedownload-desc {
    font-size: .85em;
    color: #666;
}
.filedownload-dl-icon {
    font-size: 1.2em;
    color: #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 #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: #555;
    transition: color .15s, border-color .15s;
}
.foldergallery-tab.active,
.foldergallery-tab:hover {
    color: #111;
    border-bottom-color: #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;
    }
}