/* ==========================================================================
   Variables
   ========================================================================== */
   :root { 
    --ff: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Core Colors */
    --colorB: #16609a; /* Background Header */
    --colorBAlpha: #16609a11; /* Background Header */
    --colorR: #de4b53; /* Background Header */
    --colorRAlpha: #de4b5311; /* Background Header */   
    --colorY: #ffcd06; /* Background Header */
    --colorYAlpha: #ffcd0611; /* Background Header */
    --colorG: #94ba45; /* Background Header */
    --colorGAlpha: #94ba4511; /* Background Header */
    --colorBAlpha: #f2f2f2; /* Background Header */
    --colorL: #16609a; /* Link Color */
    --color0: #111111; /* h1, h2, h3, h4, h5 */
    --color0Alpha: #111111bb;  /* p, ol li, ul li */
    --color0Alpha2: #11111111; /* Table rows even */
    --color1: #ffffff;
    --color1Alpha: #ffffffbb; /* Header p */
    --color1Alpha2: #ffffffbb; /* Header p */    
    --color2: #D8FF17;
    --color21: #fcffea; /* Not used */
    --color22: #323232; /* Not used */
    --color3: #3DCC27;
    --color4: #6F00B3;
    --color41: #e1fdbb; /* Not used */
    --color8: #f2f2f2;
    --color81: #323232; /* Not used */
    --color82: #d2d2d2; /* Not used */
    --accent1: #065799;
    --accent1c: #B88E4D;
    --accent1cAlpha: #b88d4d40; /* Card hover */
    --accent2: #118338;
    --accent2Alpha: #11833840; /* background webforms */
    --accent2c: #de4b53; /* alert boxes */
    --accent2cAlpha: #B8514D40; /* Not used */
}


/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
   *,
   *::before,
   *::after {
       box-sizing: border-box;
       margin: 0;
       padding: 0;
       font: inherit;
   }
   
   html {
       hanging-punctuation: first last;
       scroll-behavior: smooth;
   }
   
   body {
       min-height: 100svh;
       background-color: var(--color1);
       font-family: var(--ff);
       color: var(--color11);
       font-size: 18px;
   }
   
   /* ==========================================================================
      Typography
      ========================================================================== */
   h1, h2, h3, h4, p {
       font-family: var(--ff);
       margin: 0.5rem 0 1rem 0;
       font-weight: 300;
       text-wrap: balance;
   }
   
   h1 {
       font-size: 2rem;
       font-weight: 400;
   }
   
   h2 {
       font-size: 1.8rem;
       font-weight: 400;
       text-transform: uppercase;
   }
   
   h3 {
       font-size: 1.6rem;
       font-weight: 400;
   }
   
   h4 {
       font-size: 1.4rem;
       line-height: 1.6rem;
       font-weight: 400;
   }
   
   h5 {
       font-size: 1.2rem;
       line-height: 1.4rem;
       font-weight: 200;
       text-transform: uppercase;
       color: var(--color11);
   }
   
   p {
       text-wrap: pretty;
       font-size: 1.125rem;
       line-height: 1.575rem;
       color: var(--color0Alpha);
   }
   
   strong {
       font-weight: 700;
   }
   
   ul, ol {
       margin: 0 0 1rem 0;
       padding: 0 1rem 0 1.4rem;
   }
   
   ul li, ol li {
       padding: 0.2rem 0 0.3rem 0;
       text-wrap: pretty;
       font-size: 1.125rem;
       line-height: 1.575rem;    
       font-weight: 300;
       color: var(--color0Alpha);
   }
   
   a {
       color: var(--colorL);
       text-decoration: none;    
   }
   
   a:hover {
       text-decoration: underline;
       color: var(--colorL);
   }
   
   p > a {
       font-weight: 500;
   }
   
   /* Text modifiers breadcrumb, note, enhance and disclaimer */
   
   p.breadcrumb a, nav p > a {
       font-weight: 200;
   }
   
   p.note {
       font-size: 0.8rem;
       line-height: 1rem;
       font-weight: 300;
       color: var(--color0Alpha);
       margin: 0.5rem 0 0 0;
   }
   
   p.enhance {
       background-color: var(--accent1cAlpha);
       border-left: 4px solid var(--accent1c);
       padding: 1rem 1.5rem;
       margin: 1.5rem 0;
       border-radius: 0 0.5rem 0.5rem 0;
   }
   
   p.enhance a {
       color: var(--accent1c);
       text-decoration: underline;
       font-weight: 500;
   }
   
   p.enhance a:hover {
       text-decoration: none;
   }

/* ==========================================================================
   Media Elements
   ========================================================================== */
img, picture {
    display: block;
    max-width: 100%;
}

img {
    vertical-align: middle;
    font-style: italic;
    font-size: 0.9rem;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0.2rem;
    overflow: hidden;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
header, footer, body > figure {
    box-shadow: 0 0.2rem 0.4rem rgb(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: var(--colorB);
    color: white;
    position: static;
    z-index: 100;
    padding: 1rem;
    margin: 0;
}

header > div > h1 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

header > div > h1 > a {
    color: white;
    text-decoration: none;
}
header > div > h1 > a:hover {
    color: #efefef;
    text-decoration: none;
}   

header > div > h1 > a > span {
    font-size: 1rem;
    font-weight: 100;
}

/* Banner Figure ----------------------------------------------------------------- */
body > figure {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0;
    width: 100%;
}

body > figure > picture {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

body > figure > picture > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: 0;
}

body > figure > picture::after {
    padding-bottom: 75%;
    display: block;
    content: "";
}

body > figure > figcaption {
    background-color: var(--colorBAlpha);
    font-size: 0.8rem;
    text-align: right;
    padding: 0.5rem;
    color: var(--color1);
    
}

body > figure > figcaption > span {
    color: var(--color0);
}

/* Main Content Sections */
section.wrapper {
    margin: 1rem auto;
    padding: 1rem;
    scroll-snap-align: start;
    width: 100%;
    max-width: 1300px;    
    box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
}

section.wrapper:first-of-type {
    position: relative; /* Ensure the parent is positioned */
}

section.wrapper:first-of-type::before {
    content: '';
    display: block;
    width: 55px; /* Total width: 4 squares * 10px + 3 gaps * 5px */
    height: 10px;
    position: absolute;
    top: 1rem; /* Adjust as needed */
    right: 1rem; /* Adjust as needed */
    z-index: 1; /* Bring the squares to the front */
    background: linear-gradient(to right, 
        #16609a 0%, #16609a 18.18%, 
        transparent 18.18%, transparent 27.27%, 
        #94ba44 27.27%, #94ba44 45.45%, 
        transparent 45.45%, transparent 54.54%, 
        #ffcd06 54.54%, #ffcd06 72.72%, 
        transparent 72.72%, transparent 81.81%, 
        #de4b53 81.81%, #de4b53 100%);
}

@media only screen and (min-width: 768px) {
    section.wrapper {
        padding: 2rem;
        border-radius: 0.5rem;
        grid-template-columns: 1fr;
    }

    .side-by-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}


/* Footer */
footer {
    padding: 1rem 0;
    border-top: 1px dotted var(--color11);
    background-color: var(--color8);
    color: var(--color11);
}

footer > div.wrapper {
    padding: 1rem 0;
    margin: 0 auto;
}

footer p {
    text-align: center;
    line-height: 1.5rem;
}

footer a, 
footer a:visited {
    color: var(--color0);
    text-decoration: underline;
}

footer >div > p > a:hover, 
footer >div > p > a:focus {
    text-decoration: none;
}

footer > div > p {
    font-size: 1rem;
    line-height: 1.4rem;
}

footer > div > img {
    margin: 0 auto !important;
}

footer > div > p:nth-child(1) > a {
    background: var(--color1);
    color: var(--color0);
    border-radius: 0.2rem;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2rem;
    margin: 0.2rem 0;
    padding: 0.2rem 0.5rem;
    text-decoration: none;
    min-width: 8rem;
}

footer > div > p:nth-child(1) > a:hover {
    background: var(--color0);
    color: var(--color1);
    transition: 0.2s;
}

/* ==========================================================================
   Responsive Adjustments Main Layouts
============================================================================= */

@media only screen and (min-width: 420px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 520px) {
    body > figure > picture::after {
        padding-bottom: 50%;
    }
}

@media only screen and (min-width: 768px) {
    body > figure > picture::after {
        padding-bottom: 33.3%;
    }

    section.wrapper:has(nav) {
        display: grid;
        grid-template-columns: 2fr 1fr; /* Two-column layout */
        grid-column-gap: 1rem;
    }


    section.wrapper:has(nav) > nav {
        display: block;
        grid-column: 2; /* Place <nav> in the right column */
        grid-row: 1 / 6; /* Span all rows */
        padding: 1rem 0 0 1rem;
        border-radius: 0 0.5rem 0.5rem 0;
        border-left: 1px solid var(--color82);
        border-top: 0;
    }

    section.wrapper > * {
        grid-column: 1; 
    }

}

@media only screen and (min-width: 768px){
    section.wrapper:has(figure) {
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto;
        grid-column-gap: 1rem;
    }

    section.wrapper:has(figure) > *:first-child {
        grid-column: 1 / -1; 
    }

    section.wrapper:has(figure) > *:nth-child(2) {
        grid-column: 1; 
        grid-row: 2 / 6;
    }

    section.wrapper:has(figure) > *:nth-child(n+3) {
        grid-column: 2; 
    }

    section.wrapper:has(figure):has(.columns) {
        display: block;
    }

    section.wrapper:has(figure):has(.columns) > * {
        grid-column: auto;
    }

    section.wrapper:has(figure):has(.photo-gallery) {
        display: block;
    }

    section.wrapper:has(figure):has(.photo-gallery) > * {
        grid-column: auto;
    }
}

@media only screen and (min-width: 960px) {
    body > figure > picture::after {
        padding-bottom: 25%;
    }
    
    section.wrapper, footer > div.wrapper {
        max-width: 960px;
    }
}

@media only screen and (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(4, 1fr);
    }

    section:first-of-type ol {
        grid-template-columns: repeat(4, 1fr);
    }

    section:first-of-type li::before {
        font-size: 3rem;
    }
    
    section:first-of-type li {
        gap: 1rem;
    }
}

@media only screen and (min-width: 1400px) {
    section.wrapper, footer > div.wrapper {
        max-width: 1300px;
    }
}

/* ==========================================================================
   Special Elements
============================================================================= */

/* Hamburger Menu ----------------------------------------------------------- */

.hamburger-menu {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.menu-toggle {
    position: absolute;
    right: 1rem;
    top: 1.5rem;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color1);
    position: absolute;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

.hamburger-menu:checked ~ .menu-toggle span:first-child {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1px;
}

.hamburger-menu:checked ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu:checked ~ .menu-toggle span:last-child {
    transform: rotate(-45deg);
    top: 50%;
    margin-top: -1px;
    bottom: auto;
}

.menu-content {
    position: absolute;
    top: 4.4rem;
    right: 0;
    width: 100%;
    max-width: 430px;
    background: var(--colorB);
    padding: 0;
    z-index: 100;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger-menu:checked ~ .menu-content {
    display: block;
    opacity: 1;
}

.menu-content nav {
    position: relative;
    padding: 1rem 1rem;
    border-top: 1px dotted var(--color1);
}

.menu-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content li {
    margin: 0;
    padding: 0.2rem 0;
}

.menu-content a {
    color: var(--color1);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0;
}

.menu-content a:hover {
    color: var(--color1);
    text-decoration: underline;
}

.menu-content h4 {
    color: var(--color82);
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-content a span[data-emoji]::before {
    content: attr(data-emoji);
    margin-right: 1rem;
}

/* Thumbnails and Cards ----------------------------------------------------- */

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.thumbnail {
    background: var(--color1);
    border-radius: 0.5rem;
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.thumbnail:hover {
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
}

.thumbnail a {
    text-decoration: none;
    color: var(--color0);
}

.thumbnail h4 {
    padding: 0.5rem;
    margin: 0;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.figure-square {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
}

.picture-square {
    height: 100%;
    width: 100%;
}

.picture-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

@media only screen and (min-width: 440px) {
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 520px) {
    .thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 768px) {
    .thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (min-width: 1024px) {
    .thumbnails {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==========================================================================
   Components
============================================================================= */

/* Component Booking -------------------------------------------------------- */

.booking {
    background-color: var(--colorBAlpha);
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 0 4px  var(--colorBAlpha);
}

.booking p {
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 0.2rem 0;
}

.booking p:last-child {
    font-size: 0.8rem;
    line-height: 1rem;
    padding: 0 1rem;
    text-align: justify;
}

.booking a {
    display: inline-block;
    background-color: #de4b53;
    color: var(--color1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.booking a:hover {
    background-color: darken(#de4b53, 10%);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Component Weather -------------------------------------------------------- */

.weather {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.weather h4,
.weather p {
    grid-column: 1 / -1; /* Span full width */
}

.weather img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.weather ul {
    grid-column: 2; /* Align ul to the second column */
    align-self: center; /* Center ul vertically */
}

.weather li {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0.2rem 0;
}

.weather p {
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 0.2rem 0;
}

/* Component Feedback ------------------------------------------------------- */

.feedback {
    position: relative;
    z-index: 1000;
}

.feedback > button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--colorR);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback > button:hover {
    background-color: var(--colorG);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hide {
    display: none !important;
}

.feedback__container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feedback__content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: var(--color0);
    text-align: center;
    margin: auto;
    transform: translateY(0);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback__content > button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    color: var(--color0);
}


.feedback__content > button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    color: var(--color0);
}

.feedback__content > h4 {
    margin-bottom: 1.5rem;
    color: var(--color0);
    text-align: center;
}

.feedback__content > p {
    color: var(--color0Alpha);
    text-align: left;
    width: 100%;
}

.feedback fieldset {
    border: 1px solid var(--colorBAlpha);
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    text-align: left;
}

.feedback legend {
    color: var(--color0);
    padding: 0 0.5rem;
}

.feedback__content fieldset.required {
    border-color: var(--colorR);
}

.feedback__content fieldset.required legend:after {
    content: " *";
    color: var(--colorR);   
}

.feedback table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.feedback th {
    font-size: 1rem;
    padding: 0.5rem;
    color: var(--color0);
    text-align: center;
}

.feedback td {
    text-align: center;
    padding: 0.5rem;
}

.feedback textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.5rem;
    border: 1px solid var(--colorBAlpha);
    border-radius: 0.25rem;
    resize: vertical;
    color: var(--color0);
}

.feedback form button[type="submit"] {
    background-color: var(--colorB);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.feedback form button[type="submit"]:hover {
    background-color: var(--colorB);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feedback .messages {
    min-height: 0;
    margin: 0;
}

.feedback .message {
    padding: 1rem;
    border-radius: 0.25rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}

.feedback .message:not(:empty) {
    opacity: 1;
    max-height: 200px; 
    margin-top: 1rem;
    width: 100%;
}

.feedback .message.warning {
    background-color: var(--colorYAlpha);
    color: var(--colorText);
    border: 1px solid var(--colorY);
    width: 100%;
}

.feedback .message.error {
    background-color: var(--colorRAlpha);
    color: var(--colorText);
    border: 1px solid var(--colorR);
    width: 100%;
}

.feedback .message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    width: 100%;
}

@media (max-width: 768px) {
    .feedback .ratethispage > div {
        width: 95%;
        padding: 1.5rem;
    }

    .feedback > button {
        bottom: 1rem;
        right: 1rem;
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   Component Subscription
============================================================================= */

.newsletter {
    padding: 1rem;
    border-radius: 0.25rem;
    background-color: var(--accent2Alpha);
}

/* Overlay styles */
.subscription__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.subscription__content--overlay {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.subscription__content--overlay > button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.subscription__content--overlay > button:hover {
    color: var(--accent2c);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.subscription__content > h4 {
    margin-bottom: 1.5rem;
    color: var(--color0);
    text-align: left;
}

.subscription__content > p {
    color: var(--color0Alpha);
    text-align: left;
    width: 100%;
}

.subscription__content fieldset {
    border: 1px solid var(--color0Alpha2);
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: left;
}

.subscription__content legend {
    display: none;
}

.subscription__content input {  
    width: 100%;
    padding: 0.5rem;
    border: 0;
    border-radius: 0.25rem;
    background-color: var(--colorBAlpha);
}

.subscription__content label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color0Alpha);
    text-align: left;
    width: 100%;
}

.subscription__content label:has(input[type="checkbox"]) input {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.subscription__content fieldset.required {  
    border: 1px solid var(--accent2c);
}

.subscription__content fieldset.required legend:after {
    content: " *";
    color: var(--accent2c);
}

.subscription__content form button[type="submit"] {
    background-color: var(--accent2c);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1rem 0;
}

.subscription__content form button[type="submit"]:hover {
    background-color: var(--accent1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subscription__content .messages {
    min-height: 0;
    margin: 0;
}

.subscription__content .message {
    padding: 1rem;
    border-radius: 0.25rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}

.subscription__content .message:not(:empty) {
    opacity: 1;
    max-height: 200px; 
    margin-top: 1rem;
    width: 100%;
}

.subscription__content .message.warning {
    background-color: var(--colorYAlpha);
    color: var(--color0);
    border: 1px solid var(--colorY);
    width: 100%;
}

.subscription__content .message.error {
    background-color: var(--colorRAlpha);
    color: var(--color0);
    border: 1px solid var(--colorR);
    width: 100%;
}

.subscription__content .message.success {
    background-color: var(--colorGAlpha);
    color: var(--color0);
    border: 1px solid var(--colorG);
    width: 100%;
}