/* FSL Alternative Partei - Enhanced CSS with Original Selectors Extended */

* {
    margin: 0;
    padding: 0;
    border: 0 none;
    appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    list-style: none;
    outline: none;
}

html, body {
    margin: 1.5% 2.5%;
    height: 95%;
    width: 95%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1% 1% 15% 1%;
    background: #ffffff;
    color: #000000;
    font-family: sans-serif;
    text-align: left;
    max-width: 1920px;
    margin: 0 auto;
}

button, input[type=submit] {
    background: #8B0E1C;
    color: #ffffff;
    padding: 0.3% 1%;
    border-radius: 5px;
    border-bottom: 2px solid #BD2F3E;
    border-right: 2px solid #BD2F3E;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover, input[type=submit]:hover {
    background: #BD2F3E;
}

html, body, button, input {
    font-family: sans-serif;
    text-align: left;
}

a, a:link, a:visited {
    text-decoration: underline;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #BD2F3E;
}

img, object, embed {
    background: initial;
    background: none;
    background: transparent;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 950;
    margin: 0.5em 0;
}

h1 {
    font-size: 3.5em;
    line-height: 1.1;
}

h2 {
    font-size: 2.5em;
    line-height: 1.2;
}

h3 {
    font-size: 1.85em;
    line-height: 1.3;
}

h4 {
    font-size: 1.7em;
    line-height: 1.3;
}

h5 {
    font-size: 1.65em;
    line-height: 1.4;
}

h6 {
    font-size: 1.6em;
    line-height: 1.4;
}

p {
    margin: 1% 0;
    line-height: 1.6;
}

.scroll {
    display: block;
    width: 65%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 2% 0;
}

.scroll-content {
    display: table-cell;
    white-space: nowrap;
}

.scroll .scroll-content .block {
    display: table-cell;
    white-space: normal;
    max-width: 650px;
    min-width: 350px;
    padding: 1%;
    vertical-align: top;
}

/* Compact Navigation Element for Scroll */
.scroll-nav-compact {
  position: absolute;
  z-index: 30;
  border-radius: 5px;
  min-width: 60px;
  padding: 0 5%;
}

.scroll-nav-compact .nav-btn {
  display: block;
  background: #BD2F3E;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 0.8em;
  font-weight: bold;
  float: left;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 5px;
}

.scroll-nav-compact .nav-btn:hover {
    background: #8B0E1C;
    color: #ffffff;
}

/* Make scroll container relative for absolute positioning */
.scroll {
    display: block;
    width: 65%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 2% 0;
    position: relative;
}

/* Keep original scrollnav block styling */
.scroll .scroll-content .block.scrollnav {
    min-width: initial;
    padding: 1% 2%;
    background: rgba(189, 64, 10, 0.1);
    border-radius: 5px;
}

.scroll .scroll-content .block h6 {
    margin: 0 0 0.5em 0;
    color: #BD2F3E;
}

.scroll .scroll-content .block p {
    margin: 0;
    font-size: 0.9em;
}

img.half {
    max-height: none;
    width: 50%;
    margin: 1% 0;
}

div.half {
    display: block;
    float: right;
    width: 45%;
    margin: 1% 0 1% 5%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.pos0 { z-index: 0; }
.pos1 { z-index: 1; }
.pos2 { z-index: 2; }
.pos3 { z-index: 3; }
.pos4 { z-index: 4; }
.pos5 { z-index: 5; }
.pos6 { z-index: 6; }
.pos7 { z-index: 7; }
.pos8 { z-index: 8; }
.pos9 { z-index: 9; }
.pos10 { z-index: 10; }
.pos11 { z-index: 11; }
.pos12 { z-index: 12; }
.pos13 { z-index: 13; }
.pos14 { z-index: 14; }
.pos15 { z-index: 15; }

.domcontainer {
    width: 100%;
    min-height: 120%;
    position: relative;
}

.domcontainer.bigart {
    min-height: 200%;
    padding: 3% 0;
}

.svgcontainer {
    width: 800%;
    height: 120%;
    left: -355%;
    margin-top: -15%;
    position: relative;
}

.svgcontainer.svgwater {
    height: 100%;
}

.svgcontainer.svg68 {
    height: 83%;
}

.svgcontainer.svg50 {
    height: 60%;
}

.svgcontainer.svg20 {
    height: 24%;
}

.svgcontainer.svg10 {
    height: 12%;
}

.svg {
    width: 100%;
    height: auto;
}

.svgoffsetl55 {
    margin-left: -6%;
}

.svgoffsetl5 {
    margin-left: -3%;
}

.svgoffsetmid {
    margin-left: 0;
}

.svgoffsetr55 {
    margin-left: 10%;
}

.svgoffsetleft {
    margin-left: -3%;
}

.svgoffsetright {
    margin-left: 5%;
}

.darklast {
    background: #323239;
    color: #ffffff;
    width: 120%;
    margin-left: -18%;
    padding: 3% 5%;
    text-align: center;
    border-radius: 0;
    min-height: 50%;
}

.darklast a, .darklast a:visited {
    color: #ffffff;
}

.darklast a:hover {
  color: #3b3b3b;
}

/* CSS3 Animations - Water Effects */
@keyframes wave1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes wave2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); }
}

@keyframes wave3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@keyframes wave4 {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(7px); }
}

@keyframes wave5 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(5px); }
}

@keyframes wave6 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes wave7 {
    0%, 100% { transform: translateY(6px); }
    50% { transform: translateY(8px); }
}

@keyframes wave8 {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(5px); }
}

.water1 {
    animation: wave1 3.7s cubic-bezier(0.68, -0.25, 0.265, 1.25) infinite;
    animation-delay: 0.3s;
}

.water2 {
    animation: wave2 3.6s ease-out infinite;
    animation-delay: 0.4s;
}

.water3 {
    animation: wave3 4.2s cubic-bezier(0.175, 0.885, 0.32, 1.675) infinite;
    animation-delay: 1.7s;
}

.water4 {
    animation: wave4 2.1s ease-in infinite;
    animation-delay: 0s;
}

.water5 {
    margin-top: 20px;
    animation: wave5 3.9s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 2.1s;
}

.water6 {
    animation: wave6 2.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    animation-delay: 0.7s;
}

.water7 {
    animation: wave7 3.3s ease-in-out infinite;
    animation-delay: 1.4s;
}

.water8 {
    animation: wave8 4.5s ease-in-out infinite;
    animation-delay: 0s;
}

/* Passende Musik - Original Simple Style */
a.spotify, a.spotify:visited,
a.tidal, a.tidal:visited,
a.youtube, a.youtube:visited {
    padding: 5px;
    border-radius: 5px;
}

a.spotify, a.spotify:visited {
    background: #00d300;
    text-decoration: none;
}

a.tidal, a.tidal:visited {
    background: #fdfdfd;
    color: #030303;
    text-decoration: none;
}

a.youtube, a.youtube:visited {
    background: #d31300;
    text-decoration: none;
}

.scroll-slide {
    width: 65%;
}

div.table, .cell {
    display: table;
    height: initial;
}

div.cell, .cell {
    display: table-cell;
    float: initial;
    vertical-align: middle;
}

div.half.cell {
    width: 60%;
    padding: 2%;
}

img.half.cell {
    width: 50%;
}

div.mid, .mid {
    vertical-align: middle;
}

.bgorange {
    background: #bd400a;
    color: #ffffff;
}

.bgblue {
    background: #191c79;
    color: #ffffff;
}

.bgwhite {
    background: #ffffff;
    color: #000000;
}

.bgorange .bgwhite {
    color: #bd400a;
}

.bgblue .bgwhite {
    color: #191c79;
}

/* New Background Colors */
.bgpink {
    background: #E91E63;
    color: #ffffff;
}

.bgextrared {
    background: #D32F2F;
    color: #ffffff;
}

.bgcoolgreen {
    background: #4CAF50;
    color: #ffffff;
}

.bggold {
    background: #FF8F00;
    color: #ffffff;
}

.bgpurple {
    background: #9C27B0;
    color: #ffffff;
}

/* Background color nested white sections */
.bgpink .bgwhite {
    color: #E91E63;
}

.bgextrared .bgwhite {
    color: #D32F2F;
}

.bgcoolgreen .bgwhite {
    color: #4CAF50;
}

.bggold .bgwhite {
    color: #FF8F00;
}

.bgpurple .bgwhite {
    color: #9C27B0;
}

.moreheight, .widthcontainer.moreheight {
    height: 190%;
}

.widthcontainer {
    width: 120%;
    margin-left: -10%;
    padding: 2.5% 10%;
    display: table;
}

.widthcontainer img.half {
  width: 65%;
  margin: 0 auto;
  display: block;
}

.widthcontainer div.half {
    width: 60%;
}

/* Art Container Base */
.art {
    padding: 3% 0;
    position: relative;
    overflow: hidden;
}

/* Art offset classes */
.art .offset5 {
    margin-top: 5%;
}

.art .offset10 {
    margin-top: 10%;
}

.art .offset15 {
    margin-top: 15%;
}

.art .offset20 {
    margin-top: 20%;
}

.art .offset25 {
    margin-top: 25%;
}

.art .offset30 {
    margin-top: 30%;
}

.art .offset35 {
    margin-top: 35%;
}

.art .offset40 {
    margin-top: 40%;
}

.art .offset45 {
    margin-top: 45%;
}

.art .offset50 {
    margin-top: 50%;
}

/* Float Island - Enhanced with hover */
img.float-island {
    float: left;
    margin-right: 5px;
    width: 40%;
    transition: transform 0.3s ease;
}

img.float-island:hover {
    transform: scale(1.02);
}

/* Tricorn Images */
img.tricorn {
    width: 30%;
}

.art img.tricorn {
    height: 65%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.tricorn.vertical {
    height: 40%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Half Images */
.art img.half {
    height: 90%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.half.vertical {
    height: 30%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Piece Images */
.art img.piece {
    height: 40%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.piece.vertical {
    height: 25%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Quarter Images */
.art img.quarter {
    height: 25%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.quarter.vertical {
    height: 20%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Third Images */
.art img.third {
    height: 33%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.third.vertical {
    height: 25%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Full Images */
.art img.full {
    height: 100%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.full.vertical {
    height: 50%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Thumb Images */
.art img.thumb {
    height: 15%;
    max-height: 100%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art img.thumb.vertical {
    height: 12%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Wide Images */
.art img.wide {
    width: 60%;
    height: auto;
    float: left;
    margin-right: 5px;
}

.art img.wide.vertical {
    height: 35%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Narrow Images */
.art img.narrow {
    width: 20%;
    height: auto;
    float: left;
    margin-right: 5px;
}

.art img.narrow.vertical {
    height: 15%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Art2 Context - 50% reduction */
.art.art2 img.half {
    height: 45%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.tricorn {
    height: 32%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.piece {
    height: 20%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.quarter {
    height: 12%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.third {
    height: 16%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.full {
    height: 50%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art2 img.thumb {
    height: 7%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* Art3 Context - 75% of original */
.art.art3 img.half {
    height: 67%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.tricorn {
    height: 48%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.piece {
    height: 30%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.quarter {
    height: 18%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.third {
    height: 24%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.full {
    height: 75%;
    width: auto;
    float: left;
    margin-right: 5px;
}

.art.art3 img.thumb {
    height: 11%;
    width: auto;
    float: left;
    margin-right: 5px;
}

/* General img.half for non-art sections */
img.half {
    max-height: none;
    width: 50%;
}

.domcontainer.bigart {
    height: 200%;
}

/* Art section clearfix */
.art:after {
    content: "";
    display: table;
    clear: both;
}

/* Document Scroller Classes */
.document-scroller {
  display: block;
  width: 65%;
  overflow-x: auto;
  overflow-y: hidden;
  position: absolute;
  height: 75%;
}

.document-content {
    display: table-cell;
    white-space: nowrap;
}

.document-content .document-item {
    display: table-cell;
    white-space: normal;
    min-width: 475px;
    vertical-align: top;
    transition: transform 0.3s ease;
    border: 15px solid #ffffff;
    overflow: hidden;
}

.bgpink .document-content .document-item {
    border: 15px solid #E91E63;
}

.bgextrared .document-content .document-item {
    border: 15px solid #D32F2F;
}

.bgcoolgreen .document-content .document-item {
    border: 15px solid #4CAF50;
}

.bggold .document-content .document-item {
    border: 15px solid #FF8F00;
}

.bgpurple .document-content .document-item {
    border: 15px solid #9C27B0;
}

.bgorange .document-content .document-item {
    border: 15px solid #bd400a;
}

.document-item:hover {
    transform: translateY(-5px);
}

.document-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.responsive-doc-image {
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.document-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 5% 3% 3% 3%;
    border-radius: 0 0 8px 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.document-item:hover .document-overlay {
    transform: translateY(0);
}

.document-overlay h3 {
    margin: 0 0 1% 0;
    font-size: 1.1em;
}

.document-overlay p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Enhanced Music Player */
.music-player-container {
    padding: 3% 0;
}

.music-links {
    margin: 2% 0;
    text-align: center;
}

.music-iframe {
    border-radius: 12px;
    margin: 2% auto;
    display: block;
    max-width: 100%;
}

/* Security Section Enhancements */
.security-features {
    margin: 2% 0;
}

.security-features h2 {
    margin: 1% 0;
    padding: 1% 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.securityconcept {
  padding-left: 5%;
}

.underlayout {
    margin-top: -45%;
}

.noheight {
    height: 0;
    height: initial;
    min-height: 0;
}

.svgcontainer, .domcontainer, .widthcontainer {
    overflow: hidden;
}


/* Split Section Styling */
.split-container {
    margin: 2% 0;
}

.split-left, .split-right {
    vertical-align: top;
}

.split-mobile {
    margin: 2% 0;
}

.split-left-mobile, .split-right-mobile {
    margin: 1% 0;
}

/* Viewbox Hover Styling */
.viewbox-hover-container {
    margin: 2% 0;
}

.hover-trigger {
    position: relative;
    display: inline-block;
}


/* Fancy Form Styling */
form {
    margin: 2% 0;
    background: #f8f8f8;
    padding: 3%;
    border: 2px solid #ddd;
}

form fieldset {
    border: 1px solid #ccc;
    margin: 2% 0;
    padding: 2%;
    background: #ffffff;
}

form legend {
    font-weight: bold;
    color: #BD2F3E;
    padding: 0 1%;
    background: #f8f8f8;
}

form label {
    display: block;
    font-weight: bold;
    color: #333;
    margin: 1% 0 0.5% 0;
}

form input, form textarea, form select {
    border: 2px solid #ddd;
    padding: 1%;
    font-family: inherit;
    font-size: inherit;
    background: #ffffff;
    width: 96%;
    margin: 0.5% 0 1.5% 0;
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: #BD2F3E;
    background: #fffef8;
}

form input[type="submit"], form input[type="button"], form button {
    background: #BD2F3E;
    color: #ffffff;
    font-weight: bold;
    padding: 1.5% 4%;
    border: 2px solid #BD2F3E;
    cursor: pointer;
    width: auto;
    margin: 2% 1% 1% 0;
}

form input[type="submit"]:hover, form input[type="button"]:hover, form button:hover {
    background: #9d2634;
    border-color: #9d2634;
}

/* Custom Checkbox and Radio Button Styling */
form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 0.5% 0 0;
    vertical-align: middle;
    border: 2px solid #666;
    background: #ffffff;
    cursor: pointer;
}

form input[type="checkbox"]:checked {
    background: #BD2F3E;
    border-color: #BD2F3E;
}

form input[type="checkbox"]:hover {
    border-color: #BD2F3E;
}

form input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0 0.5% 0 0;
    vertical-align: middle;
    border: 2px solid #666;
    background: #ffffff;
    cursor: pointer;
}

form input[type="radio"]:checked {
    background: #BD2F3E;
    border-color: #BD2F3E;
}

form input[type="radio"]:hover {
    border-color: #BD2F3E;
}

/* Checkbox and Radio Labels */
form .checkbox-label, form .radio-label {
    display: inline;
    font-weight: normal;
    margin: 0 2% 0 0;
    cursor: pointer;
}

form .checkbox-group, form .radio-group {
    margin: 1% 0;
}

form .checkbox-group label, form .radio-group label {
    display: inline;
    font-weight: normal;
    margin: 0 2% 0.5% 0;
    cursor: pointer;
}

/* Enhanced checkbox styling with CSS2 pseudo-checkbox */
form .fancy-checkbox {
    position: relative;
    display: inline-block;
    margin: 0 1% 0 0;
}

form .fancy-checkbox input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}

form .fancy-checkbox .checkbox-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    background: #ffffff;
    margin: 0 0.5% 0 0;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    line-height: 14px;
    font-weight: bold;
    color: #ffffff;
}

form .fancy-checkbox input[type="checkbox"]:checked + .checkbox-mark {
    background: #BD2F3E;
    border-color: #BD2F3E;
}

form .fancy-checkbox input[type="checkbox"]:checked + .checkbox-mark:after {
    content: "✓";
}

form .fancy-checkbox:hover .checkbox-mark {
    border-color: #BD2F3E;
}

form .form-row {
    margin: 1.5% 0;
    overflow: hidden;
}

form .form-column {
    float: left;
    width: 48%;
    margin-right: 4%;
}

form .form-column:last-child {
    margin-right: 0;
}

form .required {
    color: #BD2F3E;
    font-weight: bold;
}

form .form-help {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin: 0.5% 0;
}

form .error {
    color: #d32f2f;
    font-weight: bold;
    background: #ffebee;
    padding: 1%;
    border: 1px solid #d32f2f;
    margin: 1% 0;
}

form .success {
    color: #388e3c;
    font-weight: bold;
    background: #e8f5e8;
    padding: 1%;
    border: 1px solid #388e3c;
    margin: 1% 0;
}

/* Enhanced Blockquote Styling */
blockquote {
    position: relative;
    padding: 2%;
    border-left: 4px solid #BD2F3E;
    background: rgba(189, 47, 62, 0.05);
    font-style: italic;
    font-size: 2.5em;
    margin: 3% 0;
}

blockquote footer {
    font-style: normal;
    font-weight: bold;
    margin-top: 1%;
}

/* Quote Section Content */
.quote-content {
    font-size: 2.5em;
    font-style: italic;
    text-align: center;
    margin: 3% 0;
    padding: 2%;
}

.quote-footer {
    margin-top: 1%;
    font-size: 0.8em;
    font-style: normal;
}


/* Inner Container Class */
.inner-container {
    width: 75%;
}

/* Party Header Styling */
.party-header {
    text-align: center;
}

/* Responsive Image Classes */
.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 2% 0;
}

.section-image {
    width: 100%;
    height: auto;
    margin: 2% 0;
}

/* Music Player Iframe */
.music-iframe {
    border-radius: 12px;
    margin: 2% auto;
    display: block;
    max-width: 100%;
}

/* Form Field Styling */
.form-field {
    margin: 2% 0;
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 1%;
    margin-top: 0.5%;
}

.form-select {
    width: 100%;
    padding: 1%;
    margin-top: 0.5%;
}

.form-input {
    width: 100%;
    padding: 1%;
    margin-top: 0.5%;
}

.form-radio-group label {
    display: block;
    margin: 0.5% 0;
}

.form-checkbox-group label {
    display: block;
    margin: 0.5% 0;
}

.form-submit-wrapper {
    margin: 3% 0;
}

.form-submit {
    padding: 1% 3%;
    font-size: 1.1em;
}

/* Viewbox/Stack Elements */
.viewbox-radio {
    display: none;
}

.stack-item {
    position: relative;
}

.stack-image {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Viewbox Stack Container */
.viewbox-stack-container {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    height: 450px;
}

.image-stack {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 400px;
    height: 400px;
    overflow: visible;
}

.info-block {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 280px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ccc;
    height: 350px;
    overflow-y: auto;
}

.info-block h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.info-block p {
    margin: 5px 0;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* Split Section Styling */
.split-container {
    display: table;
    width: 100%;
}

.split-left {
    display: table-cell;
    width: 48%;
    vertical-align: top;
    padding-right: 2%;
}

.split-right {
    display: table-cell;
    width: 48%;
    vertical-align: top;
    padding-right: 2%;
}

.split-mobile .split-left-mobile {
    margin-bottom: 3%;
}

/* Map Styling */
.leaflet-map {
    width: 100%;
    margin: 2% 0;
}

.leaflet-map-full {
    height: 100%;
    width: 100%;
    margin: 0;
}

/* Leaflet Maps in Split Containers */
.split-container .leaflet-map,
.split-container .leaflet-map-full {
    width: 100%;
    margin: 1% 0;
}

.split-left .leaflet-map,
.split-left .leaflet-map-full,
.split-right .leaflet-map,
.split-right .leaflet-map-full {
    width: 100%;
    height: 400px; /* Default height for split maps */
}

.split-mobile .leaflet-map,
.split-mobile .leaflet-map-full {
    width: 100%;
    margin: 2% 0;
}

/* Images in Split Containers */
.split-left img,
.split-right img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.split-left-mobile img,
.split-right-mobile img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Navigation Elements */
.nav-image {
    width: 50px;
    height: auto;
    margin-bottom: 1%;
}

.nav-container {
    background: rgba(255,255,255,0.9);
    padding: 1%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-link {
    display: block;
    padding: 0.5% 0;
    text-decoration: none;
    color: #333;
}

/* Markdown Content Styling */
.markdown-content {
    line-height: 1.6;
    color: #333;
    border: 1px solid #ccc;
    background: white;
    padding: 2%;
    margin: 2% 0;
}

.markdown-content h1 {
    font-size: 60.8pt;
    font-weight: 900;
    line-height: 1.1;
    margin: 1em 0 0.5em 0;
    color: #BD2F3E;
    border-bottom: 3px solid #BD2F3E;
    padding-bottom: 0.2em;
}

.markdown-content h2 {
    font-size: 45.6pt;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.8em 0 0.4em 0;
    color: #8B0E1C;
    border-bottom: 2px solid rgba(189, 47, 62, 0.3);
    padding-bottom: 0.15em;
}

.markdown-content h3 {
    font-size: 34.2pt;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.7em 0 0.35em 0;
    color: #BD2F3E;
}

.markdown-content h4 {
    font-size: 28.5pt;
    font-weight: 650;
    line-height: 1.3;
    margin: 0.6em 0 0.3em 0;
    color: #8B0E1C;
}

.markdown-content h5 {
    font-size: 24.7pt;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.5em 0 0.25em 0;
    color: #BD2F3E;
}

.markdown-content h6 {
    font-size: 18.05pt;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.4em 0 0.2em 0;
    color: #8B0E1C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Markdown paragraph spacing */
.markdown-content p {
    margin: 1em 0;
    line-height: 1.7;
}

/* Markdown links */
.markdown-content a {
    color: #BD2F3E;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.markdown-content a:hover {
    color: #8B0E1C;
}

/* Markdown lists */
.markdown-content ul, .markdown-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.markdown-content li {
    margin: 0.3em 0;
    line-height: 1.6;
}

/* Markdown code */
.markdown-content code {
    background: rgba(189, 47, 62, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 17.1pt;
}

.markdown-content pre {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1.5em;
    margin: 1.5em 0;
    overflow-x: auto;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    font-size: 16.15pt;
}

/* Markdown Blockquotes */
.markdown-content blockquote {
    border-left: 4px solid #BD2F3E;
    background: rgba(189, 47, 62, 0.05);
    margin: 1.5em 0;
    padding: 1.5em;
    font-style: italic;
    font-size: 20.9pt;
}

.markdown-content blockquote p {
    margin: 0;
}

/* Markdown Tables with Scroll */
.markdown-table-container {
    overflow-x: auto;
    margin: 2em 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.markdown-content table {
    min-width: 100%;
    border-collapse: collapse;
    background: white;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-size: 18.05pt;
}

.markdown-content th {
    background: #f8f8f8;
    font-weight: bold;
    color: #333;
}

.markdown-content tr:nth-child(even) {
    background: #f9f9f9;
}

.markdown-content tr:hover {
    background: #f0f0f0;
}

/* Anchor Navigation Styling */
nav {
    position: fixed;
    right: 2%;
    top: 50%;
    z-index: 1000;
}

nav a:hover {
    color: #BD2F3E;
}

/* Split view containers with full-height leaflet maps - CSS2 compatible */
.split-leaflet-full {
    height: 100%;
}

.split-leaflet-left-full,
.split-leaflet-right-full {
    min-height: 62%;
}

/* General font size increase to over 14pt */
body, html {
    font-size: 16pt;
}

p, div, span, li, td, th, input, textarea, select {
    font-size: 15pt;
}

/* Word break for all content to prevent overflow */
* {
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Heading sizes adjusted to maintain proportions with new base font size */
h1 {
    font-size: 32pt;
}

h2 {
    font-size: 26pt;
}

h3 {
    font-size: 22pt;
}

h4 {
    font-size: 20.5pt;
}

h5 {
    font-size: 17pt;
}

h6 {
    font-size: 16pt;
}

p, div, span, a, li, td, th {
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Split section hover border effect */
.split-hover-border {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.split-hover-border:hover {
    border-color: #BD2F3E;
}

/* Security concept section fixes */
.half.mid.cell {
    padding: 15px;
    box-sizing: border-box;
    overflow: visible;
}

.half.mid.cell h2 {
    word-break: break-word;
    overflow-wrap: break-word;
    margin-right: 10px;
    line-height: 1.3;
}

/* Ensure inner-container has proper spacing */
.inner-container .half.mid.cell {
    padding: 20px 15px;
    max-width: calc(50% - 20px);
}

/* Markdown list styling */
.markdown-content ul {
    list-style-type: disc;
    margin: 1em 0;
    padding-left: 2em;
}

.markdown-content ol {
    list-style-type: decimal;
    margin: 1em 0;
    padding-left: 2em;
}

.markdown-content li {
    margin: 0.5em 0;
    line-height: 1.6;
}

.markdown-content ul ul {
    list-style-type: circle;
    margin: 0.5em 0;
}

.markdown-content ul ul ul {
    list-style-type: square;
}

.markdown-content ol ol {
    list-style-type: lower-alpha;
}

.markdown-content ol ol ol {
    list-style-type: lower-roman;
}

/* Media query for responsive layout at 1000px */
/* Hide mobile-specific images by default (desktop view) */
.mobile-image-1000 {
    display: none !important;
}

.desktop-image-1000 {
    display: block;
}

@media (max-width: 1000px) {
    /* Security sections - stack layout */
    .half.cell {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 20px;
    }
    
    .half.mid.cell {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block !important;
        padding: 15px !important;
        text-align: center;
    }
    
    /* Split sections - stack layout */
    .split-container {
        display: block !important;
        width: 100% !important;
    }
    
    .split-left, .split-right {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin: 10px 0 !important;
        box-sizing: border-box;
    }
    
    /* Show mobile images and hide desktop images at 1000px breakpoint */
    .mobile-image-1000 {
        display: block !important;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .desktop-image-1000 {
        display: none !important;
    }
    
    /* Ensure images use mobile versions when available */
    .section-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Adjust security concept image for stacked layout */
    .half.cell img {
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
}

/* FSLAP Cascade Theme - CSS2 Compatible */

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
  font-size: 16px;
  margin: 0;
  padding: 20px;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Markdown Content Normalization */
.markdown-content {
  font-size: 19pt;
  line-height: 1.7;
  color: #2c3e50;
  max-width: none;
  background: #fafbfc;
  padding: 40px 48px;
  border: 1px solid #e1e8ed;
  margin: 32px auto;
  position: relative;
  overflow: hidden;
}

.markdown-content h1 {
  font-size: 34.2pt;
  font-weight: bold;
  margin: 24px 0 12px 0;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
  text-decoration: none;
}

.markdown-content h2 {
  font-size: 28.5pt;
  font-weight: bold;
  margin: 20px 0 11px 0;
  color: #34495e;
  border-bottom: 1px solid #e1e8ed;
  padding-bottom: 3px;
  text-decoration: none;
}

.markdown-content h3 {
  font-size: 24.7pt;
  font-weight: bold;
  margin: 19px 0 9px 0;
  color: #34495e;
  text-decoration: none;
}

.markdown-content h4 {
  font-size: 20.9pt;
  font-weight: bold;
  margin: 16px 0 8px 0;
  color: #34495e;
  text-decoration: none;
}

.markdown-content h5,
.markdown-content h6 {
  font-size: 19pt;
  font-weight: bold;
  margin: 12px 0 6px 0;
  color: #34495e;
  text-decoration: none;
}

/* Paragraph Styling */
.markdown-content p {
  font-size: 19pt;
  line-height: 1.7;
  margin: 0 0 19px 0;
  color: #2c3e50;
  text-align: justify;
}

/* List Styling with Proper Bullets and Decorations */
ul {
  list-style-type: disc !important;
  margin: 16px 0 16px 0;
  padding-left: 32px;
}

.markdown-content ul {
  list-style-type: square !important;
  margin: 16px 0 16px 0;
  padding-left: 32px;
}

ul ul {
  list-style-type: circle;
  margin: 8px 0;
}

.markdown-content ul ul {
  list-style-type: circle;
  margin: 8px 0;
}

ul ul ul {
  list-style-type: square;
}

.markdown-content ul ul ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal !important;
  margin: 16px 0 16px 0;
  padding-left: 32px;
}

.markdown-content ol {
  list-style-type: decimal;
  margin: 16px 0 16px 0;
  padding-left: 32px;
}

ol ol {
  list-style-type: lower-alpha;
  margin: 8px 0;
}

.markdown-content ol ol {
  list-style-type: lower-alpha;
  margin: 8px 0;
}

ol ol ol {
  list-style-type: lower-roman;
}

.markdown-content ol ol ol {
  list-style-type: lower-roman;
}

li {
  font-size: 16px;
  line-height: 1.6;
  margin: 5px 0;
  color: #2c3e50;
  display: list-item !important;
  list-style-position: outside;
}

.markdown-content li {
  font-size: 19pt;
  line-height: 1.6;
  list-style: square;
  margin: 5px 0;
  color: #2c3e50;
  display: list-item !important;
  list-style-position: outside;
}

/* Compact Blockquote with Black Theme */
.markdown-content blockquote {
  position: relative;
  margin: 12px 0;
  padding: 12px 16px 12px 16px;
  background: rgba(0, 0, 0, 0.05);
  border-left: 3px solid #000000;
  font-style: italic;
  color: #2c3e50;
  overflow: hidden;
  font-size: 19pt;
}

blockquote.quote-content {
    font-size: 1.25em;
    font-style: italic;
    text-align: center;
    margin: 3% 0;
    padding: 2%;
    background: rgba(0, 0, 0, 0.05);
    border-left: 3px solid #000000;
    font-style: italic;
    color: #2c3e50;
}

.markdown-content blockquote p {
  margin: 0;
  font-size: 19pt;
  line-height: 1.5;
}

blockquote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.markdown-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Table Styling */
.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: #ffffff;
  border: 1px solid #e1e8ed;
}

.markdown-content th,
.markdown-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e1e8ed;
  font-size: 19pt;
}

.markdown-content th {
  background-color: #ecf0f1;
  font-weight: bold;
  color: #2c3e50;
  text-transform: uppercase;
  font-size: 16.625pt;
  letter-spacing: 1px;
}

.markdown-content tr:hover {
  background-color: #f8f9fa;
}

.markdown-content tr:last-child td {
  border-bottom: none;
}

/* Links */
.markdown-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.markdown-content a:hover {
  color: #2c3e50;
  border-bottom-color: #3498db;
}

/* Code and Preformatted Text */
.markdown-content code {
  background-color: #ecf0f1;
  padding: 3px 6px;
  font-family: monospace;
  font-size: 16.625pt;
  color: #34495e;
}

.markdown-content pre {
  background-color: #ecf0f1;
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

.markdown-content pre code {
  background: none;
  padding: 0;
  font-size: 16.625pt;
}

/* Strong and Emphasis */
.markdown-content strong {
  font-weight: bold;
  color: #2c3e50;
}

.markdown-content em {
  font-style: italic;
  color: #34495e;
}

/* Horizontal Rules */
.markdown-content hr {
  border: none;
  height: 2px;
  background: #3498db;
  margin: 32px 0;
}

/* Special Percentage Highlights */
.percentage-highlight {
  display: inline-block;
  background: #fdf2f2;
  color: #e74c3c;
  padding: 3px 10px;
  font-weight: bold;
  font-size: 14px;
  margin: 0 3px;
  border: 1px solid #e74c3c;
}

/* Mobile Responsiveness */
.markdown-content {
  font-size: 19pt;
  padding: 24px 28px;
  margin: 16px auto;
}

.markdown-content h1 {
  font-size: 30.4pt;
}

.markdown-content h2 {
  font-size: 26.6pt;
}

.markdown-content h3 {
  font-size: 22.8pt;
}

blockquote {
  padding: 10px 14px 10px 14px;
  margin: 10px 0;
  font-size: 15px;
}

.markdown-content table {
  font-size: 19pt;
}

.markdown-content th,
.markdown-content td {
  padding: 8px 12px;
  font-size: 19pt;
}

/* Print Styles */
.markdown-content {
  font-size: 19pt;
  line-height: 1.4;
  color: #000;
}

.markdown-content blockquote {
  background: #f5f5f5;
}

.markdown-content a {
  color: #000;
  text-decoration: underline;
}

/* Accessibility Improvements */
.markdown-content a:focus {
  outline: 2px solid #3498db;
}

.markdown-table-container {
    overflow-x: auto;
    margin: 0;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
}

.document-innercontainer-slider {
  height: 800px;
}