:root { --dps-navy: #123548; --dps-teal: #087f72; --dps-gold: #f0b44d; --dps-ink: #4b5f69; --dps-pale: #f2f8f7; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--dps-ink); background: #fff; font-family: "Roboto", sans-serif; }
a { text-decoration: none; }

.gallery-header { position: sticky; top: 0; z-index: 100; padding: 10px 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,53,72,.08); backdrop-filter: blur(10px); }
.gallery-brand, .admin-brand { display: flex; align-items: center; gap: 10px; color: var(--dps-navy); }
.gallery-brand img, .admin-brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
.gallery-brand span { display: flex; flex-direction: column; font-family: "Raleway", sans-serif; line-height: 1.05; }
.gallery-brand strong { font-size: 17px; }
.gallery-brand small { margin-top: 5px; color: var(--dps-teal); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.gallery-header nav { display: flex; gap: 34px; }
.gallery-header nav a { color: var(--dps-navy); font: 500 15px "Poppins", sans-serif; }
.gallery-header nav a:hover, .gallery-header nav .active { color: var(--dps-teal); }
.gallery-menu { display: none; border: 0; background: transparent; color: var(--dps-navy); font-size: 28px; }

.gallery-hero { position: relative; overflow: hidden; padding: 105px 0 115px; color: #fff; background: linear-gradient(120deg, rgba(7,45,58,.96), rgba(8,127,114,.88)), url('../img/hero-carousel/hero-carousel-2.png') center/cover; }
.gallery-hero:after { content: ""; position: absolute; right: -100px; bottom: -170px; width: 430px; height: 430px; border: 80px solid rgba(255,255,255,.05); border-radius: 50%; }
.gallery-hero span, .gallery-kicker, .admin-kicker { display: inline-block; color: var(--dps-gold); font: 700 12px "Poppins", sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.gallery-hero h1 { margin: 14px 0 20px; color: #fff; font: 800 clamp(45px, 6vw, 76px)/1.02 "Raleway", sans-serif; letter-spacing: -2.5px; }
.gallery-hero p { max-width: 630px; margin: 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.7; }
.gallery-content { padding: 95px 0 110px; background: var(--dps-pale); }
.gallery-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 42px; }
.gallery-toolbar h2 { margin: 8px 0 0; color: var(--dps-navy); font: 800 clamp(34px,4vw,48px) "Raleway", sans-serif; }
.gallery-count { padding: 9px 15px; color: var(--dps-teal); background: #dcefeb; border-radius: 50px; font-weight: 700; }
.public-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.public-media-card { overflow: hidden; background: #fff; border: 1px solid #dceae7; border-radius: 16px; box-shadow: 0 8px 30px rgba(18,53,72,.06); transition: transform .35s, box-shadow .35s; }
.public-media-card:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(18,53,72,.13); }
.public-media { position: relative; height: 280px; overflow: hidden; background: #102f3e; }
.public-media img, .public-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.public-media a { display: block; width: 100%; height: 100%; }
.public-media img { transition: transform .6s; }
.public-media-card:hover img { transform: scale(1.045); }
.media-badge { position: absolute; top: 15px; left: 15px; z-index: 2; padding: 7px 11px; color: #fff; background: rgba(13,48,64,.83); border-radius: 30px; font-size: 12px; backdrop-filter: blur(5px); }
.view-media { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(8,127,114,.35); font-size: 28px; opacity: 0; transition: opacity .3s; }
.public-media a:hover .view-media { opacity: 1; }
.public-media-copy { padding: 24px; }
.public-media-copy > span { color: var(--dps-teal); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.public-media-copy h3 { margin: 8px 0 9px; color: var(--dps-navy); font: 700 21px/1.3 "Raleway", sans-serif; }
.public-media-copy p { margin: 0; line-height: 1.65; }
.public-empty { padding: 80px 25px; background: #fff; border: 1px solid #dceae7; border-radius: 18px; text-align: center; }
.public-empty i { display: inline-grid; place-items: center; width: 75px; height: 75px; color: var(--dps-teal); background: #e2f2ef; border-radius: 50%; font-size: 32px; }
.public-empty h2 { margin: 22px 0 8px; color: var(--dps-navy); font-family: "Raleway", sans-serif; }
.public-empty a { display: inline-block; margin-top: 16px; padding: 11px 20px; color: #fff; background: var(--dps-teal); border-radius: 6px; }
.gallery-footer { padding: 28px 0; color: rgba(255,255,255,.68); background: #092b39; }
.gallery-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.gallery-footer a { color: rgba(255,255,255,.68); }

.notice-detail-main { min-height: calc(100vh - 165px); padding: 85px 0 100px; background: linear-gradient(145deg, #edf7f5, #fffaf0); }
.notice-detail-card { position: relative; max-width: 940px; margin: 0 auto; padding: 55px 65px 65px; overflow: hidden; background: #fff; border: 1px solid #e1e9e7; border-top: 6px solid var(--dps-gold); border-radius: 18px; box-shadow: 0 24px 70px rgba(18,53,72,.12); }
.notice-detail-card:after { content: ""; position: absolute; right: -80px; top: -95px; width: 240px; height: 240px; border: 50px solid rgba(240,180,77,.09); border-radius: 50%; }
.notice-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 35px; color: var(--dps-teal); font-size: 13px; font-weight: 700; }
.notice-detail-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 20px; color: #123548; background: var(--dps-gold); border-radius: 14px; font-size: 27px; }
.notice-detail-kicker { color: #98701f; font: 700 12px "Poppins", sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.notice-detail-card h1 { max-width: 750px; margin: 10px 0 13px; color: var(--dps-navy); font: 800 clamp(34px,5vw,55px)/1.08 "Raleway", sans-serif; letter-spacing: -1.5px; }
.notice-detail-card time { display: block; color: var(--dps-teal); font-size: 13px; font-weight: 700; }
.notice-detail-body { margin-top: 35px; padding-top: 30px; color: #4d6069; border-top: 1px solid #e2ebe9; font-size: 17px; line-height: 1.85; white-space: normal; }
.notice-not-found { max-width: 650px; margin: 0 auto; padding: 70px 30px; background: #fff; border-radius: 18px; text-align: center; }
.notice-not-found > i { color: var(--dps-gold); font-size: 55px; }
.notice-not-found h1 { margin-top: 20px; color: var(--dps-navy); font-family: "Raleway", sans-serif; }
.notice-not-found a { display: inline-block; margin-top: 15px; padding: 11px 20px; color: #fff; background: var(--dps-teal); border-radius: 7px; }

.conversation-main { min-height: calc(100vh - 160px); padding: 85px 0 100px; background: linear-gradient(125deg, #0e3747 0 40%, #edf7f5 40% 100%); }
.conversation-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 75px; }
.conversation-intro { color: #fff; }
.conversation-intro h1 { margin: 12px 0 20px; color: #fff; font: 800 clamp(45px,6vw,72px)/.98 "Raleway", sans-serif; letter-spacing: -2.5px; }
.conversation-intro > p { max-width: 450px; margin: 0 0 38px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.conversation-contact { display: flex; align-items: flex-start; gap: 13px; margin: 20px 0; }
.conversation-contact > i { width: 38px; height: 38px; display: grid; place-items: center; color: var(--dps-gold); background: rgba(255,255,255,.1); border-radius: 8px; }
.conversation-contact span { display: block; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.conversation-contact a, .conversation-contact p { display: block; max-width: 330px; margin: 3px 0 0; color: #fff; font-size: 13px; line-height: 1.5; word-break: break-word; }
.conversation-form-card { padding: 42px; background: #fff; border: 1px solid #dceae7; border-radius: 20px; box-shadow: 0 25px 70px rgba(5,35,47,.18); }
.conversation-form-card h2 { margin: 7px 0; color: var(--dps-navy); font: 800 34px "Raleway", sans-serif; }
.conversation-form-card > p { margin-bottom: 20px; color: #7b8b91; }
.form-step { color: var(--dps-teal); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.conversation-form { display: flex; flex-direction: column; }
.conversation-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.conversation-form label { margin: 12px 0 0; color: var(--dps-navy); font-size: 13px; font-weight: 700; }
.conversation-form label > span { color: #bd3341; }
.conversation-form input, .conversation-form select, .conversation-form textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; color: #435860; background: #fbfdfd; border: 1px solid #cbdcd9; border-radius: 7px; outline: none; font: 400 14px "Roboto", sans-serif; }
.conversation-form input:focus, .conversation-form select:focus, .conversation-form textarea:focus { border-color: var(--dps-teal); box-shadow: 0 0 0 3px rgba(8,127,114,.1); }
.conversation-form button { align-self: flex-start; margin-top: 22px; padding: 13px 21px; color: #123548; background: var(--dps-gold); border: 0; border-radius: 7px; font-weight: 700; }
.conversation-captcha { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 15px; background: #eef7f5; border: 1px solid #cee2de; border-radius: 9px; }
.captcha-icon { flex: 0 0 43px; height: 43px; display: grid; place-items: center; color: #fff; background: var(--dps-teal); border-radius: 9px; font-size: 20px; }
.conversation-captcha label { display: grid; grid-template-columns: auto auto 110px; align-items: center; gap: 7px; width: 100%; margin: 0; }
.conversation-captcha label > span { color: var(--dps-teal); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.conversation-captcha input { margin: 0; padding: 9px 10px; }
.honeypot { position: absolute; left: -9999px; }
.conversation-success { padding: 55px 20px; text-align: center; }
.conversation-success > i { color: var(--dps-teal); font-size: 65px; }
.conversation-success h2 { margin-top: 18px; }
.conversation-success p { max-width: 470px; margin: 10px auto 22px; line-height: 1.7; }
.conversation-success a { display: inline-block; padding: 11px 19px; color: #fff; background: var(--dps-teal); border-radius: 7px; font-weight: 700; }
.conversation-inbox { display: flex; flex-direction: column; gap: 20px; }
.conversation-message { display: flex; gap: 18px; height: auto; }
.conversation-avatar { flex: 0 0 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--dps-teal); border-radius: 50%; font: 700 20px "Raleway", sans-serif; }
.conversation-message-content { min-width: 0; flex: 1; }
.conversation-message-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.conversation-message-head h2 { margin: 0; font-size: 20px; }
.conversation-message-head time { color: #83949a; font-size: 11px; }
.conversation-message-head > span { padding: 7px 10px; color: var(--dps-teal); background: #eaf5f3; border-radius: 30px; font-size: 11px; font-weight: 700; }
.conversation-details { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 15px 0; }
.conversation-details a, .conversation-details span { color: #61767e; font-size: 12px; }
.conversation-message-content > p { padding: 18px; color: #50636a; background: #f6faf9; border-radius: 9px; line-height: 1.7; }
.conversation-message-actions { display: flex; align-items: center; gap: 10px; }
.conversation-message-actions form { margin: 0; }
.conversation-message-actions a, .conversation-message-actions button { padding: 9px 13px; border: 0; border-radius: 6px; font-size: 12px; font-weight: 700; }
.conversation-message-actions a { color: #fff; background: var(--dps-teal); }
.conversation-message-actions button { color: #bd3341; background: #fff0f1; }
.mail-settings-wrap { max-width: 940px; }
.smtp-status { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; }
.smtp-status.ready { color: #087f72; background: #e4f4f1; }
.smtp-status.pending { color: #9b6810; background: #fff2d5; }
.smtp-note { display: flex; gap: 14px; margin-bottom: 20px; padding: 18px; color: #51656d; background: #fff7e3; border: 1px solid #f2dfac; border-radius: 10px; }
.smtp-note > i { color: #a7791e; font-size: 25px; }
.smtp-note strong { color: #123548; }
.smtp-note p { margin: 5px 0 0; line-height: 1.55; }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.admin-form select { width: 100%; padding: 13px 14px; border: 1px solid #cadbd8; border-radius: 7px; background: #fff; }
.admin-form button:disabled { cursor: not-allowed; opacity: .5; }
.reply-wrap { max-width: 1100px; }
.original-message > span { color: var(--dps-teal); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.original-message h2 { margin: 8px 0 2px; }
.original-message small { color: #83949a; }
.original-message p { margin: 22px 0 0; padding: 17px; background: #f3f8f7; border-radius: 8px; line-height: 1.7; }

/* Gallery admin dashboard */
.admin-gallery-page { background: #f0f7f6; }
.gallery-admin-header { position: sticky; top: 0; z-index: 100; padding-top: 12px; padding-bottom: 12px; box-shadow: 0 4px 20px rgba(18,53,72,.06); }
.gallery-admin-header nav > a, .gallery-admin-header nav button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 7px; transition: background .25s, color .25s; }
.gallery-admin-header nav > a:hover { color: var(--dps-teal); background: #e9f5f3; }
.gallery-admin-header nav button:hover { color: #bd3341; background: #fff0f1; }
.admin-gallery-page .admin-dashboard { padding-top: 38px; }
.admin-welcome { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 25px; padding: 34px 38px; overflow: hidden; color: #fff; background: linear-gradient(125deg, #087f72, #123548); border-radius: 18px; box-shadow: 0 18px 45px rgba(18,53,72,.16); }
.admin-welcome:after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border: 45px solid rgba(255,255,255,.06); border-radius: 50%; }
.admin-welcome .admin-kicker { color: #f0b44d; }
.admin-welcome h1 { margin: 6px 0 6px; color: #fff; font: 800 clamp(31px,4vw,43px) "Raleway", sans-serif; }
.admin-welcome p { margin: 0; color: rgba(255,255,255,.72); }
.admin-welcome > a { position: relative; z-index: 1; flex: 0 0 auto; padding: 12px 17px; color: #123548; background: #f0b44d; border-radius: 7px; font-size: 13px; font-weight: 700; }
.admin-welcome > a:hover { background: #fff; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.admin-stat { position: relative; display: flex; align-items: center; gap: 14px; min-height: 105px; padding: 20px; color: #123548; background: #fff; border: 1px solid #dceae7; border-radius: 14px; box-shadow: 0 8px 25px rgba(18,53,72,.055); transition: transform .25s, box-shadow .25s; }
.admin-stat:hover { color: #123548; transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18,53,72,.11); }
.admin-stat > i:first-child { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; font-size: 22px; }
.admin-stat strong, .admin-stat span { display: block; }
.admin-stat strong { font: 800 28px "Raleway", sans-serif; line-height: 1; }
.admin-stat span { margin-top: 5px; color: #768991; font-size: 11px; }
.stat-teal > i:first-child { color: #087f72; background: #e5f4f1; }
.stat-blue > i:first-child { color: #2468a6; background: #eaf2fb; }
.stat-gold > i:first-child { color: #9c6a13; background: #fff2d7; }
.stat-purple > i:first-child { color: #7455a6; background: #f0eafb; }
.stat-arrow { position: absolute; right: 15px; color: #9aabb1; font-size: 12px; }
.dashboard-panel { overflow: hidden; padding: 0; border: 0; box-shadow: 0 14px 40px rgba(18,53,72,.08); }
.dashboard-panel > h2 { margin: 0; padding: 22px 28px; background: #fff; border-bottom: 1px solid #e2ecea; font-size: 19px; }
.dashboard-panel > h2 i { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-right: 8px; color: #087f72; background: #e8f5f2; border-radius: 8px; }
.upload-panel .admin-form { padding: 8px 28px 30px; }
.upload-panel .file-drop { padding: 27px 20px; background: linear-gradient(145deg, #f3faf8, #fff); border-color: #a9d2ca; transition: border-color .25s, background .25s; }
.upload-panel .file-drop:hover { background: #ebf7f4; border-color: #087f72; }
.upload-panel .admin-form button { padding: 14px 20px; box-shadow: 0 8px 18px rgba(8,127,114,.18); }
.media-panel .admin-media-list { padding: 8px 28px 22px; gap: 0; }
.media-panel .admin-media-list article { margin: 0; padding: 16px 0; transition: background .2s; }
.media-panel .admin-thumb { flex-basis: 102px; height: 72px; box-shadow: 0 5px 12px rgba(18,53,72,.14); }
.media-panel .admin-media-details strong { font-size: 15px; }
.media-panel .admin-media-actions a, .media-panel .admin-media-actions button { min-height: 38px; padding: 8px 11px; }
.profile-wrap { max-width: 1120px; }
.profile-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.profile-avatar { flex: 0 0 78px; height: 78px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #087f72, #123548); border: 5px solid #fff; border-radius: 50%; box-shadow: 0 10px 25px rgba(18,53,72,.18); font: 800 31px "Raleway", sans-serif; }
.profile-heading h1 { margin: 4px 0 4px; color: #123548; font: 800 38px "Raleway", sans-serif; }
.profile-heading p { margin: 0; }
.profile-panel { overflow: hidden; padding: 0; }
.profile-panel-title { display: flex; align-items: center; gap: 13px; padding: 23px 27px; background: linear-gradient(135deg, #f8fbfb, #edf7f5); border-bottom: 1px solid #dfeae8; }
.profile-panel-title > i { flex: 0 0 43px; height: 43px; display: grid; place-items: center; color: #087f72; background: #dff1ed; border-radius: 10px; font-size: 20px; }
.profile-panel-title h2 { margin: 0 0 3px; font-size: 19px; }
.profile-panel-title p { margin: 0; color: #7b8d94; font-size: 12px; }
.profile-panel .admin-form { padding: 8px 27px 28px; }
.profile-panel .admin-form small { margin-top: 6px; color: #819198; font-size: 11px; }
.password-field { position: relative; }
.password-field input { padding-right: 47px !important; }
.password-field button { position: absolute; right: 5px; top: 5px; width: 38px; height: calc(100% - 10px); margin: 0; padding: 0; color: #71868e; background: transparent; box-shadow: none; }
.current-password-box { margin-top: 22px; padding: 0 17px 17px; background: #fff8e8; border: 1px solid #f1dda7; border-radius: 9px; }
.profile-save { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 20px 25px; background: #fff; border: 1px solid #dceae7; border-radius: 13px; box-shadow: 0 10px 30px rgba(18,53,72,.06); }
.profile-save p { margin: 0; color: #6f828a; font-size: 13px; }
.profile-save button { padding: 13px 20px; color: #fff; background: #087f72; border: 0; border-radius: 7px; font-weight: 700; }

.admin-body { min-height: 100vh; background: linear-gradient(145deg, #eaf5f3, #f8fbfb); }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; }
.admin-login-card { width: min(100%, 450px); padding: 42px; background: #fff; border: 1px solid #dceae7; border-radius: 20px; box-shadow: 0 25px 70px rgba(18,53,72,.14); }
.admin-brand { margin-bottom: 35px; font: 700 15px "Raleway", sans-serif; }
.admin-login-card h1, .dashboard-title h1 { margin: 8px 0; color: var(--dps-navy); font: 800 38px "Raleway", sans-serif; }
.admin-login-card > p { margin-bottom: 25px; }
.admin-form { display: flex; flex-direction: column; }
.admin-form label { margin: 15px 0 7px; color: var(--dps-navy); font-weight: 700; }
.admin-form label span { color: #84959d; font-size: 11px; font-weight: 400; text-transform: uppercase; }
.admin-form input[type=text], .admin-form input[type=password], .admin-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cadbd8; border-radius: 7px; outline: none; }
.admin-form input:focus, .admin-form textarea:focus { border-color: var(--dps-teal); box-shadow: 0 0 0 3px rgba(8,127,114,.1); }
.admin-form button { margin-top: 23px; padding: 13px 20px; color: #fff; background: var(--dps-teal); border: 0; border-radius: 7px; font-weight: 700; }
.back-link { display: inline-block; margin-top: 24px; color: var(--dps-teal); font-size: 14px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 10px max(24px, calc((100vw - 1320px)/2)); background: #fff; border-bottom: 1px solid #dceae7; }
.admin-header .admin-brand { margin: 0; }
.admin-header nav, .admin-header form { display: flex; align-items: center; gap: 20px; margin: 0; }
.admin-header nav a, .admin-header nav button { color: var(--dps-navy); background: none; border: 0; font-weight: 700; }
.admin-dashboard { padding-top: 60px; padding-bottom: 90px; }
.dashboard-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.dashboard-title p { margin: 0; }
.media-total { padding: 18px 24px; background: #fff; border: 1px solid #dceae7; border-radius: 12px; text-align: center; }
.media-total strong { display: block; color: var(--dps-teal); font-size: 29px; }
.media-total span { font-size: 12px; }
.admin-panel { height: 100%; padding: 30px; background: #fff; border: 1px solid #dceae7; border-radius: 16px; box-shadow: 0 10px 35px rgba(18,53,72,.06); }
.admin-panel h2 { margin: 0 0 20px; color: var(--dps-navy); font: 700 21px "Raleway", sans-serif; }
.file-drop { padding: 22px; border: 2px dashed #bdd6d1; border-radius: 10px; background: #f5faf9; text-align: center; }
.file-drop > i { display: block; margin-bottom: 10px; color: var(--dps-teal); font-size: 32px; }
.file-drop input { display: block; width: 100%; font-size: 13px; }
.file-drop small { display: block; margin-top: 10px; color: #7a8e96; }
.admin-empty { padding: 45px 20px; text-align: center; }
.admin-empty > i { color: var(--dps-teal); font-size: 45px; }
.admin-empty h3 { margin: 15px 0 6px; color: var(--dps-navy); }
.admin-media-list { display: flex; flex-direction: column; gap: 14px; }
.admin-media-list article { display: flex; align-items: center; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #e5eeec; }
.admin-thumb { position: relative; flex: 0 0 90px; height: 65px; overflow: hidden; background: #123548; border-radius: 8px; }
.admin-thumb img, .admin-thumb video { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 25px; }
.admin-media-list strong, .admin-media-list span { display: block; }
.admin-media-list strong { color: var(--dps-navy); }
.admin-media-list span { margin-top: 5px; color: #819198; font-size: 12px; }
.admin-media-details { min-width: 0; flex: 1 1 auto; }
.admin-media-details strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-media-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.admin-media-actions form { margin: 0; }
.admin-media-actions a, .admin-media-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 35px; padding: 7px 9px; color: var(--dps-teal); background: #ecf6f4; border: 0; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-media-actions button { color: #bd3341; background: #fff0f1; }
.admin-media-actions a:hover { color: #fff; background: var(--dps-teal); }
.admin-media-actions button:hover { color: #fff; background: #bd3341; }
.edit-dashboard { max-width: 1120px; }
.edit-preview { position: relative; padding: 18px; }
.edit-preview img, .edit-preview video { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #102f3e; border-radius: 11px; }
.edit-preview small { display: block; padding: 15px 5px 0; color: #71858d; }
.preview-label { position: absolute; top: 32px; left: 32px; z-index: 2; padding: 7px 11px; color: #fff; background: rgba(13,48,64,.83); border-radius: 30px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.notice-admin-list { display: flex; flex-direction: column; gap: 18px; }
.notice-admin-list article { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #e5eeec; }
.notice-admin-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; color: #8b6929; background: #fff3d3; border-radius: 9px; }
.notice-admin-copy { min-width: 0; flex: 1; }
.notice-admin-copy strong { display: block; color: var(--dps-navy); font-size: 17px; }
.notice-admin-copy span { display: block; margin-top: 4px; color: var(--dps-teal); font-size: 11px; font-weight: 700; }
.notice-admin-copy p { display: -webkit-box; overflow: hidden; margin: 9px 0 0; color: #697c84; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.notice-admin-actions { display: flex; align-items: center; gap: 6px; }
.notice-admin-actions form { margin: 0; }
.notice-view, .notice-edit, .notice-delete { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 7px; cursor: pointer; }
.notice-view { color: #245f9b; background: #edf5fd; }
.notice-view:hover { color: #fff; background: #245f9b; }
.notice-edit { color: var(--dps-teal); background: #ecf6f4; }
.notice-edit:hover { color: #fff; background: var(--dps-teal); }
.notice-delete { color: #bd3341; background: #fff0f1; }
.notice-delete:hover { color: #fff; background: #bd3341; }
.edit-notice-dashboard { max-width: 820px; }
.notice-edit-meta { margin-bottom: 15px; padding: 12px 14px; color: #6e838b; background: #f2f8f7; border-radius: 8px; font-size: 13px; }

@media (max-width: 991px) {
  .public-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-header nav { display: none; position: absolute; top: 76px; left: 18px; right: 18px; padding: 20px; flex-direction: column; gap: 18px; background: #fff; border-radius: 12px; box-shadow: 0 15px 40px rgba(18,53,72,.15); }
  .gallery-header nav.open { display: flex; }
  .gallery-menu { display: block; }
  .conversation-main { background: linear-gradient(180deg, #0e3747 0 37%, #edf7f5 37% 100%); }
  .conversation-grid { grid-template-columns: 1fr; gap: 50px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-admin-header { align-items: flex-start; gap: 10px; }
  .gallery-admin-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
}
@media (max-width: 600px) {
  .gallery-brand strong { font-size: 14px; }
  .gallery-brand img, .admin-brand img { width: 46px; height: 46px; }
  .gallery-hero { padding: 80px 0; }
  .gallery-content { padding: 70px 0; }
  .gallery-toolbar, .dashboard-title { align-items: flex-start; flex-direction: column; }
  .public-gallery-grid { grid-template-columns: 1fr; }
  .public-media { height: 250px; }
  .admin-login-card, .admin-panel { padding: 25px; }
  .admin-header { padding: 10px 15px; }
  .admin-header .admin-brand span { display: none; }
  .admin-header nav { gap: 8px; }
  .admin-header nav a, .admin-header nav button { font-size: 12px; }
  .admin-media-list article { align-items: flex-start; flex-wrap: wrap; }
  .admin-media-details { width: calc(100% - 110px); }
  .admin-media-actions { width: 100%; margin-left: 105px; }
  .admin-media-actions span { display: none; }
  .notice-detail-main { padding: 45px 0 65px; }
  .notice-detail-card { padding: 35px 24px 42px; }
  .notice-detail-body { font-size: 16px; }
  .conversation-main { padding: 60px 0; }
  .conversation-form-card { padding: 27px 20px; }
  .conversation-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .conversation-captcha label { grid-template-columns: 1fr; }
  .conversation-captcha input { width: 100%; margin-top: 3px; }
  .conversation-message { padding: 22px; }
  .conversation-message-head { flex-direction: column; }
  .settings-grid { grid-template-columns: 1fr; }
  .admin-welcome { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .gallery-admin-header nav a, .gallery-admin-header nav button { padding: 7px; font-size: 0; }
  .gallery-admin-header nav i { font-size: 17px; }
  .dashboard-panel > h2 { padding: 18px 20px; }
  .upload-panel .admin-form, .media-panel .admin-media-list { padding-left: 20px; padding-right: 20px; }
  .profile-heading { align-items: flex-start; }
  .profile-avatar { flex-basis: 60px; height: 60px; font-size: 24px; }
  .profile-heading h1 { font-size: 30px; }
  .profile-save { align-items: stretch; flex-direction: column; }
}
