:root {
    --bg: #070913;
    --panel: #10131f;
    --panel-2: #151a2a;
    --text: #eef4ff;
    --muted: #98a5c7;
    --border: rgba(255,255,255,0.08);
    --gradient: linear-gradient(90deg, #6ee7ff 0%, #7b61ff 48%, #9d4edd 100%);
    --gradient-soft: linear-gradient(135deg, rgba(110,231,255,0.16), rgba(123,97,255,0.16), rgba(157,78,221,0.20));
    --shadow: 0 20px 50px rgba(0,0,0,0.38);
    --shadow-soft: 0 14px 34px rgba(0,0,0,0.28);
    --radius: 22px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(110,231,255,0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(123,97,255,0.11), transparent 34%),
        radial-gradient(circle at 50% -10%, rgba(157,78,221,0.12), transparent 32%),
        linear-gradient(180deg, #05070e 0%, #0a0e18 100%);
    color: var(--text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(8, 10, 18, 0.76);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-shrink: 0;
}

.logo-mark {
    position: relative;
    width: 58px;
    height: 42px;
    flex: 0 0 58px;
    display: inline-block;
    transform-origin: center;
}

.ufo-logo {
    display: inline-block;
}

.ufo-dome,
.ufo-body,
.ufo-light,
.ufo-beam {
    position: absolute;
}

.ufo-dome {
    left: 50%;
    top: 4px;
    width: 24px;
    height: 13px;
    transform: translateX(-50%);
    border-radius: 24px 24px 10px 10px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,0.95) 0%, rgba(173,235,255,0.92) 45%, rgba(86,160,220,0.85) 100%);
    box-shadow:
        0 0 10px rgba(120,220,255,0.34),
        inset 0 1px 2px rgba(255,255,255,0.45);
    z-index: 3;
}

.ufo-body {
    left: 50%;
    top: 14px;
    width: 54px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 999px;
    background:
        linear-gradient(180deg, #e4ebff 0%, #93a6df 48%, #465784 100%);
    box-shadow:
        0 6px 16px rgba(0,0,0,0.26),
        0 0 14px rgba(106,206,255,0.18),
        inset 0 1px 3px rgba(255,255,255,0.45);
    z-index: 2;
}

.ufo-body::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 2px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.06));
    opacity: 0.7;
}

.ufo-light {
    bottom: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9bffd8;
    box-shadow: 0 0 8px rgba(155,255,216,0.88);
    z-index: 4;
}

.ufo-light-1 { left: 15px; }
.ufo-light-2 { left: 26px; }
.ufo-light-3 { left: 37px; }

.ufo-beam {
    left: 50%;
    top: 25px;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(117,255,232,0.30), rgba(117,255,232,0));
    clip-path: polygon(40% 0%, 60% 0%, 100% 100%, 0% 100%);
    filter: blur(1px);
    opacity: 0.75;
    z-index: 1;
}

.site-logo:hover .ufo-logo {
    transform: translateY(-1px) rotate(-2deg);
}

.site-logo:hover .ufo-beam {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.08);
}

@keyframes ufoFloat {
    0%   { transform: translateY(0px) rotate(-1deg); }
    25%  { transform: translateY(-2px) rotate(0.5deg); }
    50%  { transform: translateY(0px) rotate(1deg); }
    75%  { transform: translateY(-1px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(-1deg); }
}

@keyframes beamPulse {
    0%   { opacity: 0.45; transform: translateX(-50%) scaleY(0.92); }
    50%  { opacity: 0.9; transform: translateX(-50%) scaleY(1.08); }
    100% { opacity: 0.45; transform: translateX(-50%) scaleY(0.92); }
}

@keyframes lightBlink {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.logo-mark.is-floating {
    animation: ufoFloat 3.2s ease-in-out infinite;
}

.logo-mark.is-floating .ufo-beam {
    animation: beamPulse 2.2s ease-in-out infinite;
}

.logo-mark.is-floating .ufo-light-1 {
    animation: lightBlink 1.8s ease-in-out infinite;
}

.logo-mark.is-floating .ufo-light-2 {
    animation: lightBlink 1.8s ease-in-out infinite 0.25s;
}

.logo-mark.is-floating .ufo-light-3 {
    animation: lightBlink 1.8s ease-in-out infinite 0.5s;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.logo-kicker {
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--muted);
    margin-bottom: 4px;
}

.logo-main {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.logo-tech,
.logo-inform {
    display: inline-block;
}

.logo-tech {
    background: var(--gradient);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s linear infinite;
}

.logo-inform {
    color: #f4f7ff;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    min-width: 0;
}

.site-nav > a,
.nav-dropdown-toggle {
    color: #d7e1f6;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: color .2s ease, opacity .2s ease;
}

.site-nav > a:hover,
.nav-dropdown-toggle:hover {
    color: #fff;
}

.site-nav > a {
    position: relative;
    padding: 8px 0;
}

.site-nav > a::after,
.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.site-nav > a:hover::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.nav-dropdown-toggle {
    position: relative;
    background: transparent;
    border: 0;
    padding: 8px 18px 8px 0;
    cursor: pointer;
}

.nav-dropdown-toggle::before {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown:focus-within .nav-dropdown-toggle::before {
    transform: translateY(-40%) rotate(225deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 230px;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: rgba(12, 15, 26, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    z-index: 1001;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #d8e2f7;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-admin {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    padding: 10px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255,255,255,0.10);
}

.mobile-nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.hero-band {
    padding: 34px 0 20px;
}

.hero-band-inner {
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(110,231,255,0.14), rgba(123,97,255,0.16), rgba(157,78,221,0.24));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    text-align: left;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b8f3ff;
}

.hero-band h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 0.98;
}

.hero-text {
    max-width: 720px;
    margin: 0;
    color: #d0daf0;
    font-size: 17px;
    line-height: 1.65;
}

.featured-story {
    margin: 22px 0 30px;
}

.featured-story-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: rgba(16,19,31,0.96);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.featured-story-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 24px 56px rgba(0,0,0,0.42);
}

.featured-story-media,
.post-card-image,
.video-thumb {
    position: relative;
    overflow: hidden;
    background: #0e1220;
}

.featured-story-media {
    min-height: 300px;
}

.post-card-image,
.video-thumb {
    aspect-ratio: 16 / 9;
}

.featured-story-media img,
.post-card-image img,
.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.featured-story-card:hover .featured-story-media img,
.post-card:hover .post-card-image img,
.video-card:hover .video-thumb img {
    transform: scale(1.04);
}

.featured-story-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.featured-story-content .pill {
    margin-bottom: 4px;
}

.featured-story-content h2 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4.2vw, 46px);
    line-height: 1.02;
    word-break: break-word;
}

.featured-story-content p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.section-block {
    margin: 34px 0;
}

.section-head {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.section-head h1,
.section-head h3 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.section-subtext,
.section-subtitle {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-content: center;
}

.post-card,
.video-card,
.sidebar-box,
.admin-auth-card,
.admin-form,
.admin-table-wrap,
.single-post,
.empty-state,
.post-share-box,
.post-pagination-card {
    background: rgba(16,19,31,0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.post-card,
.video-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.post-card:hover,
.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0e1220;
    overflow: hidden;
}

.post-card-body {
    padding: 18px;
}

.post-card-body h4,
.video-card-body h4 {
    margin: 10px 0 10px;
    font-size: 22px;
    line-height: 1.15;
    word-break: break-word;
}

.post-card-body p,
.video-card-body p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #9fadcb;
    font-size: 13px;
    line-height: 1.5;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    font-weight: 700;
    color: #f3f6ff;
    white-space: nowrap;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-content: center;
}

.video-card {
    overflow: hidden;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0e1220;
    overflow: hidden;
}

.play-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(10,12,20,0.82);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.video-card-body {
    padding: 16px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(110,231,255,0.12), rgba(123,97,255,0.14), rgba(157,78,221,0.18));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 18px;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.single-post {
    padding: 26px;
    min-width: 0;
}

.single-post-header h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.02;
    word-break: break-word;
}

.post-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.post-breadcrumb a:hover {
    color: #fff;
}

.single-post-excerpt {
    margin: 0 0 16px;
    color: #d4def2;
    font-size: 18px;
    line-height: 1.7;
    max-width: 780px;
}

.single-post-image {
    margin: 22px 0;
    border-radius: 18px;
    overflow: hidden;
    background: #0e1220;
}

.single-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-video {
    margin: 22px 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.single-post-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.single-post-content {
    color: #e8eefc;
    font-size: 17px;
    line-height: 1.82;
    overflow-wrap: anywhere;
}

.single-post-content h2 {
    margin: 34px 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.1;
}

.single-post-content h2:first-child {
    margin-top: 0;
}

.single-post-content p a,
.single-post-content li a {
    color: #92f0ff;
    text-decoration: none;
}

.single-post-content p a:hover,
.single-post-content li a:hover {
    color: #ffffff;
}

.single-post-content img {
    border-radius: 16px;
    margin: 24px 0;
}

.single-post-content blockquote {
    margin: 22px 0;
    padding: 16px 18px;
    border-left: 3px solid rgba(110,231,255,0.8);
    background: rgba(255,255,255,0.04);
    border-radius: 0 14px 14px 0;
    color: #dde7fb;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 22px;
}

.post-share-box {
    margin-top: 34px;
    padding: 22px;
}

.post-share-box h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.post-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-pagination-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
}

.post-pagination-card {
    display: block;
    padding: 18px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.post-pagination-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    box-shadow: var(--shadow);
}

.post-pagination-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.related-posts-section {
    margin-top: 38px;
    padding-top: 10px;
}

.post-sidebar {
    display: block;
}

.sidebar-box {
    padding: 20px;
}

.sidebar-box h3 {
    margin-top: 0;
}

.author-sidebar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.author-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255,255,255,0.10);
}

.author-sidebar-content {
    min-width: 0;
}

.author-sidebar-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.author-sidebar-content p {
    margin: 0;
    color: #d7e0f4;
    line-height: 1.7;
    font-size: 14px;
}

.sidebar-post {
    display: block;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: opacity .2s ease;
}

.sidebar-post:hover {
    opacity: 1;
}

.sidebar-post:first-of-type {
    border-top: 0;
}

.sidebar-post strong {
    display: block;
    margin-bottom: 6px;
}

.sidebar-post span {
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    background: rgba(7, 9, 16, 0.84);
}

.footer-inner {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer-left {
    max-width: 760px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 900;
}

.footer-copy {
    margin: 6px 0 10px;
    color: var(--muted);
}

.footer-meta {
    margin: 5px 0;
    color: #bac7df;
    font-size: 14px;
    line-height: 1.6;
}

.footer-meta a {
    color: #92f0ff;
}

.footer-meta a:hover {
    color: #ffffff;
}

.footer-right {
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: 0;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.10);
}

.btn-small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    background: rgba(255,255,255,0.06);
}

.btn-danger {
    background: rgba(255, 76, 76, 0.14);
    color: #ffd2d2;
    border-color: rgba(255,76,76,0.18);
}

.admin-auth-wrap {
    min-height: calc(100vh - 180px);
    display: grid;
    place-items: center;
    padding: 30px 16px;
}

.admin-auth-card {
    width: min(100%, 460px);
    padding: 28px;
}

.admin-auth-card h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

.admin-auth-card p {
    color: var(--muted);
    margin-top: 0;
}

.admin-page {
    padding-top: 26px;
    padding-bottom: 26px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.admin-topbar h1 {
    margin: 0 0 8px;
}

.admin-topbar p {
    margin: 0;
    color: var(--muted);
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-form {
    padding: 22px;
}

.admin-form-wide {
    width: 100%;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="file"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.09);
    background: #0c101a;
    color: #fff;
    outline: none;
}

.admin-form input[type="text"]:focus,
.admin-form input[type="password"]:focus,
.admin-form input[type="file"]:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: rgba(123,97,255,0.45);
    box-shadow: 0 0 0 3px rgba(123,97,255,0.12);
}

.admin-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.checkbox-row input {
    width: auto !important;
    margin: 0 !important;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(255, 76, 76, 0.12);
    color: #ffd2d2;
    border: 1px solid rgba(255, 76, 76, 0.18);
}

.empty-state {
    padding: 28px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.current-image-preview img {
    max-width: 240px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 700px) {
    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-pagination-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 901px) {
    .featured-story-card {
        align-items: stretch;
    }

    .featured-story-media {
        min-height: 100%;
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .post-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .post-sidebar {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 900px) {
    .featured-story-card {
        grid-template-columns: 1fr;
    }

    .featured-story-content {
        padding: 24px;
    }

    .site-nav {
        position: absolute;
        top: 79px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(8, 10, 18, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px 18px;
        box-shadow: 0 16px 34px rgba(0,0,0,0.32);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav > a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .site-nav > a::after,
    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-dropdown::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 14px 22px 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-dropdown-toggle::before {
        right: 4px;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 100%;
        margin-top: 0;
        padding: 6px 0 10px 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 10px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .nav-admin {
        margin-top: 8px;
        width: fit-content;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .footer-inner,
    .admin-topbar,
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 20px, 1120px);
    }

    .header-inner {
        min-height: 70px;
    }

    .hero-band-inner {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .single-post,
    .admin-auth-card,
    .admin-form,
    .featured-story-content {
        padding: 18px;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-kicker {
        font-size: 9px;
    }

    .hero-band h1,
    .featured-story-content h2,
    .single-post-header h1 {
        line-height: 1.05;
    }

    .meta-line {
        gap: 6px;
    }

    .play-badge {
        width: 38px;
        height: 38px;
        right: 12px;
        bottom: 12px;
    }

    .author-sidebar {
        gap: 12px;
    }

    .author-avatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
}