.tpot-flyers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 420px));
    justify-content: center;
    gap: 28px;
}

.tpot-flyer {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 40px color-mix(in srgb,var(--gold,#d4af37) 14%,transparent);
}

.tpot-flyer img {
    display: block;
    width: 100%;
    height: auto;
}

.tpot-flyers-manager {
    max-width: 980px;
    margin: 0 auto;
    padding: 70px 20px;
    color: #fff;
}

.tpot-flyers-panel {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 70px rgba(0,0,0,.45), 0 0 40px color-mix(in srgb,var(--gold,#d4af37) 12%,transparent);
}

.tpot-flyers-form {
    display: grid;
    gap: 12px;
    margin: 28px 0 34px;
}

.tpot-flyers-form input {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    color: #fff;
    padding: 0 14px;
}

.tpot-flyers-form button,
.tpot-flyers-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg,var(--bronze,#8a5a20),var(--gold,#d4af37));
    color: var(--button-text,#07100b);
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    padding: 0 22px;
}

.tpot-flyers-message {
    padding: 14px 16px;
    border-radius: 16px;
    background: color-mix(in srgb,var(--gold,#d4af37) 14%,transparent);
    border: 1px solid color-mix(in srgb,var(--gold,#d4af37) 32%,transparent);
    margin: 18px 0;
}

.tpot-flyers-admin-list {
    display: grid;
    gap: 14px;
}

.tpot-flyers-admin-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 16px;
    align-items: center;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 12px;
}

.tpot-flyers-admin-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.tpot-flyers-admin-item span {
    display: block;
    color: #b7b7c7;
    margin-top: 6px;
}

.tpot-flyers-admin-item button {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    color: #fff;
    border-radius: 999px;
    min-height: 38px;
    padding: 0 16px;
    cursor: pointer;
}

.tpot-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold,#d4af37);
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 700px) {
    .tpot-flyers-admin-item {
        grid-template-columns: 70px 1fr;
    }

    .tpot-flyers-admin-item form {
        grid-column: 1 / -1;
    }
}

.tpot-flyers-wrap {
    text-align: center;
}

.tpot-flyers-wrap h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(44px, 7vw, 82px);
    line-height: .95;
    margin: 10px 0 28px;
}

.tpot-flyers {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: stretch;
    overflow-x: auto;
    padding: 10px 4px 18px;
    scroll-snap-type: x mandatory;
}

.tpot-flyer {
    flex: 0 0 min(360px, 82vw);
    scroll-snap-align: center;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 60px rgba(0,0,0,.42), 0 0 40px color-mix(in srgb,var(--gold,#d4af37) 14%,transparent);
    text-decoration: none;
    color: #fff;
    transition: .22s;
}

.tpot-flyer:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb,var(--gold,#d4af37) 55%,transparent);
    box-shadow: 0 26px 80px rgba(0,0,0,.48), 0 0 46px color-mix(in srgb,var(--gold,#d4af37) 22%,transparent);
}

.tpot-flyer img {
    display: block;
    width: 100%;
    height: auto;
}

.tpot-flyer span {
    display: block;
    padding: 16px 18px;
    font-weight: 900;
    color: var(--gold,#d4af37);
}

/* Frontpage flyer display */
.thalia-flyers-section .tpot-flyers-wrap{
max-width:1100px;
margin:0 auto;
text-align:center;
}

.thalia-flyers-section .tpot-flyers{
display:flex;
justify-content:center;
align-items:center;
gap:28px;
flex-wrap:wrap;
}

.thalia-flyers-section .tpot-flyer{
display:block;
max-width:520px;
width:100%;
padding:14px;
border-radius:24px;
background:rgba(8,7,5,.92);
border:1px solid rgba(245,195,91,.28);
box-shadow:0 22px 70px rgba(0,0,0,.55);
cursor:default;
}

.thalia-flyers-section .tpot-flyer img{
display:block;
width:100%;
height:auto;
border-radius:16px;
}

.thalia-flyers-section .tpot-flyer span{
display:none !important;
}

@media(max-width:760px){
.thalia-flyers-section .tpot-flyer{
max-width:100%;
}
}

/* HERO STYLE FLYER SECTION */
.thalia-flyers-section{
padding-top:0 !important;
}

.thalia-flyers-section .container{
max-width:100% !important;
padding:0 !important;
}

.thalia-flyers-section .tpot-flyers-wrap{
width:100%;
max-width:100%;
margin:0;
}

.thalia-flyers-section .eyebrow,
.thalia-flyers-section h2{
text-align:center;
padding-left:20px;
padding-right:20px;
}

.thalia-flyers-section .tpot-flyers{
display:block;
width:100%;
}

.thalia-flyers-section .tpot-flyer{
display:block;
width:100%;
max-width:1400px;
margin:0 auto;
padding:0;
border:0;
border-radius:0;
background:none;
box-shadow:none;
}

.thalia-flyers-section .tpot-flyer img{
display:block;
width:100%;
height:auto;
max-height:92vh;
object-fit:contain;
margin:0 auto;
}

.thalia-flyers-section .tpot-flyer span{
display:none !important;
}

@media(max-width:900px){
.thalia-flyers-section .tpot-flyer img{
max-height:none;
width:100%;
}
}

.tpot-logoff-button{
display:inline-flex;
align-items:center;
justify-content:center;
border:0;
border-radius:999px;
padding:20px 38px;
font-size:22px;
font-weight:900;
color:var(--button-text,#07100b);
background:linear-gradient(135deg,#555,#222);
cursor:pointer;
text-transform:uppercase;
line-height:1;
text-decoration:none;
}

.tpot-flyer-file-drop{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:8px;
min-height:130px;
padding:24px 18px;
border:2px dashed color-mix(in srgb,var(--gold,#d4af37) 45%,transparent);
border-radius:24px;
background:rgba(255,255,255,.06);
cursor:pointer;
text-align:center;
transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.tpot-flyer-file-drop:hover{
transform:translateY(-1px);
border-color:var(--gold,#d4af37);
background:color-mix(in srgb,var(--gold,#d4af37) 10%,transparent);
}

.tpot-flyer-file-drop input{
display:none;
}

.tpot-flyer-file-title{
font-size:20px;
font-weight:900;
text-transform:uppercase;
color:var(--gold,#d4af37);
}

.tpot-flyer-file-name{
font-size:14px;
opacity:.78;
}

.tpot-flyers-admin-editable{
align-items:flex-start;
}

.tpot-existing-flyer-form{
flex:1;
display:grid;
gap:10px;
}

.tpot-existing-flyer-form label{
font-size:13px;
font-weight:800;
opacity:.85;
}

.tpot-existing-flyer-dates{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
}

.tpot-existing-flyer-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.tpot-existing-flyer-actions button{
width:auto;
min-width:120px;
}

@media(max-width:700px){
.tpot-existing-flyer-dates{
grid-template-columns:1fr;
}
}

.tpot-flyers-form input[type="date"],
.tpot-existing-flyer-form input[type="date"]{
appearance:none;
-webkit-appearance:none;
width:100%;
height:54px;
padding:0 16px;
border-radius:16px;
border:1px solid rgba(255,255,255,.22);
background:rgba(255,255,255,.96);
color:#111;
font-size:17px;
font-weight:800;
line-height:54px;
box-sizing:border-box;
cursor:pointer;
}

.tpot-flyers-form input[type="date"]:focus,
.tpot-existing-flyer-form input[type="date"]:focus{
outline:none;
border-color:var(--gold,#d4af37);
box-shadow:0 0 0 3px color-mix(in srgb,var(--gold,#d4af37) 24%,transparent);
}

.tpot-flyers-form input[type="date"]::-webkit-calendar-picker-indicator,
.tpot-existing-flyer-form input[type="date"]::-webkit-calendar-picker-indicator{
cursor:pointer;
opacity:.75;
filter:sepia(1) saturate(1.6);
}

.tpot-existing-flyer-form input[type="text"]{
width:100%;
height:54px;
padding:0 16px;
border-radius:16px;
border:1px solid rgba(255,255,255,.22);
background:rgba(255,255,255,.96);
color:#111;
font-size:17px;
font-weight:700;
box-sizing:border-box;
}

.tpot-existing-flyer-form input[type="text"]:focus{
outline:none;
border-color:var(--gold,#d4af37);
box-shadow:0 0 0 3px color-mix(in srgb,var(--gold,#d4af37) 24%,transparent);
}

.tpot-existing-flyer-form label{
display:block;
margin-bottom:6px;
line-height:1.2;
}

.tpot-existing-flyer-dates label{
margin-bottom:6px;
}
