*{box-sizing:border-box}

/* logo{
    width: 50px;
    height: 50px;
    height:auto
} */

/* icon{
    width: 5px;
    height: 5px;
    height:auto
} */

body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    background:#f5f1eb url('../img/background-pramuka.png') center center / cover fixed no-repeat;
    color:#3e2a1f
}

/* TOPBAR */
.topbar {
    height: 78px;
    background: #5a351f;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px;
}

/* Bagian logo + nama Kwaran */
.brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Logo */
.brand-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

/* Tulisan */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.brand-text span {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #dce9df;
}

/* User di sebelah kanan */
.userbox {
    font-size: 14px;
    white-space: nowrap;
}

.userbox a {
    color: #fff;
    text-decoration: none;
}

.userbox a:hover {
    text-decoration: underline;
}

.topbar span{
    font-size:13px;
    opacity:.85
}

.topbar a{
    color:#fff;
    text-decoration:none
}

/* LAYOUT */
.layout{
    display:flex;
    min-height:calc(100vh - 72px)
}

/* SIDEBAR */
.sidebar{
    width:230px;
    background:#3f2416;
    color:#fff;
    padding:25px 14px
}

.brand{
    text-align:center;
    font-weight:800;
    font-size:19px;
    line-height:1.2;
    margin-bottom:28px
}

.brand span{
    font-size:12px;
    letter-spacing:2px;
    color:#e4c28a
}

.sidebar a{
    display:block;
    color:#f3e5d0;
    text-decoration:none;
    padding:12px 14px;
    border-radius:9px;
    margin:5px 0
}

.sidebar a:hover{
    background:#6b4228
}

/* CONTENT */
.content{
    flex:1;
    padding:28px;
    max-width:1400px
}

/* GRID */
.grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px
}

/* CARD */
.card{
    background:#fffdf9;
    border-radius:14px;
    padding:20px;
    box-shadow:0 3px 15px #3e2a1f12;
    margin-bottom:20px;
    border:1px solid #eadfce
}

.stat{
    font-size:30px;
    font-weight:800;
    margin-top:8px;
    color:#5a351f
}

.muted{
    color:#806f61;
    font-size:13px
}

/* BUTTON */
.btn{
    display:inline-block;
    border:0;
    background:#79502f;
    color:#fff;
    padding:10px 15px;
    border-radius:8px;
    text-decoration:none;
    cursor:pointer
}

.btn:hover{
    background:#5a351f
}

.btn.secondary{
    background:#8c7a6a
}

.btn.danger{
    background:#a52b20
}

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

/* TABLE */
.table-wrap{
    overflow:auto
}

.table{
    width:100%;
    border-collapse:collapse;
    background:#fffdf9
}

.table th,
.table td{
    padding:11px 12px;
    border-bottom:1px solid #eadfce;
    text-align:left;
    font-size:14px
}

.table th{
    background:#eee3d3;
    color:#4b2d1d
}

/* FORM */
.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px
}

.field label{
    display:block;
    font-weight:700;
    font-size:13px;
    margin-bottom:6px;
    color:#4b2d1d
}

.field input,
.field select,
.field textarea{
    width:100%;
    padding:11px;
    border:1px solid #d8c6b2;
    border-radius:8px;
    background:#fffdf9;
    color:#3e2a1f
}

.field input:focus,
.field select:focus,
.field textarea:focus{
    outline:none;
    border-color:#8a5a35;
    box-shadow:0 0 0 2px #8a5a3520
}

.field textarea{
    min-height:130px
}

.full{
    grid-column:1/-1
}

/* NOTICE */
.notice{
    padding:13px 15px;
    border-radius:9px;
    background:#f1e6d5;
    color:#5a351f;
    margin-bottom:15px;
    border:1px solid #dfcdb7
}

/* NEWS */
.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px
}

.news-item{
    border:1px solid #eadfce;
    border-radius:10px;
    padding:15px;
    background:#fffdf9
}

.badge{
    display:inline-block;
    padding:4px 8px;
    background:#ead7bb;
    color:#5a351f;
    border-radius:20px;
    font-size:12px
}

/* HERO */
.hero{
    background:linear-gradient(135deg,#5a351f,#8a5a35);
    color:#fff;
    border-radius:18px;
    padding:30px;
    margin-bottom:20px
}

/* LOGIN */
.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-image:linear-gradient(135deg,#3f2416dd,#8a5a35dd),url('../img/background-pramuka.png');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    padding:20px
}

.login-card{
    width:420px;
    background:#fffdf9;
    border-radius:18px;
    padding:32px;
    box-shadow:0 20px 60px #0005;
    border-top:5px solid #b8863b
}

.login-card h1{
    text-align:center;
    margin-top:0;
    color:#5a351f
}

.logo-circle{
    width:78px;
    height:78px;
    border-radius:50%;
    margin:0 auto 15px;
    background:#eee0ca;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    border:3px solid #b8863b
}

/* LANDING */
.landing{
    min-height:100vh;
    background-image:linear-gradient(135deg,#3f2416cc,#8a5a35cc),url('../img/background-pramuka.png');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:30px
}

.landing-box{
    max-width:800px
}

.landing h1{
    font-size:48px;
    margin:10px 0
}

/* MODAL */
.modal{
    position:fixed;
    inset:0;
    background:#0009;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:20
}

.modal-box{
    background:#fffdf9;
    color:#3e2a1f;
    max-width:760px;
    width:100%;
    border-radius:18px;
    padding:25px;
    position:relative
}

.modal-close{
    position:absolute;
    right:15px;
    top:10px;
    border:0;
    background:none;
    font-size:30px;
    cursor:pointer;
    color:#5a351f
}

/* FOTO KETUA KWARAN */
.chairman-photo{
    width:170px;
    height:170px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin:0 auto 15px;
    background:#e6d9c8;
    border:5px solid #b8863b
}

.chairman-photo img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover
}

.photo-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#806f61
}

/* PROFILE */
.profile-chairman-photo{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    margin:15px 0;
    border:5px solid #b8863b;
    background:#e6d9c8
}

.profile-photo-layout{
    align-items:start
}

.photo-upload-form{
    margin-top:15px
}

.file-label{
    display:inline-block;
    background:#f0e3d2;
    color:#5a351f;
    border:1px dashed #8a5a35;
    padding:11px 14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700
}

.file-label:hover{
    background:#e5d2b9
}

@media (max-width: 700px) {

    .topbar {
        height: auto;
        min-height: 75px;
        padding: 12px 16px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 15px;
        white-space: normal;
    }

    .brand-text span {
        font-size: 13px;
    }

    .userbox {
        display: none;
    }
}

/* =========================================================
   RESPONSIVE MOBILE & TABLET
   Warna dan identitas visual asli dipertahankan.
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
    .content {
        padding: 22px;
        max-width: none;
        min-width: 0;
    }

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

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

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

    .hero {
        padding: 24px;
    }
}

/* HP + tablet portrait: navigasi menjadi tab tetap di bawah */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .topbar {
        min-height: 68px;
        height: auto;
        padding: 10px 14px;
    }

    .brand-header {
        min-width: 0;
        gap: 10px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 16px;
        line-height: 1.15;
        white-space: normal;
    }

    .brand-text span {
        margin-top: 3px;
        font-size: 12px;
    }

    .userbox {
        display: none;
    }

    .layout {
        display: block;
        min-height: 0;
    }

    /* Sidebar berubah menjadi bottom navigation */
    .sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 68px;
        padding: 5px 2px;
        margin: 0;
        z-index: 1000;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: stretch;
        box-shadow: 0 -4px 18px #0004;
    }

    .sidebar .brand {
        display: none;
    }

    .sidebar a {
        min-width: 0;
        height: 58px;
        margin: 0;
        padding: 6px 2px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 10px;
        line-height: 1.1;
        overflow: hidden;
        white-space: normal;
        word-break: normal;
    }

    .sidebar a:hover {
        background: #6b4228;
    }

    .content {
        width: 100%;
        padding: 18px 14px 88px;
        overflow-x: hidden;
    }

    .card,
    .hero,
    .news-item {
        max-width: 100%;
        min-width: 0;
    }

    .hero {
        padding: 20px;
        border-radius: 14px;
    }

    .hero h1 {
        font-size: clamp(22px, 5vw, 30px);
        line-height: 1.2;
        margin-top: 0;
    }

    .grid,
    .news-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        gap: 12px;
    }

    .full {
        grid-column: auto;
    }

    .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 620px;
    }

    .actions {
        width: 100%;
    }

    .actions .btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .login-page {
        min-height: 100dvh;
        padding: 16px;
    }

    .login-card {
        width: min(100%, 420px);
        padding: 24px 18px;
    }

    .modal {
        padding: 12px;
    }

    .modal-box {
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        padding: 20px 16px;
    }

    .landing {
        min-height: 100dvh;
        padding: 20px 16px;
    }

    .landing h1 {
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.1;
    }

    footer {
        padding: 10px 14px 82px !important;
        text-align: center;
        font-size: 12px;
    }
}

/* HP kecil: semua tab tetap terlihat tanpa geser */
@media (max-width: 480px) {
    .topbar {
        padding: 9px 12px;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text span {
        font-size: 11px;
    }

    .sidebar {
        height: 64px;
        padding: 4px 1px;
    }

    .sidebar a {
        height: 56px;
        padding: 5px 1px;
        font-size: 9px;
        letter-spacing: -0.1px;
    }

    .content {
        padding: 14px 10px 82px;
    }

    .card {
        padding: 15px;
        margin-bottom: 14px;
    }

    .hero {
        padding: 17px 15px;
        margin-bottom: 14px;
    }

    .stat {
        font-size: 27px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .profile-chairman-photo {
        width: 170px;
        height: 170px;
    }

    .chairman-photo {
        width: 140px;
        height: 140px;
    }
}

/* HP sangat kecil */
@media (max-width: 360px) {
    .brand-text strong {
        font-size: 13px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .sidebar a {
        font-size: 8px;
    }

    .content {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* NAVIGATION ICONS & MOBILE TAB */
.sidebar a{display:flex;align-items:center;gap:10px}
.sidebar a.active{background:#6b4228;color:#fff;font-weight:800}
.nav-icon{width:22px;min-width:22px;text-align:center;font-size:17px;line-height:1}
.mobile-nav{display:none}

/* ENTITY CARDS */
.school-grid,.member-grid,.org-grid,.news-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.entity-card,.member-card,.org-card,.news-card-admin{background:#fffdf9;border:1px solid #eadfce;border-radius:14px;box-shadow:0 3px 15px #3e2a1f12;overflow:hidden}
.entity-card{padding:18px;position:relative}
.entity-icon,.org-icon,.member-avatar{width:44px;height:44px;border-radius:12px;background:#eee3d3;display:flex;align-items:center;justify-content:center;font-size:21px;margin-bottom:12px}
.entity-card h3,.member-card h3,.org-card h3,.news-card-admin h3{margin:9px 0 7px}
.entity-card p{margin:5px 0 15px}
.entity-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.btn-small{padding:7px 10px;font-size:12px}
.member-card{padding:14px;display:flex;gap:11px;align-items:flex-start}
.member-avatar{margin:0;flex:0 0 44px}
.member-info{min-width:0;flex:1}.member-info h3{font-size:15px;overflow-wrap:anywhere}.school-name{font-size:12px;color:#806f61;white-space:normal}.member-tags{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:8px}.status-dot{font-size:11px;padding:4px 7px;border-radius:15px;background:#eee3d3;color:#806f61}.status-dot.active{background:#dce9df;color:#315e40}
.org-card{padding:15px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.org-card .org-icon{margin:0}.org-card p{margin:4px 0;color:#806f61;font-size:12px}
.news-card-admin img{width:100%;height:170px;object-fit:cover}.news-card-body{padding:15px}.news-card-body h3{font-size:17px}.news-card-body p{color:#806f61;font-size:13px}
.news-thumb{width:100%;height:150px;object-fit:cover;border-radius:9px;margin-bottom:10px}.news-item h3{margin:8px 0 5px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-heading h2{margin:0 0 4px}.section-heading p{margin:0}.empty-state{padding:24px;text-align:center;border:1px dashed #d8c6b2;border-radius:12px;color:#806f61;background:#fffaf3}.profile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.profile-summary>div{padding:14px;border:1px solid #eadfce;border-radius:10px}.profile-summary span,.profile-summary strong{display:block}.profile-summary strong{margin-top:6px;font-size:14px}
.stat-card{position:relative;overflow:hidden}.stat-icon{font-size:24px;margin-bottom:10px}.stat-card .stat{font-size:32px}

/* FLOATING ACTION BUTTON */
.fab{position:fixed;right:26px;bottom:28px;z-index:18;border:0;border-radius:999px;background:#79502f;color:#fff;box-shadow:0 8px 25px #3e2a1f55;padding:13px 18px;font-weight:800;cursor:pointer}.fab:hover{background:#5a351f}.fab span{margin-left:5px}

/* MODALS */
.modal-hidden{display:none!important}.modal{z-index:50}.modal-form{max-height:90vh;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}

@media (max-width:1100px){
 .grid{grid-template-columns:repeat(2,1fr)}
 .school-grid,.member-grid,.org-grid,.news-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .content{padding:22px}
}

@media (max-width:900px){
 body{background-attachment:scroll;padding-bottom:78px}
 .topbar{height:64px;padding:0 15px}.brand-icon{width:38px;height:38px}.brand-text strong{font-size:15px}.brand-text span{font-size:12px}.userbox{font-size:11px}
 .layout{display:block;min-height:0}.sidebar{display:none}.content{max-width:none;padding:15px 14px 95px}
 .mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(6,1fr);left:8px;right:8px;bottom:8px;height:64px;background:#3f2416;border:1px solid #6b4228;border-radius:16px;padding:5px;z-index:40;box-shadow:0 8px 30px #0005}
 .mobile-nav a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#f3e5d0;text-decoration:none;border-radius:11px;font-size:9px;line-height:1.1;text-align:center;overflow:hidden}.mobile-nav a.active{background:#6b4228;color:#fff}.mobile-nav .nav-icon{font-size:18px;width:auto;min-width:0}.mobile-nav a span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 .hero{padding:22px 18px;border-radius:14px}.hero h1{font-size:24px;margin:0 0 6px}.hero p{font-size:13px;margin:0}
 .card{padding:15px;border-radius:12px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.two-col{grid-template-columns:1fr}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .news-item{padding:11px}.news-item h3{font-size:14px}.news-item p{font-size:12px}
 .school-grid,.member-grid,.org-grid,.news-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .entity-card{padding:12px;min-width:0}.entity-card h3{font-size:13px}.entity-icon{width:38px;height:38px;font-size:18px}.entity-meta{align-items:flex-end;flex-direction:column}.entity-meta .btn{width:100%;text-align:center}
 .member-card{padding:10px;display:block}.member-avatar{width:38px;height:38px;font-size:18px;margin-bottom:7px}.member-card h3{font-size:13px}.school-name{font-size:10px}.member-tags{margin-top:6px}.member-card>.btn{margin-top:7px;width:100%;text-align:center}
 .org-card{padding:11px;grid-template-columns:auto 1fr}.org-card>.btn{grid-column:1/-1;width:100%;text-align:center}.org-card h3{font-size:13px}.org-card p{font-size:11px}
 .news-card-admin img{height:105px}.news-card-body{padding:10px}.news-card-body h3{font-size:14px}.news-card-body p{font-size:11px}.btn-small{padding:6px 8px}
 .section-heading{align-items:flex-start;flex-direction:column}.section-heading .btn{width:100%;text-align:center}
 .profile-summary{grid-template-columns:1fr}
 .fab{right:16px;bottom:82px;padding:12px 15px}.fab span{font-size:12px}
 .modal{padding:12px}.modal-box{padding:18px;border-radius:14px;max-height:88vh}.modal-form .form-grid{gap:11px}
}

@media (max-width:520px){
 .topbar{padding:0 10px}.brand-text strong{font-size:12px}.brand-text span{font-size:10px}.userbox{font-size:10px}.userbox a{display:none}
 .grid.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.grid.stat-grid .stat-card{aspect-ratio:1/1;padding:12px;display:flex;flex-direction:column;justify-content:center}.grid.stat-grid .stat{font-size:25px}.grid.stat-grid .muted{font-size:11px}.stat-icon{font-size:20px}
 .card{margin-bottom:12px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-thumb{height:85px}.news-item h3{font-size:12px}.news-item p{font-size:10px}.badge{font-size:9px;padding:3px 6px}
 .school-grid,.member-grid,.org-grid,.news-admin-grid{gap:8px}.entity-card{padding:10px;border-radius:10px}.entity-card h3{font-size:12px}.entity-card .muted{font-size:10px}.entity-icon{width:34px;height:34px;margin-bottom:8px}.member-card{padding:9px;border-radius:10px}.member-card h3{font-size:12px}.school-name{font-size:9px}.status-dot{font-size:9px;padding:3px 5px}.member-card>.btn,.entity-meta .btn{font-size:10px;padding:5px 6px}
 .news-card-admin img{height:85px}.news-card-body{padding:9px}.news-card-body h3{font-size:12px}.news-card-body .muted,.news-card-body p{font-size:10px}
 .mobile-nav{left:5px;right:5px;bottom:5px;height:62px}.mobile-nav a{font-size:8px}.mobile-nav .nav-icon{font-size:17px}.content{padding-left:9px;padding-right:9px}
 .fab{right:12px;bottom:75px;padding:11px 13px}.fab span{font-size:11px}
}
.landing-news{position:absolute;left:50%;transform:translateX(-50%);bottom:25px;width:min(1100px,92vw);color:#fff}.landing-news h2{text-align:center;font-size:20px;margin:0 0 10px}.landing-news-grid{grid-template-columns:repeat(3,1fr)}.landing-news-item{background:#fffdf9ee;color:#3e2a1f;padding:11px}.landing-news-item .news-thumb{height:90px}.landing-news-item h3{font-size:14px}.landing-news-item p{font-size:11px}
@media(max-width:900px){.landing{align-items:flex-start;padding-top:100px;overflow:auto}.landing-box{margin-bottom:230px}.landing-news{position:static;transform:none;width:100%;margin-top:20px}.landing-news-grid{grid-template-columns:repeat(2,1fr)}}

/* Final mobile navigation override: only the bottom tab bar is shown. */
@media (max-width: 900px){
  .sidebar{display:none!important;position:static!important;width:auto!important;height:auto!important;box-shadow:none!important}
  .mobile-nav{display:grid!important}
}

/* ===== Struktur Organisasi Kwaran Cipocok Jaya ===== */
.org-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.org-diagram{position:relative;max-width:1080px;margin:0 auto 40px;padding:24px 28px 18px;border:1px solid #d9c6a3;border-radius:24px;background:linear-gradient(180deg,#fffdf8f2,#f7f1e7f2);box-shadow:0 14px 40px #3e2a1f18;overflow:hidden}
.org-diagram:before,.org-diagram:after{content:"";position:absolute;border:18px solid #8d83a84d;width:260px;height:260px;border-radius:50%;z-index:0}
.org-diagram:before{left:-120px;top:80px}.org-diagram:after{right:-120px;top:80px}
.org-title{position:relative;z-index:1;width:min(620px,92%);margin:0 auto 24px;padding:12px 20px;border:1px solid #bfa77c;border-radius:12px;background:#fffdf9;box-shadow:0 6px 16px #3e2a1f12;text-align:center}
.org-title span{display:block;font-family:Georgia,serif;font-size:25px;color:#1e3554;letter-spacing:.5px}.org-title strong{display:block;margin-top:3px;font-size:17px;color:#171717}
.org-level{position:relative;z-index:1;display:flex;justify-content:center;gap:72px}.org-pair{max-width:760px;margin:0 auto}.org-person{width:340px;min-height:94px;display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid #cbb58d;border-radius:15px;background:#fffdf9;box-shadow:0 6px 18px #3e2a1f20}.org-person.chairman{width:360px}.org-photo{flex:0 0 68px;width:68px;height:68px;border-radius:50%;overflow:hidden;border:3px solid #c9aa6b;background:#eee3d3;display:flex;align-items:center;justify-content:center;color:#8c7350;font-weight:800;font-size:11px}.org-photo img{width:100%;height:100%;object-fit:cover}.org-person b{display:block;font-size:16px;color:#171717;margin-bottom:6px}.org-person strong{display:block;font-size:16px;color:#151515}.org-connector{height:28px;width:2px;background:#b79c6c;margin:0 auto;position:relative;z-index:1}.org-year{position:relative;z-index:1;text-align:center;border-top:1px solid #b79c6c;margin:28px auto 0;padding-top:8px;font-size:12px;font-weight:800;color:#3c342d;max-width:420px}
.org-edit-card{display:grid;grid-template-columns:130px 1fr;gap:22px;align-items:center;margin-bottom:14px}.org-edit-photo{display:flex;flex-direction:column;align-items:center;gap:8px}.org-edit-photo img,.org-edit-photo .photo-placeholder{width:105px;height:105px;border-radius:50%;object-fit:cover;border:3px solid #c9aa6b;background:#eee3d3;display:flex;align-items:center;justify-content:center;color:#8c7350;font-weight:800}.org-edit-photo .file-label{font-size:11px;padding:6px 8px}
.form-page-card{max-width:1050px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.btn.secondary{background:#e9e0d4;color:#4b3b2d}.btn.secondary:hover{background:#ddd0c0}

/* Mobile: cards stay side-by-side and compact/square */
@media (max-width:900px){
 .org-diagram{padding:16px 10px;border-radius:16px}.org-title{padding:9px 10px;margin-bottom:14px}.org-title span{font-size:17px}.org-title strong{font-size:11px}.org-level{gap:10px}.org-pair{width:100%}.org-person,.org-person.chairman{width:calc(50% - 5px);min-height:82px;padding:8px;gap:8px;border-radius:11px}.chairman-level .org-person.chairman{width:min(330px,78%)}.org-photo{width:48px;height:48px;flex-basis:48px}.org-person b{font-size:10px;margin-bottom:4px}.org-person strong{font-size:10px;line-height:1.2}.org-connector{height:18px}.org-year{font-size:9px;margin-top:18px}.org-edit-card{grid-template-columns:82px 1fr;gap:10px;padding:10px}.org-edit-photo img,.org-edit-photo .photo-placeholder{width:70px;height:70px}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1;min-width:130px}
 .school-grid,.member-grid,.org-grid,.news-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .entity-card,.member-card,.news-card-admin{min-width:0;border-radius:10px}.entity-card{padding:10px;aspect-ratio:1/1;display:flex;flex-direction:column}.entity-card h3{font-size:12px;line-height:1.2}.entity-card .muted{font-size:9px;line-height:1.2;margin:3px 0}.entity-icon{width:32px;height:32px;font-size:17px;margin-bottom:6px}.entity-meta{margin-top:auto;display:flex;gap:4px;align-items:center;justify-content:space-between;font-size:9px}.entity-meta .btn{font-size:9px;padding:4px 6px}.member-card{padding:9px;aspect-ratio:1/1;display:flex;flex-direction:column}.member-card .member-info{min-width:0}.member-card h3{font-size:11px;line-height:1.2}.school-name{font-size:9px;line-height:1.2}.member-tags{margin-top:auto}.member-card>.btn{font-size:9px;padding:4px 6px;margin-top:5px}.news-card-admin{display:flex;flex-direction:column}.news-card-admin img{height:90px;object-fit:cover}.news-card-admin .news-card-body{padding:9px}.news-card-admin h3{font-size:11px;line-height:1.2}.news-card-admin p{font-size:9px;line-height:1.3}.news-card-admin .btn{font-size:9px;padding:4px 6px}
}
@media (max-width:520px){
 .org-diagram:before,.org-diagram:after{width:150px;height:150px;border-width:12px;top:90px}.org-title span{font-size:15px}.org-title strong{font-size:9px}.org-person,.org-person.chairman{min-height:72px;padding:6px}.org-photo{width:40px;height:40px;flex-basis:40px;border-width:2px}.org-person b{font-size:8px}.org-person strong{font-size:8px}.chairman-level .org-person.chairman{width:88%}.org-edit-card{grid-template-columns:65px 1fr}.org-edit-photo img,.org-edit-photo .photo-placeholder{width:58px;height:58px}.org-edit-photo .file-label{font-size:8px;padding:4px}.org-edit-photo input[type=file]{max-width:60px;font-size:8px}.entity-card{aspect-ratio:1/1;padding:8px}.entity-card h3{font-size:10px}.entity-card .muted{font-size:8px}.member-card{aspect-ratio:1/1;padding:8px}.member-card h3{font-size:10px}.school-name{font-size:8px}.news-card-admin img{height:72px}.news-card-admin .news-card-body{padding:7px}.fab{right:12px;bottom:75px}
}

.flash-popup{position:fixed;top:22px;right:22px;z-index:1000;max-width:min(420px,calc(100vw - 30px));padding:14px 20px;border-radius:12px;background:#3f2416;color:#fffdf9;box-shadow:0 12px 30px #0004;font-weight:800;opacity:0;transform:translateY(-14px);pointer-events:none;transition:.25s ease}.flash-popup.show{opacity:1;transform:translateY(0)}.flash-popup.error{background:#9b2c2c}@media(max-width:900px){.flash-popup{top:14px;right:14px;left:14px;max-width:none;text-align:center}}

/* Profil Pangkalan */
.profile-card { position: relative; overflow: hidden; }
.profile-header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-bottom:18px; border-bottom:1px solid rgba(0,0,0,.08); }
.profile-header h2 { margin:10px 0 0; font-size:clamp(1.35rem,2.5vw,2rem); }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:20px; }
.detail-grid > div { padding:14px 16px; border:1px solid rgba(0,0,0,.08); border-radius:14px; background:rgba(255,255,255,.72); }
.detail-grid > div.full { grid-column:1/-1; }
.detail-grid span { display:block; font-size:.82rem; opacity:.7; margin-bottom:5px; }
.detail-grid strong { display:block; font-size:1rem; line-height:1.5; }
@media (max-width:700px){ .detail-grid{grid-template-columns:1fr;} .detail-grid > div.full{grid-column:auto;} }
/* Fitur pencarian, ekspor, dan foto pengurus pangkalan */
.search-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search-form input{flex:1;min-width:220px;padding:11px 13px;border:1px solid #d8c6b2;border-radius:8px;background:#fffdf9;color:#3e2a1f}.export-actions{margin-top:14px}.person-photo-small{width:54px;height:54px;border-radius:50%;object-fit:cover;display:block;margin-top:9px;border:3px solid #b8863b;background:#e6d9c8}.actions .btn-small{padding:7px 10px;font-size:12px}.search-card{margin-bottom:16px}
/* PROFIL PANGKALAN V7 */
.profile-hero-card{display:flex;align-items:center;gap:22px;padding:26px;border-radius:20px;margin-bottom:16px;background:linear-gradient(135deg,#fffaf0,#ead8bd);border:1px solid #d8c09c;box-shadow:0 8px 28px #3e2a1f18}.profile-hero-icon{width:82px;height:82px;flex:0 0 82px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:#79502f;color:#fff;font-size:38px;box-shadow:0 8px 20px #3e2a1f35}.profile-hero-card h1{margin:8px 0 6px;font-size:clamp(25px,4vw,38px)}.profile-hero-card p{margin:0;color:#705e4f}.profile-info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.profile-info-strip>div{background:#fffdf9;border:1px solid #eadfce;border-radius:14px;padding:14px 16px;box-shadow:0 3px 14px #3e2a1f0c}.profile-info-strip span{display:block;font-size:12px;color:#806f61;margin-bottom:5px}.profile-info-strip strong{display:block;overflow-wrap:anywhere}.people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.person-card{overflow:hidden;border:1px solid #eadfce;border-radius:18px;background:#fffdf9;box-shadow:0 5px 18px #3e2a1f12}.person-photo-wrap{aspect-ratio:1/1;background:#eee3d3;display:flex;align-items:center;justify-content:center;overflow:hidden}.person-photo-wrap img{width:100%;height:100%;object-fit:cover}.person-placeholder{font-size:48px;opacity:.75}.person-card-body{padding:15px}.person-card-body>span{font-size:12px;color:#806f61}.person-card-body h3{font-size:17px;margin:6px 0 0;line-height:1.35}.notice{padding:13px 16px;border-radius:10px;margin-bottom:15px}.error-notice{background:#f8e2df;color:#8b3027;border:1px solid #e4b7b0}@media(max-width:900px){.profile-hero-card{padding:19px;gap:14px}.profile-hero-icon{width:60px;height:60px;flex-basis:60px;border-radius:17px;font-size:28px}.profile-info-strip{grid-template-columns:repeat(2,1fr)}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.person-card-body{padding:11px}.person-card-body h3{font-size:13px}}@media(max-width:480px){.profile-hero-card{align-items:flex-start}.profile-hero-card h1{font-size:23px}.profile-info-strip{grid-template-columns:repeat(2,1fr);gap:8px}.profile-info-strip>div{padding:10px}.profile-info-strip strong{font-size:12px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.person-card-body h3{font-size:12px}.person-card-body>span{font-size:10px}}


/* ===== MOBILE NAV V8 - presisi untuk Admin & User ===== */
@media (max-width:900px){
  body{padding-bottom:92px}
  .mobile-nav{
    --nav-count:5;
    grid-template-columns:repeat(var(--nav-count),minmax(0,1fr)) !important;
    left:7px;
    right:7px;
    bottom:7px;
    height:72px;
    padding:6px;
    gap:4px;
    background:rgba(63,36,22,.98);
    border:1px solid rgba(228,194,138,.28);
    border-radius:18px;
    box-shadow:0 12px 32px rgba(31,18,10,.32),0 2px 7px rgba(31,18,10,.18);
    backdrop-filter:blur(10px);
  }
  .mobile-nav a{
    position:relative;
    min-width:0;
    height:58px;
    padding:5px 2px 4px;
    gap:4px;
    border-radius:13px;
    font-size:9px;
    font-weight:700;
    letter-spacing:-.1px;
    color:#ead9c3;
    transition:background .18s ease,transform .18s ease,color .18s ease;
  }
  .mobile-nav a.active{
    background:linear-gradient(180deg,#7b4d2e,#62391f);
    color:#fff;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 3px 9px rgba(0,0,0,.16);
  }
  .mobile-nav a:active{transform:scale(.95)}
  .mobile-nav .nav-icon{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    line-height:1;
  }
  .mobile-nav a span:last-child{
    display:block;
    width:100%;
    line-height:1.05;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:center;
  }
  .content{padding-bottom:104px}
}

@media (max-width:520px){
  .mobile-nav{
    left:5px;
    right:5px;
    bottom:5px;
    height:68px;
    padding:5px;
    gap:3px;
    border-radius:17px;
  }
  .mobile-nav a{
    height:56px;
    padding:4px 1px 3px;
    gap:3px;
    border-radius:12px;
    font-size:8px;
  }
  .mobile-nav .nav-icon{width:25px;height:25px;font-size:16px}
  body{padding-bottom:84px}
  .content{padding-bottom:96px}
}

@media (max-width:380px){
  .mobile-nav{left:4px;right:4px;gap:2px;padding:4px}
  .mobile-nav a{font-size:7.5px;border-radius:10px}
  .mobile-nav .nav-icon{font-size:15px;width:23px;height:23px}
}

/* ===== USER MANAGEMENT / RESET PASSWORD ===== */
.user-actions{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:wrap}
.inline-form{display:inline-flex;margin:0}
.active-account{font-size:11px;padding:6px 8px;border-radius:8px;background:#f4ede4}
.reset-btn{background:#6b4228}
.reset-btn:hover{background:#52311f}
.reset-password-box{max-width:520px;border:1px solid #eadfce;box-shadow:0 20px 55px rgba(33,20,10,.28)}
.reset-password-head{display:flex;align-items:center;gap:13px;padding-right:30px;margin-bottom:20px}
.reset-password-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#ead8bd;font-size:23px}
.reset-password-head h2{margin:0 0 4px;font-size:22px}
.reset-password-head p{margin:0;line-height:1.4}
.reset-password-grid{gap:13px}
.reset-password-note{margin-top:14px;padding:11px 13px;border-radius:11px;background:#faf4ea;border:1px solid #eadfce;color:#705e4f;font-size:12px;line-height:1.45}
.reset-password-box .modal-actions{margin-top:18px}
.user-table td{vertical-align:middle}

@media(max-width:900px){
  .user-add-card .form-actions .btn{width:100%}
  .user-list-card{padding:12px}
  .user-list-card .section-heading{padding:3px 3px 10px}
  .user-table thead{display:none}
  .user-table,.user-table tbody,.user-table tr,.user-table td{display:block;width:100%}
  .user-table{border-collapse:separate;border-spacing:0 9px}
  .user-table tr{background:#fffdf9;border:1px solid #eadfce;border-radius:14px;overflow:hidden;box-shadow:0 3px 13px #3e2a1f0d;padding:8px 10px}
  .user-table td{border:0!important;padding:6px 4px 6px 86px!important;position:relative;min-height:31px;font-size:12px;overflow-wrap:anywhere}
  .user-table td::before{content:attr(data-label);position:absolute;left:4px;top:7px;width:76px;font-size:10px;font-weight:800;color:#806f61;text-transform:uppercase;letter-spacing:.25px}
  .user-table td[data-label="Nama"]{padding-top:9px!important}
  .user-table td[data-label="Nama"] strong{font-size:13px}
  .user-table td[data-label="Aksi"]{padding-left:4px!important;padding-top:10px!important;border-top:1px solid #eee4d8!important;margin-top:4px}
  .user-table td[data-label="Aksi"]::before{display:none}
  .user-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .user-actions .btn{width:100%;text-align:center;font-size:10px;padding:8px 6px}
  .active-account{display:flex;align-items:center;justify-content:center;min-height:32px}
  .reset-password-box{padding:18px 15px;border-radius:16px}
  .reset-password-head{align-items:flex-start;margin-bottom:15px}
  .reset-password-icon{width:42px;height:42px;flex-basis:42px;font-size:20px}
  .reset-password-head h2{font-size:19px}
  .reset-password-box .modal-actions{display:grid;grid-template-columns:1fr 1fr}
  .reset-password-box .modal-actions .btn{width:100%;min-width:0}
}

@media(max-width:420px){
  .user-actions{grid-template-columns:1fr 1fr}
  .user-table td{padding-left:76px!important}
  .user-table td::before{width:66px;font-size:9px}
}

/* =========================================================
   MOBILE PROFESSIONAL NAVIGATION - UPDATE 9
   Admin/Adminkwaran: hamburger menu di topbar
   User/Pangkalan: bottom navigation yang seimbang + Keluar
   ========================================================= */
.mobile-menu-toggle{display:none;border:0;background:rgba(255,255,255,.10);color:#fff;width:42px;height:42px;border-radius:12px;padding:9px;cursor:pointer;flex:0 0 42px;align-items:center;justify-content:center;flex-direction:column;gap:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)}
.mobile-menu-toggle span{display:block;width:22px;height:2px;border-radius:3px;background:#fff;transition:transform .2s ease,opacity .2s ease}
.mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-menu-overlay{display:none;position:fixed;inset:0;background:rgba(24,14,8,.54);z-index:1100;backdrop-filter:blur(2px)}
.mobile-menu-drawer{display:none;position:fixed;z-index:1110;top:0;left:0;bottom:0;width:min(340px,88vw);background:linear-gradient(180deg,#fffdf9 0%,#f8f0e5 100%);box-shadow:18px 0 45px rgba(0,0,0,.28);padding:22px 15px 18px;overflow-y:auto;transform:translateX(-105%);transition:transform .25s ease}
.mobile-menu-drawer.is-open{transform:translateX(0)}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px 18px;border-bottom:1px solid #eadfce}
.mobile-menu-head small{display:block;color:#8a735f;font-size:10px;font-weight:800;letter-spacing:1.2px;margin-bottom:4px}
.mobile-menu-head strong{display:block;color:#4b2d1d;font-size:19px}
.mobile-menu-close{width:38px;height:38px;border:1px solid #e2d4c4;border-radius:11px;background:#fff;color:#5a351f;font-size:25px;line-height:1;cursor:pointer}
.mobile-menu-links{padding:15px 0;display:grid;gap:7px}
.mobile-menu-links a{display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:10px;min-height:52px;padding:8px 11px;border-radius:13px;text-decoration:none;color:#4b2d1d;font-size:14px;font-weight:700;transition:background .18s ease,transform .18s ease}
.mobile-menu-links a:hover{background:#f0e3d2}
.mobile-menu-links a.active{background:linear-gradient(135deg,#79502f,#5a351f);color:#fff;box-shadow:0 5px 15px rgba(90,53,31,.22)}
.mobile-menu-links .nav-icon{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#f0e3d2;font-size:19px}
.mobile-menu-links a.active .nav-icon{background:rgba(255,255,255,.14)}
.menu-chevron{font-size:24px;line-height:1;text-align:right;opacity:.45}
.mobile-menu-links a.active .menu-chevron{opacity:.9}
.mobile-menu-logout{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;margin-top:4px;border-radius:13px;background:#a52b20;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 6px 16px rgba(165,43,32,.18)}
.mobile-menu-logout span{font-size:20px}

@media (max-width:900px){
  /* Admin & Admin Kwaran */
  .topbar{position:sticky;top:0;z-index:1050;min-height:66px;height:66px;padding:8px 12px;background:linear-gradient(135deg,#5a351f,#432616);box-shadow:0 4px 18px rgba(42,22,11,.20)}
  .topbar .brand-header{gap:9px;flex:1;min-width:0}
  .mobile-menu-toggle{display:flex}
  .topbar .brand-icon{width:38px;height:38px;flex:0 0 38px}
  .topbar .brand-text strong{font-size:12px;line-height:1.08;white-space:normal;display:block}
  .topbar .brand-text span{font-size:10px;margin-top:3px}
  .userbox{display:none!important}
  .mobile-menu-drawer,.mobile-menu-overlay{display:block}
  .mobile-menu-overlay{opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
  body.menu-open{overflow:hidden}
  body.menu-open .mobile-menu-overlay{opacity:1;visibility:visible}
  .sidebar{display:none!important}
  .content{padding-top:15px}

  /* User / Pangkalan bottom navigation */
  .mobile-nav{position:fixed;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;left:7px;right:7px;bottom:7px;height:68px;padding:5px;gap:3px;background:rgba(63,36,22,.98);border:1px solid rgba(228,194,138,.30);border-radius:18px;z-index:1080;box-shadow:0 12px 32px rgba(31,18,10,.30),0 2px 7px rgba(31,18,10,.18);backdrop-filter:blur(10px)}
  .mobile-nav a{position:relative;min-width:0;height:56px;padding:4px 2px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#ead9c3;text-decoration:none;border-radius:12px;font-size:8px;font-weight:700;line-height:1.05;text-align:center;overflow:hidden;transition:background .18s ease,transform .18s ease,color .18s ease}
  .mobile-nav a.active{background:linear-gradient(180deg,#7b4d2e,#62391f);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 3px 9px rgba(0,0,0,.16)}
  .mobile-nav a:active{transform:scale(.95)}
  .mobile-nav .nav-icon{width:25px;height:25px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1}
  .mobile-nav a span:last-child{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
  .mobile-nav a.logout-tab{color:#ffd8d2}
  .mobile-nav a.logout-tab .nav-icon{font-size:18px}
  body{padding-bottom:84px}
  .content{padding-bottom:94px}
}

@media (max-width:380px){
  .topbar{padding-left:9px;padding-right:9px}
  .mobile-menu-toggle{width:39px;height:39px;flex-basis:39px}
  .mobile-menu-toggle span{width:20px}
  .topbar .brand-icon{width:35px;height:35px;flex-basis:35px}
  .topbar .brand-text strong{font-size:10.5px}
  .topbar .brand-text span{font-size:9px}
  .mobile-nav{left:4px;right:4px;bottom:4px;height:66px;padding:4px;gap:2px;border-radius:16px}
  .mobile-nav a{height:56px;font-size:7.2px;border-radius:11px}
  .mobile-nav .nav-icon{width:23px;height:23px;font-size:15px}
}

/* =========================================================
   LANDING PAGE MOBILE - lebih rapi setelah popup ditutup
   ========================================================= */
.landing{min-height:100dvh;position:relative;overflow-x:hidden;overflow-y:auto}
.landing-box{width:min(760px,94vw);padding:24px 24px 22px;border-radius:24px;background:rgba(38,21,12,.26);border:1px solid rgba(255,255,255,.20);box-shadow:0 20px 60px rgba(0,0,0,.24);backdrop-filter:blur(7px)}
.landing-box .logo{display:block;width:min(150px,35vw);height:auto;max-height:150px;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 8px 15px rgba(0,0,0,.25))}
.landing-box h1{margin:8px 0 10px;text-shadow:0 3px 12px rgba(0,0,0,.30)}
.landing-box>p{max-width:620px;margin:0 auto 18px;line-height:1.6;color:#fff9f1}
.landing-box>.btn{min-width:180px;border-radius:12px;padding:12px 20px;font-weight:800;box-shadow:0 7px 18px rgba(0,0,0,.22)}
.landing-news{z-index:2}
.landing-news-grid{gap:12px}
.landing-news-item{border-radius:14px;border:1px solid rgba(234,223,206,.85);box-shadow:0 8px 25px rgba(31,18,10,.14)}

@media(max-width:900px){
  .landing{display:block;padding:34px 12px 28px;overflow-y:auto}
  .landing-box{width:100%;max-width:560px;margin:0 auto 22px;padding:20px 16px 18px;border-radius:20px}
  .landing-box .logo{width:108px;max-height:108px;margin-bottom:10px}
  .landing-box h1{font-size:clamp(28px,8vw,38px);margin:5px 0 8px}
  .landing-box>p{font-size:13px;line-height:1.55;margin-bottom:15px}
  .landing-box>.btn{width:100%;max-width:260px}
  .landing-news{position:static;transform:none;width:100%;margin:0 auto;color:#fff}
  .landing-news h2{font-size:17px;margin:0 0 10px}
  .landing-news-grid{grid-template-columns:1fr!important;gap:10px}
  .landing-news-item{padding:10px;background:rgba(255,253,249,.96)}
  .landing-news-item .news-thumb{height:125px;border-radius:8px}
  .landing-news-item h3{font-size:14px}
  .landing-news-item p{font-size:11px;line-height:1.45}
  .modal{padding:10px}
  .modal-box{width:100%;max-width:520px;padding:18px 15px;border-radius:18px;max-height:calc(100dvh - 20px)}
  .chairman-photo{width:115px;height:115px;border-width:4px}
  .modal-box h2{font-size:19px;line-height:1.25}
  .modal-box h3{font-size:15px}
  .modal-box p{font-size:13px;line-height:1.6;text-align:left}
  .modal-box .btn{min-height:44px;padding:11px 18px;border-radius:11px}
}

@media (max-width:900px){
  .admin-mobile-page{padding-bottom:0!important}
  .admin-mobile-page .content{padding-bottom:28px!important}
  .user-mobile-page{padding-bottom:84px!important}
  .user-mobile-page .content{padding-bottom:94px!important}
}


/* =========================================================
   UPDATE 10 - MOBILE ADMIN MENU + STICKY HEADER
   Menjamin CSS menu tidak tampil sebagai link default dan
   header tetap terlihat saat halaman discroll.
   ========================================================= */
@media (max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}

  /* Header selalu menempel di atas saat scroll */
  .topbar{
    position:sticky!important;
    top:0!important;
    z-index:2050!important;
    width:100%;
    box-sizing:border-box;
  }

  /* Admin/AdminKwaran: drawer benar-benar tersembunyi sebelum dibuka */
  .admin-mobile-page .mobile-menu-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:2140!important;
    background:rgba(24,14,8,.56)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .2s ease,visibility .2s ease!important;
  }
  .admin-mobile-page .mobile-menu-drawer{
    display:flex!important;
    flex-direction:column!important;
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:min(340px,88vw)!important;
    max-width:340px!important;
    height:100dvh!important;
    box-sizing:border-box!important;
    z-index:2150!important;
    margin:0!important;
    padding:22px 15px 18px!important;
    overflow-y:auto!important;
    background:linear-gradient(180deg,#fffdf9 0%,#f8f0e5 100%)!important;
    border-right:1px solid #eadfce!important;
    box-shadow:18px 0 45px rgba(0,0,0,.28)!important;
    transform:translate3d(-110%,0,0)!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .25s ease,opacity .2s ease,visibility .2s ease!important;
  }
  .admin-mobile-page.menu-open .mobile-menu-overlay{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .admin-mobile-page.menu-open .mobile-menu-drawer{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  .admin-mobile-page .mobile-menu-head{
    flex:0 0 auto;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:6px 8px 18px!important;
    margin:0!important;
    border-bottom:1px solid #eadfce!important;
  }
  .admin-mobile-page .mobile-menu-head small{
    display:block!important;
    color:#8a735f!important;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:1.2px!important;
    margin:0 0 4px!important;
  }
  .admin-mobile-page .mobile-menu-head strong{
    display:block!important;
    color:#4b2d1d!important;
    font-size:19px!important;
    line-height:1.2!important;
  }
  .admin-mobile-page .mobile-menu-close{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    border:1px solid #e2d4c4!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#5a351f!important;
    font-size:25px!important;
    line-height:1!important;
    cursor:pointer!important;
  }
  .admin-mobile-page .mobile-menu-links{
    flex:1 1 auto;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:15px 0!important;
    margin:0!important;
  }
  .admin-mobile-page .mobile-menu-links a{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 18px!important;
    align-items:center!important;
    gap:10px!important;
    min-height:52px!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:8px 11px!important;
    margin:0!important;
    border-radius:13px!important;
    text-decoration:none!important;
    color:#4b2d1d!important;
    background:transparent!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.2!important;
  }
  .admin-mobile-page .mobile-menu-links a:hover,
  .admin-mobile-page .mobile-menu-links a:focus-visible{
    background:#f0e3d2!important;
    outline:none!important;
  }
  .admin-mobile-page .mobile-menu-links a.active{
    background:linear-gradient(135deg,#79502f,#5a351f)!important;
    color:#fff!important;
    box-shadow:0 5px 15px rgba(90,53,31,.22)!important;
  }
  .admin-mobile-page .mobile-menu-links .nav-icon{
    width:40px!important;
    height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:11px!important;
    background:#f0e3d2!important;
    font-size:19px!important;
    line-height:1!important;
  }
  .admin-mobile-page .mobile-menu-links a.active .nav-icon{
    background:rgba(255,255,255,.14)!important;
  }
  .admin-mobile-page .mobile-menu-links .menu-chevron{
    display:block!important;
    font-size:24px!important;
    line-height:1!important;
    text-align:right!important;
    opacity:.45!important;
  }
  .admin-mobile-page .mobile-menu-links a.active .menu-chevron{opacity:.9!important}
  .admin-mobile-page .mobile-menu-logout{
    flex:0 0 auto;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    width:100%!important;
    min-height:50px!important;
    box-sizing:border-box!important;
    margin:4px 0 0!important;
    border-radius:13px!important;
    background:#a52b20!important;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:800!important;
    box-shadow:0 6px 16px rgba(165,43,32,.18)!important;
  }

  /* Hamburger tetap presisi */
  .admin-mobile-page .mobile-menu-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:4px!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    padding:9px!important;
    border:0!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
  }
  .admin-mobile-page .mobile-menu-toggle span{
    display:block!important;
    width:22px!important;
    height:2px!important;
    border-radius:3px!important;
    background:#fff!important;
  }

  /* Konten tidak tertutup header */
  .admin-mobile-page .content{padding-top:16px!important;padding-bottom:28px!important}
}

@media (max-width:520px){
  .admin-mobile-page .topbar{min-height:64px!important;height:64px!important;padding:7px 10px!important}
  .admin-mobile-page .content{padding-top:12px!important}
  .admin-mobile-page .mobile-menu-drawer{width:min(330px,90vw)!important;padding:18px 13px 15px!important}
}

/* =========================================================
   UPDATE 11 - LANDING MOBILE FINAL LAYOUT
   Berita & Kegiatan harus berada di bawah tombol Login pada HP.
   ========================================================= */
@media (max-width:1100px){
  body.landing{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:100dvh!important;
    height:auto!important;
    padding:28px 14px 34px!important;
    gap:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    box-sizing:border-box!important;
  }

  body.landing .landing-box{
    order:1!important;
    flex:0 0 auto!important;
    width:min(560px,100%)!important;
    max-width:560px!important;
    margin:0 auto 18px!important;
    padding:22px 18px 20px!important;
    box-sizing:border-box!important;
    border-radius:22px!important;
  }

  body.landing .landing-box .logo{
    width:118px!important;
    max-width:118px!important;
    height:118px!important;
    max-height:118px!important;
    margin:0 auto 12px!important;
  }

  body.landing .landing-box h1{
    font-size:clamp(30px,7.5vw,40px)!important;
    line-height:1.08!important;
    margin:5px auto 10px!important;
  }

  body.landing .landing-box>p{
    max-width:440px!important;
    margin:0 auto 17px!important;
    font-size:14px!important;
    line-height:1.5!important;
  }

  body.landing .landing-box>.btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:150px!important;
    max-width:none!important;
    min-height:48px!important;
    padding:12px 26px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }

  /* Paksa berita berada setelah landing-box / Login */
  body.landing .landing-news{
    order:2!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:min(560px,100%)!important;
    max-width:560px!important;
    margin:0 auto!important;
    padding:0!important;
    color:#fff!important;
    box-sizing:border-box!important;
  }

  body.landing .landing-news h2{
    display:block!important;
    width:100%!important;
    margin:0 0 12px!important;
    padding:0 4px!important;
    text-align:left!important;
    font-size:20px!important;
    line-height:1.25!important;
    color:#fff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.28)!important;
  }

  body.landing .landing-news-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
  }

  body.landing .landing-news-item{
    width:100%!important;
    box-sizing:border-box!important;
    padding:12px!important;
    border-radius:16px!important;
    background:rgba(255,253,249,.97)!important;
    color:#3e2a1f!important;
  }

  body.landing .landing-news-item .news-thumb{
    display:block!important;
    width:100%!important;
    height:150px!important;
    object-fit:cover!important;
    margin-bottom:10px!important;
    border-radius:10px!important;
  }

  body.landing .landing-news-item h3{
    font-size:15px!important;
    line-height:1.35!important;
    margin:7px 0 5px!important;
  }

  body.landing .landing-news-item p{
    font-size:12px!important;
    line-height:1.5!important;
    margin:7px 0 0!important;
  }

  /* Popup tetap di atas seluruh landing page */
  body.landing .modal{
    position:fixed!important;
    inset:0!important;
    z-index:9999!important;
  }
}

@media (max-width:520px){
  body.landing{
    padding:18px 10px 28px!important;
  }

  body.landing .landing-box{
    padding:18px 14px 17px!important;
    margin-bottom:16px!important;
    border-radius:19px!important;
  }

  body.landing .landing-box .logo{
    width:105px!important;
    height:105px!important;
    max-width:105px!important;
    max-height:105px!important;
    margin-bottom:10px!important;
  }

  body.landing .landing-box h1{
    font-size:32px!important;
  }

  body.landing .landing-box>p{
    font-size:13px!important;
    line-height:1.45!important;
    margin-bottom:14px!important;
  }

  body.landing .landing-box>.btn{
    min-width:132px!important;
    min-height:46px!important;
    padding:10px 24px!important;
    font-size:15px!important;
  }

  body.landing .landing-news h2{
    font-size:18px!important;
    margin-bottom:10px!important;
  }

  body.landing .landing-news-item{
    padding:10px!important;
    border-radius:14px!important;
  }

  body.landing .landing-news-item .news-thumb{
    height:135px!important;
  }
}


/* =========================================================
   UPDATE 12 - LOGIN + DETAIL BERITA
   ========================================================= */
.news-link-card{display:block;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;cursor:pointer}
.news-link-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(62,42,31,.14);border-color:#c9a77b}
.news-link-card:focus-visible{outline:3px solid #c89b58;outline-offset:2px}
.news-read-more{display:block;margin-top:10px;color:#79502f;font-size:12px;font-weight:800}
.detail-page{max-width:980px;margin:0 auto;padding:30px 18px 50px;min-height:100vh;background:#f8efdf}
.detail-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;color:#5a351f;text-decoration:none;font-weight:800}
.news-detail-card{padding:0!important;overflow:hidden;border-radius:20px}
.news-detail-cover{width:100%;max-height:480px;background:#eadfce;overflow:hidden}
.news-detail-cover img{display:block;width:100%;max-height:480px;object-fit:cover}
.news-detail-body{padding:28px 30px 30px}
.detail-meta-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.news-detail-body h1{font-size:clamp(26px,4vw,40px);line-height:1.18;color:#4b2d1d;margin:8px 0 12px}
.detail-location{display:inline-flex;padding:8px 12px;border-radius:10px;background:#f4eadb;color:#6d523c;font-size:13px;margin-bottom:18px}
.news-detail-content{font-size:16px;line-height:1.85;color:#4c4037;white-space:normal}
.detail-posted{margin-top:26px;padding-top:15px;border-top:1px solid #eadfce;color:#8a7766;font-size:12px}
.detail-not-found{max-width:700px;margin:50px auto;text-align:center}

.login-page-v12{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#3d2315,#7b4d2e 52%,#b18557);background-image:linear-gradient(135deg,rgba(44,24,14,.92),rgba(121,80,47,.88)),url('../img/background-pramuka.png');background-size:cover;background-position:center;overflow:auto}
.login-shell{width:min(920px,100%);display:grid;grid-template-columns:1.02fr .98fr;background:#fffdf9;border-radius:28px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.25)}
.login-brand-panel{position:relative;padding:48px 42px;color:#fff;background:linear-gradient(145deg,#5a351f,#8b5e39);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.login-brand-panel:before{content:'';position:absolute;inset:18px;border:1px solid rgba(255,255,255,.15);border-radius:20px;pointer-events:none}
.login-brand-badge{width:120px;height:120px;border-radius:28px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(0,0,0,.2);margin-bottom:22px}
.login-brand-badge img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.2))}
.login-brand-kicker{font-size:11px;letter-spacing:2px;font-weight:900;opacity:.86;margin-bottom:12px}
.login-brand-panel h1{font-size:clamp(34px,5vw,52px);line-height:1.02;margin:0 0 15px;letter-spacing:-1px}
.login-brand-panel h1 span{color:#f1d18d}
.login-brand-panel p{max-width:390px;margin:0;color:#f8eee4;line-height:1.65;font-size:14px}
.login-brand-line{display:flex;align-items:center;gap:12px;margin-top:24px;width:min(240px,80%)}
.login-brand-line span{height:1px;background:rgba(255,255,255,.35);flex:1}.login-brand-line b{color:#f1d18d}
.login-form-panel{padding:46px 44px;display:flex;flex-direction:column;justify-content:center}
.login-form-head{display:flex;align-items:center;gap:13px;margin-bottom:25px}.login-form-head small{display:block;color:#9a8068;font-weight:900;letter-spacing:1.6px;font-size:10px;margin-bottom:4px}.login-form-head h2{margin:0;color:#4b2d1d;font-size:28px}.login-form-icon{width:48px;height:48px;border-radius:14px;background:#f0e2cf;display:flex;align-items:center;justify-content:center;font-size:22px}
.login-error{display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border-radius:12px;background:#fff0ee;color:#8f2d24;border:1px solid #efc4be;font-size:13px;line-height:1.45;margin-bottom:16px}.login-error>span{width:20px;height:20px;border-radius:50%;background:#c44b3e;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 20px}
.login-form{display:grid;gap:17px}.login-field label{display:block;font-size:12px;font-weight:900;color:#5a4637;margin-bottom:7px}.login-input-wrap{display:flex;align-items:center;gap:9px;border:1px solid #decfbd;background:#fff;border-radius:13px;padding:0 12px;min-height:50px;transition:border-color .18s,box-shadow .18s}.login-input-wrap:focus-within{border-color:#9a6b42;box-shadow:0 0 0 4px rgba(154,107,66,.11)}.login-input-wrap>span{font-size:17px}.login-input-wrap input{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:10px 0!important;margin:0!important;min-width:0;flex:1;color:#3e2a1f;font-size:14px}.password-toggle{border:0;background:transparent;cursor:pointer;font-size:16px;padding:4px}.login-submit{width:100%;border:0;border-radius:13px;min-height:52px;padding:12px 16px;background:linear-gradient(135deg,#79502f,#5a351f);color:#fff;font-weight:900;font-size:15px;display:flex;align-items:center;justify-content:center;gap:14px;cursor:pointer;box-shadow:0 10px 20px rgba(90,53,31,.2);transition:transform .18s,box-shadow .18s}.login-submit:hover{transform:translateY(-1px);box-shadow:0 13px 25px rgba(90,53,31,.25)}.login-submit b{font-size:20px}.login-back{display:block;text-align:center;margin-top:19px;color:#79502f;text-decoration:none;font-size:13px;font-weight:800}.login-back:hover{text-decoration:underline}.login-footer-note{text-align:center;color:#a08e7c;font-size:10px;margin-top:22px;padding-top:15px;border-top:1px solid #eee4d8}
@media(max-width:760px){
 .detail-page{padding:18px 10px 35px}.news-detail-body{padding:20px 16px 22px}.news-detail-cover,.news-detail-cover img{max-height:270px}.news-detail-content{font-size:14px;line-height:1.75}.news-detail-body h1{font-size:25px}.detail-meta-top{align-items:flex-start;flex-direction:column;gap:7px}
 .login-page-v12{padding:12px;align-items:center}.login-shell{grid-template-columns:1fr;border-radius:22px;max-width:520px}.login-brand-panel{padding:27px 22px 24px}.login-brand-panel:before{inset:10px;border-radius:15px}.login-brand-badge{width:84px;height:84px;border-radius:21px;margin-bottom:13px}.login-brand-badge img{width:62px;height:62px}.login-brand-kicker{font-size:8px;letter-spacing:1.3px;margin-bottom:7px}.login-brand-panel h1{font-size:31px;margin-bottom:9px}.login-brand-panel p{font-size:12px;line-height:1.5;max-width:350px}.login-brand-line{margin-top:14px}.login-form-panel{padding:25px 20px 22px}.login-form-head{margin-bottom:18px}.login-form-head h2{font-size:23px}.login-form-icon{width:42px;height:42px}.login-input-wrap{min-height:48px}.login-submit{min-height:50px}.login-footer-note{margin-top:17px;padding-top:12px}
}
@media(max-width:390px){.login-page-v12{padding:8px}.login-brand-panel{padding:22px 16px 19px}.login-brand-badge{width:72px;height:72px}.login-brand-badge img{width:53px;height:53px}.login-brand-panel h1{font-size:28px}.login-form-panel{padding:21px 15px 18px}.login-form-head h2{font-size:21px}}

/* =========================================================
   UPDATE 13 - LANDING PAGE + EDIT BERITA
   ========================================================= */
body.landing-v13{margin:0;min-height:100dvh;background:#f7efe3;color:#3e2a1f;font-family:inherit;overflow-x:hidden}
.landing-page-shell{min-height:100dvh;background:linear-gradient(180deg,#4f2d1b 0,#6f472c 42%,#f7efe3 42%,#f7efe3 100%)}
.landing-hero{position:relative;min-height:560px;display:flex;align-items:center;justify-content:center;padding:52px 18px 78px;overflow:hidden;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.12),transparent 34%),linear-gradient(135deg,#4a2919,#7d5130 58%,#a57a50)}
.landing-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(43,24,13,.12),rgba(43,24,13,.2)),url('../img/background-pramuka.png');background-size:cover;background-position:center;opacity:.32;pointer-events:none}
.landing-hero-glow{position:absolute;width:560px;height:560px;border-radius:50%;background:rgba(255,221,160,.10);filter:blur(10px);top:-300px;left:50%;transform:translateX(-50%)}
.landing-hero-content{position:relative;z-index:1;width:min(760px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;padding:8px 16px}
.landing-logo-wrap{width:170px;height:170px;border-radius:50%;padding:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);box-shadow:0 18px 40px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.landing-logo{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(0,0,0,.2))}
.landing-kicker{font-size:11px;letter-spacing:2.3px;font-weight:900;color:#f8dfb2;margin-bottom:12px}
.landing-hero h1{margin:0 0 12px;font-size:clamp(38px,7vw,64px);line-height:1.02;letter-spacing:-1.5px;text-shadow:0 5px 20px rgba(0,0,0,.25)}
.landing-hero h1 span{color:#f3d18e}
.landing-hero-content>p{max-width:620px;margin:0 auto 24px;color:#fff8ef;font-size:15px;line-height:1.65}
.landing-login-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:165px;min-height:52px;padding:12px 23px;border-radius:14px;text-decoration:none;border:1px solid rgba(255,255,255,.24);background:linear-gradient(135deg,#8a5a34,#5a351f);color:#fff;font-weight:900;box-shadow:0 12px 25px rgba(45,22,10,.28);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.landing-login-btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(45,22,10,.34);filter:brightness(1.06)}
.landing-login-btn b{font-size:20px;line-height:1}
.landing-latest{position:relative;z-index:2;width:min(1120px,calc(100% - 32px));margin:-46px auto 0;padding:28px 28px 38px;background:#fffdf9;border:1px solid #eadfce;border-radius:24px 24px 0 0;box-shadow:0 -8px 35px rgba(62,42,31,.12)}
.landing-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.landing-section-head>div:first-child>span{font-size:10px;font-weight:900;letter-spacing:2px;color:#a17a51}.landing-section-head h2{margin:4px 0 0;color:#4b2d1d;font-size:28px}.landing-section-line{height:2px;flex:1;background:linear-gradient(90deg,#d6b27f,transparent);margin-bottom:7px;max-width:420px}
.landing-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.landing-news-card{display:block;min-width:0;color:inherit;text-decoration:none;background:#fff;border:1px solid #eadfce;border-radius:17px;overflow:hidden;box-shadow:0 7px 22px rgba(62,42,31,.09);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.landing-news-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(62,42,31,.14);border-color:#caa474}
.landing-news-image{position:relative;height:190px;background:#eadfce;overflow:hidden}.landing-news-image img{display:block;width:100%;height:100%;object-fit:cover}.landing-news-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:56px;color:#8a5c36;background:linear-gradient(135deg,#f0e3d1,#dcc3a4)}
.landing-news-badge{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(75,45,29,.9);color:#fff;font-size:10px;font-weight:900}
.landing-news-title{padding:14px 15px 17px;font-weight:900;font-size:16px;line-height:1.35;color:#4b2d1d;min-height:64px}
.landing-empty{grid-column:1/-1;padding:28px;text-align:center;border:1px dashed #d8c4a9;border-radius:14px;color:#8a7766}
.landing-welcome-modal{position:relative;z-index:2;width:min(520px,calc(100% - 28px));padding:28px 28px 25px;text-align:center;border-radius:24px;box-shadow:0 25px 70px rgba(0,0,0,.38)}
.welcome-kicker{font-size:10px;letter-spacing:2px;font-weight:900;color:#a17a51;margin-top:18px}.landing-welcome-modal h2{margin:7px 0 5px;color:#4b2d1d}.landing-welcome-modal h3{margin:0 0 14px;color:#79502f}.landing-welcome-modal p{font-size:14px;line-height:1.7;color:#5d4a3a;margin:0}.welcome-action{margin-top:20px}.welcome-btn{border:0;cursor:pointer}
.edit-news-preview{display:flex;align-items:center;gap:14px;margin:8px 0 12px;padding:12px;border:1px solid #eadfce;background:#fffaf3;border-radius:14px}.edit-news-preview span{font-size:12px;font-weight:800;color:#806f61}.edit-news-preview img{width:150px;height:95px;object-fit:cover;border-radius:10px;border:1px solid #e2d1bc}
@media(max-width:760px){
 body.landing-v13{background:#f7efe3}
 .landing-page-shell{background:linear-gradient(180deg,#5b351f 0,#805436 34%,#f7efe3 34%,#f7efe3 100%)}
 .landing-hero{min-height:auto;padding:34px 14px 88px}
 .landing-logo-wrap{width:118px;height:118px;padding:6px;margin-bottom:15px}
 .landing-kicker{font-size:8px;letter-spacing:1.5px;margin-bottom:8px}
 .landing-hero h1{font-size:36px;letter-spacing:-.7px;margin-bottom:9px}
 .landing-hero-content>p{font-size:13px;line-height:1.55;margin-bottom:19px;max-width:430px}
 .landing-login-btn{min-width:150px;min-height:48px;padding:10px 19px;border-radius:12px;gap:14px}
 .landing-latest{width:calc(100% - 20px);margin:-48px auto 0;padding:21px 14px 28px;border-radius:20px 20px 0 0}
 .landing-section-head{display:block;margin-bottom:13px}.landing-section-head h2{font-size:22px}.landing-section-line{display:none}
 .landing-latest-grid{grid-template-columns:1fr;gap:12px}
 .landing-news-card{display:grid;grid-template-columns:108px 1fr;min-height:108px;border-radius:14px}
 .landing-news-image{height:100%;min-height:108px}.landing-news-title{display:flex;align-items:center;padding:12px;font-size:14px;min-height:0}
 .landing-news-badge{left:7px;bottom:7px;font-size:8px;padding:4px 6px}
 .landing-welcome-modal{width:calc(100% - 24px);padding:22px 17px 20px;border-radius:20px}
 .landing-welcome-modal h2{font-size:20px}.landing-welcome-modal h3{font-size:15px}.landing-welcome-modal p{font-size:13px;line-height:1.6}.welcome-kicker{margin-top:13px}
 .edit-news-preview{align-items:flex-start;flex-direction:column}.edit-news-preview img{width:100%;height:150px}
}
@media(max-width:390px){.landing-hero{padding-top:27px}.landing-logo-wrap{width:100px;height:100px}.landing-hero h1{font-size:32px}.landing-hero-content>p{font-size:12px}.landing-latest{padding-left:11px;padding-right:11px}.landing-news-card{grid-template-columns:96px 1fr}.landing-news-image{min-height:96px}.landing-news-title{font-size:13px}}
