/* Public interface: readable links, stable cards and clear routes into local life. */
:root {
    --ak-primary: #12677f;
    --ak-primary-rgb: 18, 103, 127;
    --ak-primary-dark: #0b4e63;
    --ak-dark: #173b4d;
    --ak-dark-soft: #254d60;
    --ak-light: #f5f8f7;
    --ak-text: #283f4b;
    --ak-text-light: #526b77;
    --ak-muted: #5e7682;
    --ak-border: #dce6e8;
    --ak-radius: .75rem;
    --ak-radius-lg: 1.15rem;
    --bs-primary: #12677f;
    --bs-primary-rgb: 18, 103, 127;
}
body { background: var(--ak-light); line-height: 1.65; }
.btn { font-family: 'Nunito', system-ui, sans-serif; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--ak-primary); outline-offset: 4px; }
.skip-link { position: fixed; top: .6rem; left: 1rem; z-index: 1200; background: #fff; padding: .7rem 1.2rem; border-radius: .6rem; box-shadow: var(--ak-shadow-lg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
[id] { scroll-margin-top: 100px; }
.navbar-arsuz { padding: .7rem 0; border-bottom: 1px solid var(--ak-border); box-shadow: 0 3px 22px rgba(23,59,77,.06); }
.navbar-arsuz .navbar-brand img { height: 40px; max-width: 190px; }
.navbar-arsuz .nav-link { padding: .6rem .75rem; border-radius: .55rem; }
.navbar-arsuz .nav-link.active { background: #eaf3f4; }
.navbar-arsuz .nav-link::after { display: none; }
.navbar-toggler { min-width: 44px; min-height: 44px; }
.lang-btn { min-height: 44px; border-width: 1px; color: var(--ak-dark); border-color: var(--ak-border); }
.dropdown-menu { padding: .5rem; border-radius: .85rem; }
.dropdown-item { border-radius: .45rem; white-space: normal; padding: .6rem .8rem; }
.dropdown-item:focus, .dropdown-item:hover { background: #eaf3f4; color: var(--ak-primary-dark); }
.home-hero { padding: clamp(2.4rem,4.5vw,3.8rem) 0; background-image: linear-gradient(110deg,rgba(10,40,54,.93),rgba(12,65,79,.9) 55%,rgba(15,74,88,.82)),url('/public/images/arsuz-gallery/arsuz-da-deniz.jpg'); }
.home-hero .hero-title { max-width: 850px; margin: 0 auto; font-size: clamp(2.15rem,4.5vw,3.8rem); line-height: 1.13; text-wrap: balance; }
.home-hero .hero-subtitle { max-width: 680px; margin-bottom: 1.2rem; opacity: 1; color: #eaf3f4; }
.home-hero .hero-badge { text-transform: none; letter-spacing: .02em; }
.home-hero .hero-stats { gap: clamp(1.5rem,5vw,4rem); padding-top: 1.2rem; margin-top: 1.5rem; }
.home-hero .stat-label { opacity: 1; color: #e1edf0; }
.home-shortcuts { position: relative; padding: 2.2rem 0; }
.home-shortcuts .quick-link-card { height: 100%; border: 1px solid var(--ak-border); padding: 1.2rem .7rem !important; box-shadow: 0 6px 22px rgba(23,59,77,.05) !important; }
.home-shortcuts .quick-link-card > i { font-size: 1.8rem !important; }
.shortcut-title { display: block; color: var(--ak-dark); font-weight: 800; line-height: 1.3; margin-bottom: .4rem; }
.home-shortcuts .quick-link-card small { display: block; font-size: .8rem; line-height: 1.45; }
.card { border: 1px solid var(--ak-border); box-shadow: 0 4px 16px rgba(23,59,77,.04); }
.card:hover { transform: none; box-shadow: 0 6px 22px rgba(23,59,77,.07); }
.card:focus-within { box-shadow: 0 6px 22px rgba(23,59,77,.08); }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.section-title { font-size: clamp(1.65rem,2.6vw,2.1rem); line-height: 1.25; }
.section-eyebrow { text-transform: uppercase; font-family: 'Nunito',system-ui,sans-serif; font-size: .72rem; letter-spacing: .13em; color: var(--ak-primary); font-weight: 800; margin: 0 0 .55rem; }
.section-subtitle { color: var(--ak-text-light); }
.guide-link-grid a { border: 1px solid var(--ak-border) !important; font-weight: 700; color: var(--ak-dark); padding: 1.2rem !important; }
.guide-link-grid a:hover { border-color: var(--ak-primary) !important; background: #edf5f5; }
.home-news-section { padding: 2.5rem 0 3rem; background: #fff; border-block: 1px solid var(--ak-border); }
.news-admin-notice { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; padding: .9rem 1.1rem; background: #fff8e7; border: 1px solid #ebd49c; border-radius: .7rem; margin-bottom: 1.5rem; font-size: .9rem; color: #645016; }
.news-admin-notice a { margin-left: auto; font-weight: 800; }
.news-empty-state { display: flex; align-items: flex-start; gap: 1.3rem; background: #f4f8f8; border: 1px solid var(--ak-border); border-radius: 1rem; padding: clamp(1.3rem,3vw,2.3rem); }
.news-empty-icon { display: grid; place-items: center; flex-shrink: 0; width: 60px; height: 60px; background: #e5f0f1; color: var(--ak-primary); border-radius: 1rem; font-size: 1.7rem; }
.news-empty-state h2, .news-empty-state h3 { font-family: 'Nunito',system-ui,sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: .55rem; }
.news-empty-state p { color: var(--ak-text-light); max-width: 760px; }
.official-sources { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.official-sources a { display: flex; align-items: center; gap: .65rem; padding: .9rem 1rem; border: 1px solid var(--ak-border); border-radius: .75rem; color: var(--ak-dark); font-weight: 700; font-size: .87rem; background: #fff; }
.official-sources a > span { flex: 1; }
.official-sources a:hover { border-color: var(--ak-primary); background: #edf5f5; }
.news-card { border: 1px solid var(--ak-border); border-radius: 1rem; }
.news-card .card-body { padding: 1.5rem; }
.news-card-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.1rem; }
.news-card-meta time { color: var(--ak-text-light); font-size: .78rem; }
.news-type { display: inline-flex; align-items: center; gap: .3rem; border-radius: .4rem; padding: .25rem .55rem; background: #e7f1f3; color: var(--ak-primary-dark); font-size: .75rem; font-weight: 800; }
.news-type-announcement { background: #fff3d4; color: #765409; }
.news-card-title { font-family: 'Nunito',system-ui,sans-serif; font-size: 1.14rem; font-weight: 800; line-height: 1.4; margin: 0 0 .8rem; overflow-wrap: anywhere; }
.news-card-title a { color: var(--ak-dark); }
.news-card-title a:hover { color: var(--ak-primary); text-decoration: underline; text-underline-offset: .2em; }
.news-card-summary { font-size: .94rem; color: var(--ak-text-light); line-height: 1.7; }
.news-card-source { display: flex; align-items: flex-start; gap: .5rem; padding-top: .8rem; color: var(--ak-text-light); font-size: .8rem; }
.news-source-date { font-size: .74rem; color: var(--ak-text-light); margin: .35rem 0 0; }
.news-card-actions { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--ak-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.news-card-actions a { min-height: 36px; display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 800; }
.news-source-link { color: var(--ak-text-light); }
.news-page-header { padding: 2.5rem 0 2.8rem; background: #eaf2f2; border-bottom: 1px solid var(--ak-border); }
.news-page-header h1 { font-size: clamp(1.8rem,3.7vw,2.85rem); text-wrap: balance; max-width: 900px; }
.news-page-header p:not(.section-eyebrow) { max-width: 740px; color: var(--ak-text-light); margin-bottom: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.5rem; }
.news-list-section { padding-top: 2rem; padding-bottom: 4rem; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.news-filter-tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding: .3rem; background: #e7eef0; border-radius: .85rem; }
.news-filter-tabs a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .45rem 1rem; border-radius: .65rem; color: var(--ak-dark); font-weight: 800; font-size: .9rem; }
.news-filter-tabs a.is-active { background: #fff; box-shadow: 0 2px 8px rgba(23,59,77,.08); }
.news-search-form { display: flex; width: min(100%,360px); border: 1px solid #aabfc7; border-radius: .75rem; background: #fff; }
.news-search-form input { border: 0; background: transparent; min-width: 0; width: 100%; padding: .7rem 1rem; border-radius: .75rem; color: var(--ak-dark); }
.news-search-form button { border: 0; background: transparent; color: var(--ak-primary); min-width: 48px; min-height: 48px; border-radius: .7rem; }
.news-search-status { font-size: .9rem; color: var(--ak-text-light); }
.news-search-status a { margin-left: .75rem; }
.news-trust-panel { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ak-border); }
.news-trust-panel > p { font-size: .85rem; color: var(--ak-text-light); max-width: 900px; }
.news-detail-page { padding-top: 2rem; padding-bottom: 4rem; }
.news-story { background: #fff; padding: clamp(1.4rem,3vw,2.5rem); border: 1px solid var(--ak-border); border-radius: 1rem; }
.news-story h1 { font-family: 'Nunito',system-ui,sans-serif; font-weight: 900; line-height: 1.2; font-size: clamp(1.7rem,3vw,2.65rem); margin: 1rem 0 1.3rem; overflow-wrap: anywhere; }
.news-story-byline { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: var(--ak-text-light); font-size: .8rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--ak-border); }
.news-story-body { font-size: 1.1rem; line-height: 1.85; padding-top: 1.7rem; white-space: pre-line; overflow-wrap: anywhere; }
.news-story-disclosure { font-size: .85rem; color: var(--ak-text-light); border-left: 3px solid var(--ak-primary); padding-left: 1rem; margin: 1.5rem 0; }
.news-source-box { padding: 1.5rem; border: 1px solid var(--ak-border); border-radius: 1rem; background: #fff; position: sticky; top: 105px; }
.news-source-box > p:not(.section-eyebrow) { font-size: .9rem; color: var(--ak-text-light); }
.news-source-box a { font-size: .9rem; font-weight: 800; }
.footer { position: relative; z-index: 1; }
.footer-recruit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid rgba(255,255,255,.2); border-radius: .8rem; margin-bottom: 2.5rem; }
.footer-recruit p { margin: 0; color: #e7eff2; }
@media (max-width:1199.98px) {
    .navbar-arsuz .navbar-collapse { padding-top: 1rem; }
    .navbar-arsuz .nav-link { padding: .7rem 1rem; }
    .navbar-arsuz .navbar-collapse > .d-flex { border-top: 1px solid var(--ak-border); padding-top: 1rem; margin-top: .5rem; flex-wrap: wrap; }
    .official-sources { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:767.98px) {
    .home-hero { padding: 2.3rem 0 2.5rem; }
    .home-hero .hero-title { font-size: 2.15rem; }
    .home-shortcuts .quick-link-card { padding: 1rem .7rem !important; }
    .section-heading-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .section-heading-row > .btn { align-self: flex-start; }
    .home-news-section { padding: 2rem 0; }
    .news-toolbar, .footer-recruit { align-items: stretch; flex-direction: column; }
    .news-search-form { width: 100%; }
    .news-empty-state { flex-direction: column; }
    .news-empty-icon { width: 48px; height: 48px; font-size: 1.35rem; }
    .news-detail-page .row { --bs-gutter-y: 1.5rem; }
    .news-source-box { position: static; }
    .news-story .btn { width: 100%; }
    .footer-recruit .btn { align-self: flex-start; }
}
@media (max-width:399.98px) {
    .official-sources { grid-template-columns: 1fr; }
    .news-filter-tabs { width: 100%; }
    .news-filter-tabs a { flex: 1; padding: .45rem .55rem; font-size: .85rem; }
    .home-hero .hero-stats { gap: 1rem; }
    .home-hero .stat-number { font-size: 1.45rem; }
}
@media (prefers-reduced-motion:reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
