/* SubscribeCom.mjs style definitions */


.hide {
    display: none;
}

.subscribe-parent-container {
    display: flex;
    position: fixed;
    top: 10rem;
    padding: 0 .25rem;

    /* preferred size */
    width: clamp(480px, 1109px, calc(100dvw - 48px));
    height: clamp(320px,  554px, calc(100dvh - 48px));

    /* optional: keep the original proportions ~ 1109x554 (≈2:1) */
    /* aspect-ratio: 1109 / 554; height can be 'auto' if you use this */

    max-width: 100%;
    max-height: 100%;
    overflow: auto;                /* scroll inner content if needed */
    box-sizing: border-box;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.left-panel {
    display: block;
    width: 50%;
    height: 100%;
}

.left-panel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* make the right panel the positioning context */
.right-panel {
  position: relative; /* NEW */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* keeps msgbrd/title/form centered vertically */
  align-items: center;       /* keeps them centered horizontally */
  gap: 25px;
  width: 50%;
  height: 100%;
  padding: 0 .5rem;
}

/* pin the close button to the top-right, out of normal flow */
.closeX-btn-container {
  position: absolute; /* NEW */
  top: .75rem;        /* tweak to taste */
  right: .75rem;      /* tweak to taste */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: auto;        /* no need to stretch full width */
  /* optional: ensure it sits above other content */
  z-index: 1;
}

.subscribe-msgbrd {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.subscribe-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:10px;
}

.subscribe-title-font {
    color: #FFF;
    text-align: center;
    font-family: "Noto Sans SC";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 150% */
    letter-spacing: 5px;
    text-transform: uppercase;
}

.closeX-img {
    width: 20px;
    height: auto;
    cursor: pointer;
}

.form-tag {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: .5rem;
}
.subscribe-btn-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.subscribe-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: .95rem;
    /* font-family: "Segoe UI", sans-serif; */
    font-weight: 400;
    border: none;
    /* border-radius: 0.5rem; */
    background-color: rgb(213, 98, 99);
    color: white;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 115px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.subscribe-input {
    color: #fff;
    text-align: left;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 4px;
    width: 100%;
    height: 3.625rem;
    padding: 0 0 0 .5rem;
    border-radius: 15px;
    background-color: #000;
}

@media (min-width: 600px) {
    
} /* end min-width: 600px */

@media (min-width: 992px) {
    
} /* end min-width: 992px */


@media (min-width: 1200px) {
    
} /* end min-width: 1200px */