:root {
    --primary: #0d2c54;
    --secondary: #9cc7e9;
    --accent: #118a96;
    --support: #3a9d5d;
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --text: #17212b;
    --text-muted: #5b6f82;
    --card: #ffffff;
    --border: #d6e1ec;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 12px 26px rgba(13, 44, 84, 0.12);
    --shadow-soft: 0 8px 20px rgba(13, 44, 84, 0.08);
}

body[data-theme='dark'] {
    --bg: #0e1620;
    --bg-soft: #152332;
    --text: #f1f7ff;
    --text-muted: #b4c8dd;
    --card: #172736;
    --border: #30506b;
    --shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
    color: var(--text);
    background:
        radial-gradient(900px 500px at 100% -10%, rgba(17,138,150,0.18), transparent 50%),
        radial-gradient(900px 500px at -10% 20%, rgba(13,44,84,0.14), transparent 55%),
        var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1280px, calc(100% - 2.25rem));
    margin-inline: auto;
}

.site-header .container {
    width: min(1520px, calc(100% - 1.35rem));
}

main {
    min-height: 58vh;
}

section {
    padding: clamp(2.2rem, 2vw + 1.6rem, 4rem) 0;
}

h1, h2, h3, h4 {
    margin-top: 0;
    line-height: 1.25;
}

p {
    margin-top: 0;
}

.muted {
    color: var(--text-muted);
}

.section-soft {
    background: linear-gradient(180deg, rgba(17, 138, 150, 0.08), rgba(17, 138, 150, 0.02));
}

body[data-theme='dark'] .section-soft {
    background: linear-gradient(180deg, rgba(17, 138, 150, 0.16), rgba(17, 138, 150, 0.04));
}

.page-intro {
    display: grid;
    gap: 0.8rem;
}

.hero-inline-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    min-height: 280px;
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 160px;
}

.category-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.active-chip {
    background: rgba(17, 138, 150, 0.14) !important;
    border-color: rgba(17, 138, 150, 0.5) !important;
}

.hidden {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--bg) 92%, white 8%);
    border-bottom: 1px solid rgba(17, 138, 150, 0.18);
    backdrop-filter: blur(10px);
}

body[data-theme='dark'] .site-header {
    background: color-mix(in srgb, var(--bg) 90%, #122b41 10%);
    border-bottom-color: rgba(156, 199, 233, 0.25);
}

.nav-wrap {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: clamp(0.5rem, 0.8vw, 1rem);
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
    max-width: 210px;
}

.logo-mark {
    background: linear-gradient(135deg, var(--primary), #123d77);
    color: #fff;
    font-weight: 800;
    padding: 0.45rem 0.65rem;
    border-radius: 9px;
    letter-spacing: 0.02em;
}

.logo-text {
    font-weight: 700;
    font-size: clamp(0.82rem, 0.22vw + 0.74rem, 0.95rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: clamp(0.35rem, 0.55vw, 0.75rem);
    min-width: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.08rem;
    flex: 1;
    min-width: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: clamp(0.75rem, 0.24vw + 0.64rem, 0.9rem);
    letter-spacing: 0.01em;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

html[lang='gr'] .main-nav a,
body[data-lang='gr'] .main-nav a {
    font-size: clamp(0.72rem, 0.2vw + 0.62rem, 0.83rem);
    padding-inline: 0.4rem;
}

.main-nav a:hover {
    color: var(--primary);
    border-color: rgba(17, 138, 150, 0.22);
    background: rgba(17, 138, 150, 0.08);
}

body[data-theme='dark'] .main-nav a:hover {
    color: #d9eeff;
    border-color: rgba(156, 199, 233, 0.35);
    background: rgba(156, 199, 233, 0.12);
}

body[data-theme='dark'] .main-nav a.active {
    color: #f1f7ff;
    border-color: rgba(156, 199, 233, 0.4);
    background: rgba(156, 199, 233, 0.16);
}

.main-nav a.active {
    color: var(--primary);
    border-color: rgba(13, 44, 84, 0.24);
    background: rgba(13, 44, 84, 0.09);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
}

.header-actions > * {
    flex: 0 0 auto;
}

.account-menu {
    position: relative;
}

.account-toggle {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 250px;
    max-width: min(340px, calc(100vw - 1.5rem));
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.35rem;
    display: none;
    z-index: 1300;
}

.account-dropdown.open {
    display: grid;
}

.account-dropdown a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-weight: 600;
    white-space: normal;
}

.account-dropdown a:hover {
    background: rgba(17, 138, 150, 0.1);
}

.hamburger {
    display: none;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 10px;
    padding: 0.48rem 0.68rem;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--primary);
    color: #fff;
    padding: 0.62rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid rgba(17, 138, 150, 0.3);
    outline-offset: 1px;
}

.btn.ghost {
    background: transparent;
    color: var(--primary);
    border-color: rgba(17, 138, 150, 0.38);
}

body[data-theme='dark'] .btn.ghost {
    color: #d7ecff;
    border-color: rgba(156, 199, 233, 0.5);
}

body[data-lang='gr'] .nav-wrap {
    grid-template-columns: minmax(126px, 180px) minmax(0, 1fr);
    gap: 0.4rem;
}

body[data-lang='gr'] .logo {
    max-width: 180px;
    gap: 0.45rem;
}

body[data-lang='gr'] .logo-text {
    font-size: clamp(0.73rem, 0.16vw + 0.63rem, 0.82rem);
}

body[data-lang='gr'] .nav-shell {
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 0.4rem;
}

body[data-lang='gr'] .main-nav {
    gap: 0.03rem;
}

body[data-lang='gr'] .main-nav a {
    font-size: clamp(0.69rem, 0.15vw + 0.6rem, 0.8rem);
    padding-inline: 0.34rem;
}

body[data-lang='gr'] .header-actions {
    gap: 0.22rem;
}

body[data-lang='gr'] .header-mini {
    padding: 0.4rem 0.48rem;
    font-size: 0.72rem;
}

.header-mini {
    padding: 0.45rem 0.62rem;
    font-size: 0.78rem;
}

.hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
    min-height: clamp(420px, 58vh, 620px);
    height: clamp(420px, 58vh, 620px);
    background-image:
        linear-gradient(125deg, rgba(13,44,84,0.93), rgba(14, 102, 122, 0.9)),
        var(--hero-bg-image, linear-gradient(45deg, rgba(255,255,255,0.06), transparent));
    background-size: cover;
    background-position: center;
}

.hero-video-stage,
.hero-image,
.hero-fallback {
    position: absolute;
    inset: 0;
}

.hero-video-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071322;
    overflow: hidden;
    z-index: 0;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: blur(22px) brightness(0.55);
    transform: scale(1.08);
    z-index: 1;
}

.hero-video-main,
.hero-image,
.hero-fallback {
    width: 100%;
    height: 100%;
    object-position: center center;
}

.hero-video-main {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.hero-image {
    object-fit: cover;
}

.hero-fallback {
    object-fit: contain;
    opacity: 0.32;
    z-index: 2;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(6, 15, 28, 0.18), rgba(6, 15, 28, 0.12));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: clamp(420px, 58vh, 620px);
    height: clamp(420px, 58vh, 620px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 1.05rem;
    text-align: center;
    padding-block: clamp(2.2rem, 2vw + 1.7rem, 4rem);
}

.hero h1 {
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    margin-bottom: 0.35rem;
    max-width: 17ch;
}

.hero p {
    max-width: 66ch;
    margin-bottom: 0.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.hero .btn.ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.58);
    background: rgba(255,255,255,0.06);
}

.hero .btn.ghost:hover {
    background: rgba(255,255,255,0.16);
}

.badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

.heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.15rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.card,
.panel,
.admin-menu,
.admin-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

body[data-theme='dark'] .card,
body[data-theme='dark'] .panel,
body[data-theme='dark'] .admin-menu,
body[data-theme='dark'] .admin-panel {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* ===== CARD MEDIA DISPLAY ===== */
.card-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.card-media > img,
.card-media > .video-wrapper,
.album-cover-wrapper > img,
.album-cover-wrapper > .video-wrapper,
.gallery-thumb-media > img,
.gallery-thumb-media > .video-wrapper {
    position: absolute;
    inset: 0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.content-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #000;
    border-radius: 12px;
}

.card-video,
.modal-video,
.gallery-video,
.media-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

/* ===== RESPONSIVE VIDEO CONTAINERS ===== */
.video-wrapper,
.content-video-wrapper {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    border-radius: inherit;
}

.video-wrapper video,
.content-video-wrapper video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.card-media .video-wrapper,
.album-cover-wrapper .video-wrapper,
.gallery-thumb-media .video-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-media .video-wrapper video,
.album-cover-wrapper .video-wrapper video,
.gallery-thumb-media .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
}

.card-body .btn,
.card-body button.btn {
    margin-top: auto;
}

.emergency-banner {
    background: linear-gradient(95deg, #9b1d20, #ca3e2f);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-wrap {
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.emergency-banner .btn.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.quick-actions .card {
    background: linear-gradient(160deg, color-mix(in srgb, var(--card) 92%, #ffffff 8%), var(--card));
}

.quick-actions .icon {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    background: rgba(17, 138, 150, 0.12);
    color: var(--accent);
}

.panel {
    padding: 1.2rem;
}

form {
    display: grid;
    gap: 0.78rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.72rem 0.78rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.site-footer {
    margin-top: 3rem;
    color: #dbe9f6;
    background:
        linear-gradient(145deg, #0d2c54, #0a2445),
        radial-gradient(900px 400px at 95% 5%, rgba(17,138,150,0.2), transparent 60%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1.2rem;
    padding: 2rem 0;
}

.footer-block h4 {
    margin-bottom: 0.7rem;
}

.site-footer a {
    color: #e6f1fb;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.socials {
    display: flex;
    gap: 0.55rem;
}

.socials a {
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    padding: 0.8rem 0;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 23, 0.72);
}

.modal-content {
    position: relative;
    width: min(960px, calc(100% - 1.5rem));
    margin: 4.5vh auto;
    max-height: 90vh;
    overflow: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

/* ===== MODAL MEDIA DISPLAY ===== */
.modal-media {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.modal-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.modal-media video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
}

.modal-media .video-wrapper {
    margin-top: 0.75rem;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.modal-media .video-wrapper video,
.modal-media .content-video-wrapper video {
    height: auto;
}

/* ===== ADMIN MEDIA PREVIEW ===== */
.admin-media-preview {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.admin-media-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.admin-video-preview {
    width: 100%;
    max-width: 300px;
    display: block;
    margin-top: 0.5rem;
    border-radius: 10px;
    background: #000;
    overflow: hidden;
}

.admin-video-preview video {
    width: 100%;
    display: block;
}

body[data-theme='dark'] .modal-backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.admin-wrap {
    display: grid;
    grid-template-columns: minmax(230px, 280px) 1fr;
    gap: 1rem;
}

.admin-menu,
.admin-panel {
    padding: 1rem;
}

.admin-flash {
    background: rgba(58,157,93,0.12);
    border: 1px solid rgba(58,157,93,0.35);
    color: var(--support);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
}

body[data-theme='dark'] .admin-flash {
    color: #9ce7ba;
    border-color: rgba(156, 231, 186, 0.45);
    background: rgba(58, 157, 93, 0.2);
}

.admin-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.field-group {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

.field-group h4 {
    margin-bottom: 0.2rem;
}

.wizard-controls {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.preview-list {
    margin: 0;
    padding-left: 1.1rem;
}

.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.album-card {
    padding: 0;
    overflow: hidden;
}

/* ===== GALLERY & ALBUM MEDIA ===== */
.album-cover-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.album-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.album-cover-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}

.album-cover {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.album-body {
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
}

.album-meta {
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid rgba(17, 138, 150, 0.3);
    border-radius: 999px;
    width: fit-content;
    padding: 0.22rem 0.6rem;
}

.album-images-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

/* ===== GALLERY THUMB MEDIA ===== */
.gallery-thumb {
    cursor: pointer;
}

.gallery-thumb-media {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.gallery-thumb-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-thumb-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}

.gallery-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.65rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

@media (max-width: 1620px) {
    .nav-wrap {
        grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
        gap: 0.5rem;
    }

    .main-nav a {
        font-size: 0.8rem;
        padding: 0.45rem 0.4rem;
    }

    .header-mini {
        padding: 0.43rem 0.5rem;
        font-size: 0.74rem;
    }

    html[lang='gr'] .main-nav a,
    body[data-lang='gr'] .main-nav a {
        font-size: 0.77rem;
        padding-inline: 0.35rem;
    }
}

@media (max-width: 1620px) {
    body[data-lang='gr'] .nav-wrap {
        grid-template-columns: auto auto;
        align-items: center;
    }

    body[data-lang='gr'] .hamburger {
        display: inline-flex;
        margin-left: auto;
    }

    body[data-lang='gr'] .nav-shell {
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--border);
    }

    body[data-lang='gr'] .nav-shell.open {
        display: grid;
    }

    body[data-lang='gr'] .main-nav {
        flex-direction: column;
        align-items: stretch;
    }

    body[data-lang='gr'] .main-nav a {
        justify-content: flex-start;
        font-size: 0.9rem;
        padding: 0.58rem 0.68rem;
    }

    body[data-lang='gr'] .header-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    body[data-lang='gr'] .account-menu {
        width: 100%;
    }

    body[data-lang='gr'] .account-toggle {
        max-width: none;
        width: 100%;
        justify-content: center;
    }

    body[data-lang='gr'] .account-dropdown {
        left: 0;
        right: auto;
        min-width: 100%;
        max-width: none;
    }
}

@media (max-width: 1520px) {
    .nav-wrap {
        grid-template-columns: auto auto;
        align-items: center;
    }

    .hamburger {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-shell {
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--border);
    }

    .nav-shell.open {
        display: grid;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a {
        justify-content: flex-start;
        font-size: 0.92rem;
        padding: 0.6rem 0.7rem;
    }

    html[lang='gr'] .main-nav a,
    body[data-lang='gr'] .main-nav a {
        font-size: 0.9rem;
        padding-inline: 0.7rem;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .account-menu {
        width: 100%;
    }

    .account-toggle {
        max-width: none;
        width: 100%;
        justify-content: center;
    }

    .account-dropdown {
        left: 0;
        right: auto;
        min-width: 100%;
        max-width: none;
    }
}

@media (max-width: 1120px) {
    .container {
        width: min(1280px, calc(100% - 1.5rem));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .footer-grid,
    .admin-wrap,
    .admin-fields-grid,
    .gallery-albums-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        max-width: 260px;
    }
}

@media (max-width: 760px) {
    section {
        padding: 1.9rem 0;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-content {
        min-height: clamp(360px, 52vh, 520px);
        height: clamp(360px, 52vh, 520px);
    }

    .hero {
        min-height: clamp(360px, 52vh, 520px);
        height: clamp(360px, 52vh, 520px);
    }

    .hero-video-stage {
        min-height: clamp(360px, 52vh, 520px);
        height: clamp(360px, 52vh, 520px);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Card media responsive sizing */
    .card-media {
        height: 210px;
    }

    .card img {
        height: 210px;
    }

    /* Gallery responsive sizing */
    .album-cover,
    .album-cover-wrapper {
        height: 200px;
    }

    .gallery-thumb,
    .gallery-thumb-media {
        height: 150px;
    }

    .gallery-thumb img {
        height: 150px;
    }

    .album-images-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        padding: 0 0.75rem 0.75rem;
    }

    .wizard-controls {
        flex-direction: column;
    }

    th,
    td {
        font-size: 0.86rem;
    }
}

/* ===== EXTRA SMALL SCREENS (MOBILE) ===== */
@media (max-width: 480px) {
    .hero {
        min-height: clamp(300px, 48vh, 440px);
        height: clamp(300px, 48vh, 440px);
    }

    .hero-content {
        min-height: clamp(300px, 48vh, 440px);
        height: clamp(300px, 48vh, 440px);
    }

    .hero-video-stage {
        min-height: clamp(300px, 48vh, 440px);
        height: clamp(300px, 48vh, 440px);
    }

    .card-media {
        height: 180px;
    }

    .card img {
        height: 180px;
    }

    .album-cover,
    .album-cover-wrapper {
        height: 180px;
    }

    .gallery-thumb,
    .gallery-thumb-media {
        height: 120px;
    }

    .gallery-thumb img {
        height: 120px;
    }

    .album-images-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .admin-media-preview {
        max-width: 240px;
    }
}
