/*
Theme Name: Çağlar Saylam
Theme URI: https://www.caglarsaylam.com.tr/
Author: Çağlar Saylam
Description: Bilgi, hukuk, maneviyat, hava, deniz ve güncel içerikler için özel WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: caglar-saylam
*/

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    }

/* WordPress uyumluluk katmanı */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 58px; width: auto; }
.navbar .menu { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.navbar .menu li { margin: 0; }
.navbar .menu a { display: inline-block; }
.logo a { color: inherit; text-decoration: none; }
.wp-post-image { max-width: 100%; height: auto; border-radius: 14px; }
.article-meta { color: #6b7785; font-size: 14px; margin-bottom: 18px; }
.article-shell .entry-content > * { max-width: 100%; }
.article-shell .entry-content img { max-width: 100%; height: auto; }
.article-shell .entry-content a { color: var(--mavi); }
.article-pagination { margin-top: 28px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }

    :root {
      --lacivert: #062b4f;
      --koyu: #021525;
      --mavi: #0b6fae;
      --turkuaz: #18a7b5;
      --altin: #d8a928;
      --kirmizi: #b21f2d;
      --krem: #fff8e7;
      --acik: #f5f9fc;
      --yazi: #1f2d3d;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--acik);
      color: var(--yazi);
      line-height: 1.6;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 20px 20px, rgba(216,169,40,0.12) 2px, transparent 3px),
        linear-gradient(45deg, rgba(11,111,174,0.035) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(11,111,174,0.035) 25%, transparent 25%);
      background-size: 42px 42px;
      z-index: -1;
    }

    header {
      background: linear-gradient(135deg, #061b33, #083b66);
      color: white;
      padding: 18px 8%;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 5px 18px rgba(0,0,0,0.22);
      border-bottom: 3px solid var(--altin);
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      padding-top: 28px;
    }

    .top-clock {
      position: fixed;
      top: 7px;
      right: 18px;
      z-index: 1200;
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 220px;
      padding: 7px 13px;
      color: white;
      background: linear-gradient(135deg, rgba(6,43,79,.98), rgba(11,111,174,.98));
      border: 1px solid rgba(216,169,40,.75);
      border-radius: 11px;
      box-shadow: 0 6px 18px rgba(2,21,37,.25);
      backdrop-filter: blur(8px);
    }

    .clock-symbol {
      color: var(--altin);
      font-size: 20px;
    }

    .clock-date {
      display: block;
      color: #d9ecff;
      font-size: 11px;
      line-height: 1.2;
    }

    .clock-time {
      display: block;
      color: #ffe9a3;
      font-size: 17px;
      line-height: 1.25;
      letter-spacing: 1px;
    }

    .logo {
      font-size: 26px;
      font-weight: 800;
      letter-spacing: 0.5px;
    }

    .logo span {
      color: var(--altin);
    }

    .logo small {
      display: block;
      font-size: 12px;
      font-weight: normal;
      color: #d9ecff;
      margin-top: 2px;
    }

    nav a {
      color: white;
      text-decoration: none;
      margin-left: 16px;
      font-weight: 500;
      transition: 0.3s;
      font-size: 15px;
    }

    nav a:hover {
      color: var(--altin);
    }

    .hero {
      min-height: 420px;
      display: flex;
      align-items: center;
      padding: 0 8%;
      color: white;
      background:
        radial-gradient(circle at 18% 28%, rgba(216,169,40,0.22), transparent 26%),
        radial-gradient(circle at 82% 72%, rgba(24,167,181,0.20), transparent 30%),
        linear-gradient(135deg, rgba(6, 43, 79, 0.97), rgba(2, 21, 37, 0.98)),
        repeating-linear-gradient(
          45deg,
          rgba(216,169,40,0.08) 0px,
          rgba(216,169,40,0.08) 2px,
          transparent 2px,
          transparent 18px
        );
      background-blend-mode: screen, screen, normal, normal;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 420px;
      height: 420px;
      right: -120px;
      top: 80px;
      border: 2px solid rgba(216,169,40,0.16);
      transform: rotate(45deg);
    }

    .hero::after {
      content: "◆ ۞ ◆";
      position: absolute;
      right: 9%;
      bottom: 35px;
      font-size: 82px;
      color: rgba(216,169,40,0.20);
      letter-spacing: 18px;
    }

    .hero-content {
      max-width: 850px;
      position: relative;
      z-index: 2;
    }

    .hero-tag {
      display: inline-block;
      background: rgba(216,169,40,0.18);
      border: 1px solid rgba(216,169,40,0.55);
      color: #ffe9a3;
      padding: 8px 16px;
      border-radius: 40px;
      margin-bottom: 20px;
      font-size: 14px;
    }

    .hero h1 {
      font-size: 50px;
      margin-bottom: 20px;
      line-height: 1.16;
    }

    .hero p {
      font-size: 19px;
      margin-bottom: 30px;
      color: #e7f6ff;
    }

    .btn {
      display: inline-block;
      background: var(--altin);
      color: #112033;
      padding: 13px 26px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 800;
      transition: 0.3s;
      margin-right: 10px;
      margin-bottom: 10px;
    }

    .btn:hover {
      transform: translateY(-2px);
      filter: brightness(1.05);
    }

    .btn.secondary {
      background: transparent;
      color: white;
      border: 1px solid rgba(255,255,255,0.55);
    }

    section {
      padding: 72px 8%;
    }

    .section-title {
      text-align: center;
      margin-bottom: 45px;
    }

    .section-title .ornament {
      color: var(--altin);
      font-size: 24px;
      letter-spacing: 12px;
      margin-bottom: 8px;
    }

    .section-title h2 {
      font-size: 35px;
      color: var(--lacivert);
      margin-bottom: 10px;
    }

    .section-title p {
      color: #5b6b7a;
      font-size: 17px;
      max-width: 780px;
      margin: auto;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 26px;
    }

    .card {
      background: white;
      padding: 27px;
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(6, 43, 79, 0.10);
      transition: 0.3s;
      border-top: 4px solid var(--turkuaz);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: "";
      position: absolute;
      top: -35px;
      right: -35px;
      width: 100px;
      height: 100px;
      border: 2px solid rgba(216,169,40,0.20);
      transform: rotate(45deg);
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(6, 43, 79, 0.18);
    }

    .card h3 {
      color: var(--lacivert);
      margin-bottom: 12px;
      font-size: 22px;
    }

    .card p {
      color: #4a5c6a;
      margin-bottom: 15px;
    }

    .card a {
      color: var(--mavi);
      text-decoration: none;
      font-weight: bold;
    }

    .article-link {
      display: block;
      height: 100%;
      color: inherit;
      text-decoration: none;
    }

    .article-link:focus-visible {
      outline: 3px solid var(--altin);
      outline-offset: 4px;
      border-radius: 18px;
    }

    .card-icon {
      display: inline-flex;
      width: 52px;
      height: 52px;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      border-radius: 15px;
      color: white;
      background: linear-gradient(135deg, var(--mavi), var(--lacivert));
      font-size: 27px;
    }

    .read-label {
      display: inline-block;
      margin-top: 5px;
      color: var(--mavi);
      font-weight: 800;
    }

    .culture-title {
      margin: 44px 0 24px;
      text-align: center;
      color: var(--lacivert);
      font-size: 28px;
    }

    .culture-title span {
      color: var(--altin);
    }

    .article-page {
      min-height: 100vh;
      padding: 55px 8%;
      background: linear-gradient(135deg, #f7fbff, #fff8e7);
    }

    .article-shell {
      max-width: 900px;
      margin: auto;
      padding: 38px;
      border-radius: 22px;
      background: white;
      box-shadow: 0 12px 36px rgba(6,43,79,.14);
      border-top: 5px solid var(--altin);
    }

    .article-category {
      display: inline-block;
      padding: 6px 12px;
      border-radius: 999px;
      color: white;
      background: var(--lacivert);
      font-size: 13px;
      font-weight: 800;
    }

    .article-shell h1 {
      margin: 18px 0 8px;
      color: var(--lacivert);
      font-size: clamp(30px, 5vw, 46px);
      line-height: 1.18;
    }

    .article-lead {
      padding-bottom: 22px;
      margin-bottom: 25px;
      color: #526575;
      font-size: 18px;
      border-bottom: 1px solid #dce7ef;
    }

    .article-shell h2 {
      margin: 28px 0 10px;
      color: var(--lacivert);
    }

    .article-shell p,
    .article-shell li {
      margin-bottom: 13px;
      color: #314454;
      font-size: 17px;
    }

    .article-shell ul {
      margin: 8px 0 20px 22px;
    }

    .article-back {
      display: inline-block;
      margin-top: 25px;
      padding: 11px 18px;
      border-radius: 9px;
      color: #112033;
      background: var(--altin);
      text-decoration: none;
      font-weight: 800;
    }

    .cream-section {
      background: linear-gradient(135deg, #fffaf0, #f5f9fc);
    }

    .weather-box {
      background: linear-gradient(135deg, var(--mavi), var(--lacivert));
      color: white;
      padding: 35px;
      border-radius: 22px;
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 25px;
      align-items: center;
      box-shadow: 0 10px 28px rgba(6, 43, 79, 0.22);
      border: 1px solid rgba(216,169,40,0.35);
    }

    .weather-box h3 {
      font-size: 28px;
      margin-bottom: 12px;
    }

    .weather-degree {
      font-size: 58px;
      font-weight: bold;
      text-align: center;
      color: #ffe9a3;
    }

    .live-controls {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 22px;
    }

    .live-controls label {
      font-weight: 800;
      color: var(--lacivert);
    }

    .live-select,
    .refresh-btn {
      min-height: 46px;
      border-radius: 10px;
      border: 1px solid #b9cbd9;
      padding: 0 14px;
      background: white;
      color: var(--yazi);
      font-size: 16px;
    }

    .live-select {
      min-width: 220px;
    }

    .refresh-btn {
      cursor: pointer;
      border-color: var(--altin);
      background: var(--altin);
      color: #112033;
      font-weight: 800;
    }

    .refresh-btn:disabled {
      cursor: wait;
      opacity: 0.65;
    }

    .sky-widget {
      position: fixed;
      top: 128px;
      right: 18px;
      z-index: 900;
      width: 245px;
      color: white;
      background: linear-gradient(145deg, rgba(3,31,55,.96), rgba(8,91,115,.96));
      border: 1px solid rgba(216,169,40,.65);
      border-radius: 18px;
      padding: 16px;
      box-shadow: 0 12px 32px rgba(2,21,37,.28);
      backdrop-filter: blur(10px);
      transition: width .25s ease, padding .25s ease, border-radius .25s ease, transform .25s ease;
    }

    .sky-toggle {
      position: absolute;
      top: 9px;
      right: 9px;
      z-index: 2;
      display: flex;
      width: 34px;
      height: 34px;
      align-items: center;
      justify-content: center;
      color: #ffe9a3;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(216,169,40,.65);
      border-radius: 50%;
      cursor: pointer;
      font-size: 17px;
    }

    .sky-toggle:hover,
    .sky-toggle:focus-visible {
      background: rgba(216,169,40,.22);
      outline: none;
    }

    .sky-widget-header {
      padding-right: 35px;
    }

    .sky-widget.is-collapsed {
      width: 58px;
      height: 58px;
      padding: 0;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 8px 22px rgba(2,21,37,.24);
    }

    .sky-widget.is-collapsed > :not(.sky-toggle) {
      display: none;
    }

    .sky-widget.is-collapsed .sky-toggle {
      position: static;
      width: 58px;
      height: 58px;
      color: #ffe9a3;
      background: linear-gradient(145deg, #03233d, #087b8e);
      border: 0;
      border-radius: 50%;
      font-size: 25px;
    }

    .sky-widget.is-collapsed .sky-toggle::after {
      content: "";
      position: absolute;
      inset: 4px;
      border: 1px solid rgba(216,169,40,.7);
      border-radius: 50%;
    }

    .sky-widget-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    .sky-widget-header h3 {
      color: #ffe9a3;
      font-size: 17px;
    }

    .sky-widget-header span {
      color: #d9ecff;
      font-size: 12px;
    }

    .sky-city-select {
      width: 100%;
      height: 38px;
      margin-bottom: 11px;
      padding: 0 10px;
      color: #17364c;
      background: #f7fcff;
      border: 1px solid rgba(216,169,40,.7);
      border-radius: 9px;
      font-weight: 700;
    }

    .sky-widget-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 9px;
    }

    .sky-item {
      min-height: 92px;
      padding: 10px;
      border-radius: 12px;
      text-align: center;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.16);
    }

    .sky-icon {
      display: block;
      font-size: 30px;
      line-height: 1;
      margin-bottom: 7px;
    }

    .sky-item strong,
    .sky-item small {
      display: block;
    }

    .sky-item strong {
      font-size: 13px;
      color: white;
    }

    .sky-item small {
      margin-top: 3px;
      color: #d9ecff;
      font-size: 11px;
    }

    .sky-status {
      margin-top: 9px;
      color: #cde8f2;
      font-size: 11px;
      text-align: center;
    }

    .weather-details {
      display: grid;
      grid-template-columns: repeat(3, minmax(110px, 1fr));
      gap: 10px;
      margin-top: 18px;
    }

    .weather-detail,
    .marine-stat {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 12px;
      padding: 12px;
    }

    .weather-detail small,
    .marine-stat small {
      display: block;
      opacity: 0.8;
      margin-bottom: 3px;
    }

    .weather-detail strong,
    .marine-stat strong {
      font-size: 18px;
    }

    .data-status {
      min-height: 24px;
      margin-top: 13px;
      color: #d9ecff;
      font-size: 14px;
    }

    .data-status.error {
      color: #ffd3d3;
    }

    .marine-section {
      background: linear-gradient(135deg, #eaf8fb, #f7fbff);
    }

    .marine-box {
      color: white;
      background: linear-gradient(135deg, #043354, #087b8e);
      padding: 34px;
      border-radius: 22px;
      box-shadow: 0 10px 28px rgba(6,43,79,.18);
      border-bottom: 4px solid var(--altin);
    }

    .marine-box h3 {
      font-size: 27px;
      color: #ffe9a3;
      margin-bottom: 8px;
    }

    .marine-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(120px, 1fr));
      gap: 14px;
      margin-top: 22px;
    }

    .forecast-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      margin-top: 20px;
    }

    .forecast-day {
      padding: 16px;
      border-radius: 14px;
      color: var(--yazi);
      background: rgba(255,255,255,.94);
    }

    .forecast-day h4 {
      color: var(--lacivert);
      margin-bottom: 8px;
    }

    .source-note {
      margin-top: 18px;
      font-size: 13px;
      color: #d9ecff;
    }

    .source-note a {
      color: #ffe9a3;
    }

    .next-prayer {
      outline: 3px solid var(--altin);
      background: rgba(255,255,255,.2);
    }

    .quote-date {
      display: inline-block;
      margin-bottom: 12px;
      padding: 4px 9px;
      border-radius: 999px;
      color: #6a510f;
      background: #fff3c7;
      font-size: 12px;
      font-weight: 800;
    }

    .islamic-section {
      background:
        linear-gradient(rgba(255,255,255,0.93), rgba(248,243,231,0.95)),
        repeating-linear-gradient(
          45deg,
          rgba(216,169,40,0.08) 0 8px,
          transparent 8px 16px
        );
    }

    .prayer-box {
      background: linear-gradient(135deg, #05365e, #087185);
      color: white;
      border-radius: 24px;
      padding: 36px;
      box-shadow: 0 10px 30px rgba(6, 43, 79, 0.24);
      margin-bottom: 35px;
      border: 2px solid rgba(216,169,40,0.45);
      position: relative;
      overflow: hidden;
    }

    .prayer-box::after {
      content: "۞";
      position: absolute;
      right: 24px;
      top: 12px;
      font-size: 86px;
      color: rgba(216,169,40,0.18);
    }

    .prayer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 25px;
      position: relative;
      z-index: 2;
    }

    .prayer-header h3 {
      font-size: 29px;
    }

    .prayer-header span {
      background: rgba(255,255,255,0.14);
      padding: 8px 14px;
      border-radius: 30px;
      font-size: 14px;
    }

    .prayer-times {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 16px;
      position: relative;
      z-index: 2;
    }

    .prayer-time {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 15px;
      padding: 18px;
      text-align: center;
    }

    .prayer-time h4 {
      font-size: 17px;
      margin-bottom: 8px;
      color: #dff5ff;
    }

    .prayer-time p {
      font-size: 23px;
      font-weight: bold;
      color: #ffe9a3;
    }

    .quote-card {
      background: white;
      padding: 30px;
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(6, 43, 79, 0.10);
      border-left: 5px solid var(--altin);
    }

    .quote-card h3 {
      color: var(--lacivert);
      margin-bottom: 14px;
    }

    .quote-card p {
      color: #34495e;
      font-size: 17px;
    }

    .quote-card .source {
      display: block;
      margin-top: 15px;
      color: var(--mavi);
      font-weight: bold;
    }

    .law-section {
      background: linear-gradient(135deg, #f7fbff, #eef5fa);
    }

    .law-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 28px;
      align-items: stretch;
    }

    .law-main {
      background: linear-gradient(135deg, #062b4f, #0b4f7a);
      color: white;
      padding: 34px;
      border-radius: 22px;
      box-shadow: 0 10px 30px rgba(6, 43, 79, 0.20);
      border-bottom: 4px solid var(--altin);
    }

    .law-main h3 {
      font-size: 30px;
      margin-bottom: 16px;
      color: #ffe9a3;
    }

    .law-main p {
      color: #e8f6ff;
      margin-bottom: 18px;
    }

    .law-main ul {
      margin-left: 20px;
      color: #f5fbff;
    }

    .law-main li {
      margin-bottom: 9px;
    }

    .law-cards {
      display: grid;
      gap: 18px;
    }

    .law-card {
      background: white;
      border-radius: 18px;
      padding: 24px;
      box-shadow: 0 8px 22px rgba(6, 43, 79, 0.10);
      border-left: 5px solid var(--kirmizi);
    }

    .law-card h4 {
      color: var(--lacivert);
      font-size: 21px;
      margin-bottom: 9px;
    }

    .law-card p {
      color: #4a5c6a;
    }

    .notice {
      margin-top: 28px;
      background: #fff7df;
      border: 1px solid rgba(216,169,40,0.55);
      border-left: 6px solid var(--altin);
      padding: 18px 22px;
      border-radius: 12px;
      color: #604914;
      font-size: 15px;
    }

    .updates {
      background: white;
    }

    .update-list {
      max-width: 920px;
      margin: auto;
    }

    .update-item {
      background: #f4f8fc;
      border-left: 5px solid var(--mavi);
      padding: 20px 24px;
      margin-bottom: 18px;
      border-radius: 12px;
    }

    .update-item h4 {
      color: var(--lacivert);
      margin-bottom: 6px;
    }

    .about {
      background: linear-gradient(135deg, #fffaf0, #e8f3ff);
    }

    .about-content {
      max-width: 1050px;
      margin: auto;
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 35px;
      align-items: center;
    }

    .profile-box {
      background: white;
      padding: 36px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 8px 24px rgba(6, 43, 79, 0.10);
      border-top: 4px solid var(--altin);
    }

    .profile-circle {
      width: 135px;
      height: 135px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--mavi), var(--lacivert));
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 46px;
      color: white;
      font-weight: bold;
      margin-bottom: 18px;
      border: 4px solid var(--altin);
    }

    .about-text h2 {
      color: var(--lacivert);
      font-size: 32px;
      margin-bottom: 15px;
    }

    .contact {
      background: #062b4f;
      color: white;
      text-align: center;
      border-top: 4px solid var(--altin);
    }

    .contact h2 {
      font-size: 32px;
      margin-bottom: 14px;
    }

    .contact p {
      color: #d9ecff;
      margin-bottom: 25px;
    }

    .contact-box {
      background: rgba(255,255,255,0.08);
      display: inline-block;
      padding: 22px 35px;
      border-radius: 14px;
      border: 1px solid rgba(216,169,40,0.35);
    }

    footer {
      background: #021525;
      color: #c7d8e8;
      text-align: center;
      padding: 24px 8%;
      font-size: 14px;
    }

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

      .sky-widget {
        position: fixed;
        top: 128px;
        right: 10px;
        width: 220px;
        margin: 0;
      }
    }

    @media (max-width: 480px) {
      .sky-widget {
        top: 124px;
        right: 7px;
        width: 205px;
        padding: 12px;
      }

      .sky-item {
        min-height: 82px;
        padding: 8px 5px;
      }

      .sky-icon {
        font-size: 25px;
      }

      .article-shell {
        padding: 25px 20px;
      }

      .top-clock {
        top: 6px;
        right: 7px;
        min-width: 195px;
        padding: 6px 10px;
      }

      .clock-time {
        font-size: 15px;
      }
    }

    @media (max-width: 768px) {

      .hero-slider,
      .hero-track,
      .hero-slide {
        min-height: 610px;
      }

      .hero-slide {
        padding: 65px 10% 105px;
      }

      .hero-slide h1 {
        font-size: 34px;
      }

      .hero-slide::after {
        font-size: 48px;
        right: 4%;
        letter-spacing: 8px;
      }

      .hero-slider-nav {
        inset-inline: 7px;
      }

      .hero-arrow {
        width: 39px;
        height: 39px;
      }

      .hero-swipe-note {
        right: 50%;
        bottom: 8px;
        transform: translateX(50%);
        white-space: nowrap;
        font-size: 10px;
      }
      .hero h1 {
        font-size: 34px;
      }

      .hero::after {
        font-size: 48px;
        right: 4%;
        letter-spacing: 8px;
      }

      nav {
        margin-top: 15px;
      }

      nav a {
        display: inline-block;
        margin: 8px 10px 0 0;
      }

      .weather-box {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .weather-details,
      .marine-grid,
      .forecast-grid {
        grid-template-columns: 1fr;
      }

      .about-content {
        grid-template-columns: 1fr;
      }

      .prayer-header {
        display: block;
        text-align: center;
      }

      .prayer-header span {
        display: inline-block;
        margin-top: 12px;
      }
    }

    /* Ana sayfa yatay kaydırmalı tanıtım alanı */
    .hero-slider {
      position: relative;
      min-height: 420px;
      overflow: hidden;
      color: white;
      background:
        radial-gradient(circle at 18% 28%, rgba(216,169,40,0.22), transparent 26%),
        radial-gradient(circle at 82% 72%, rgba(24,167,181,0.20), transparent 30%),
        linear-gradient(135deg, rgba(6,43,79,0.97), rgba(2,21,37,0.98));
      user-select: none;
      touch-action: pan-y;
      cursor: grab;
    }

    .hero-slider.is-dragging {
      cursor: grabbing;
    }

    .hero-track {
      display: flex;
      min-height: 420px;
      transition: transform 0.55s cubic-bezier(.22,.61,.36,1);
      will-change: transform;
    }

    .hero-slider.is-dragging .hero-track {
      transition: none;
    }

    .hero-slide {
      position: relative;
      flex: 0 0 100%;
      min-width: 100%;
      min-height: 420px;
      display: flex;
      align-items: center;
      padding: 42px 8% 68px;
      overflow: hidden;
    }

    .hero-slide::before {
      content: "";
      position: absolute;
      width: 420px;
      height: 420px;
      right: -120px;
      top: 80px;
      border: 2px solid rgba(216,169,40,0.16);
      transform: rotate(45deg);
    }

    .hero-slide::after {
      content: "◆ ۞ ◆";
      position: absolute;
      right: 9%;
      bottom: 35px;
      font-size: 82px;
      color: rgba(216,169,40,0.20);
      letter-spacing: 18px;
    }

    .hero-slide:nth-child(2) {
      background: linear-gradient(135deg, rgba(7,50,84,.35), rgba(178,31,45,.13));
    }

    .hero-slide:nth-child(3) {
      background: linear-gradient(135deg, rgba(8,123,142,.26), rgba(216,169,40,.09));
    }

    .hero-slide .hero-content {
      max-width: 850px;
      position: relative;
      z-index: 2;
    }

    .hero-slider-nav {
      position: absolute;
      inset: 50% 18px auto;
      z-index: 5;
      display: flex;
      justify-content: space-between;
      pointer-events: none;
      transform: translateY(-50%);
    }

    .hero-arrow {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      color: white;
      background: rgba(2,21,37,.55);
      border: 1px solid rgba(216,169,40,.7);
      border-radius: 50%;
      cursor: pointer;
      pointer-events: auto;
      font-size: 25px;
      transition: .25s;
    }

    .hero-arrow:hover,
    .hero-arrow:focus-visible {
      background: rgba(216,169,40,.92);
      color: #112033;
      outline: none;
      transform: scale(1.06);
    }

    .hero-dots {
      position: absolute;
      left: 50%;
      bottom: 25px;
      z-index: 6;
      display: flex;
      gap: 10px;
      transform: translateX(-50%);
    }

    .hero-dot {
      width: 11px;
      height: 11px;
      padding: 0;
      border: 1px solid rgba(255,255,255,.75);
      border-radius: 50%;
      background: rgba(255,255,255,.25);
      cursor: pointer;
      transition: .25s;
    }

    .hero-dot.is-active {
      width: 30px;
      border-radius: 999px;
      border-color: var(--altin);
      background: var(--altin);
    }

    .hero-swipe-note {
      position: absolute;
      right: 24px;
      bottom: 22px;
      z-index: 5;
      color: rgba(255,255,255,.72);
      font-size: 12px;
      pointer-events: none;
    }


    /* Daha kompakt ana sayfa slider düzeni */
    .hero-slide .hero-content {
      max-width: 720px;
      padding-right: 270px;
    }

    .hero-slide h1 {
      font-size: clamp(32px, 4vw, 43px);
      margin-bottom: 14px;
    }

    .hero-slide p {
      max-width: 680px;
      margin-bottom: 22px;
      font-size: 16px;
      line-height: 1.55;
    }

    .hero-slide .btn {
      padding: 11px 21px;
      font-size: 14px;
    }

    .hero-slide::before {
      width: 300px;
      height: 300px;
      right: -90px;
      top: 55px;
    }

    .hero-slide::after {
      right: 6%;
      bottom: 25px;
      font-size: 58px;
      letter-spacing: 12px;
    }

    .hero-slider-nav {
      inset-inline: 16px;
    }

    .hero-arrow {
      width: 40px;
      height: 40px;
      font-size: 22px;
    }

    .hero-dots {
      bottom: 18px;
    }

    .hero-swipe-note {
      display: none;
    }

    @media (max-width: 1100px) {
      .hero-slide .hero-content {
        padding-right: 210px;
      }
    }

    @media (max-width: 900px) {
      .hero-slide .hero-content {
        max-width: 100%;
        padding-right: 0;
      }
    }

    @media (max-width: 768px) {
      .hero-slider,
      .hero-track,
      .hero-slide {
        min-height: 500px;
      }

      .hero-slide {
        padding: 55px 10% 82px;
      }

      .hero-slide h1 {
        font-size: 31px;
      }

      .hero-slide p {
        font-size: 15px;
      }

      .hero-slide::after {
        font-size: 38px;
      }
    }

    /*
      Kompakt üst alan:
      Slider ve gökyüzü bilgisi aynı satırda durur. Gökyüzü kutusu artık
      sayfanın üzerinde yüzmez; içerik okunurken ekranda kalan bir ikona dönüşmez.
    */
    .hero-stage {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 14px;
      align-items: stretch;
      padding: 18px 2%;
      background:
        radial-gradient(circle at 18% 28%, rgba(216,169,40,.13), transparent 24%),
        linear-gradient(135deg, #041d35, #062b4f);
    }

    .hero-stage .hero-slider {
      grid-column: 1;
      grid-row: 1;
      min-width: 0;
      min-height: 310px;
      border: 1px solid rgba(216,169,40,.35);
      border-radius: 18px;
      box-shadow: 0 12px 30px rgba(2,21,37,.22);
    }

    .hero-stage .hero-track,
    .hero-stage .hero-slide {
      min-height: 310px;
    }

    .hero-stage .hero-slide {
      padding: 30px 7% 54px;
    }

    .hero-stage .hero-slide .hero-content {
      width: min(100%, 780px);
      max-width: 780px;
      padding-right: 0;
    }

    .hero-stage .hero-tag {
      margin-bottom: 11px;
      padding: 5px 12px;
      font-size: 12px;
    }

    .hero-stage .hero-slide h1 {
      max-width: 760px;
      margin-bottom: 10px;
      font-size: clamp(27px, 3vw, 38px);
      line-height: 1.12;
    }

    .hero-stage .hero-slide p {
      max-width: 720px;
      margin-bottom: 16px;
      font-size: 14px;
      line-height: 1.48;
    }

    .hero-stage .hero-slide .btn {
      margin: 3px 6px 0 0;
      padding: 9px 15px;
      font-size: 12px;
    }

    .hero-stage .hero-slide::before {
      width: 230px;
      height: 230px;
      right: -90px;
      top: 40px;
    }

    .hero-stage .hero-slide::after {
      right: 4%;
      bottom: 18px;
      font-size: 38px;
      letter-spacing: 8px;
    }

    .hero-stage .hero-arrow {
      width: 34px;
      height: 34px;
      font-size: 19px;
    }

    .hero-stage .hero-dots {
      bottom: 14px;
    }

    .hero-stage .hero-dot {
      width: 9px;
      height: 9px;
    }

    .hero-stage .hero-dot.is-active {
      width: 24px;
    }

    .hero-stage .sky-widget {
      grid-column: 2;
      grid-row: 1;
      position: relative;
      inset: auto;
      z-index: 3;
      width: auto;
      min-width: 0;
      height: 100%;
      margin: 0;
      padding: 16px;
      border-radius: 18px;
      box-shadow: 0 12px 30px rgba(2,21,37,.22);
      transform: none;
    }

    .hero-stage .sky-toggle {
      display: none;
    }

    .hero-stage .sky-widget-header {
      margin-bottom: 8px;
      padding-right: 0;
    }

    .hero-stage .sky-widget-header h3 {
      font-size: 15px;
    }

    .hero-stage .sky-widget-header span,
    .hero-stage .sky-status {
      font-size: 10px;
    }

    .hero-stage .sky-city-select {
      height: 34px;
      margin-bottom: 8px;
      font-size: 12px;
    }

    .hero-stage .sky-widget-grid {
      gap: 7px;
    }

    .hero-stage .sky-item {
      min-width: 0;
      min-height: 0;
      padding: 10px 8px;
      overflow-wrap: break-word;
    }

    .hero-stage .sky-icon {
      margin-bottom: 5px;
      font-size: 24px;
    }

    .hero-stage .sky-item strong {
      font-size: 12px;
      line-height: 1.25;
    }

    .hero-stage .sky-item small {
      font-size: 10px;
      line-height: 1.3;
    }

    .hero-stage .sky-status {
      margin-top: 7px;
      line-height: 1.3;
    }

    .hero-stage .sky-weather {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      margin-top: 8px;
      padding: 8px 9px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 11px;
    }

    .hero-stage .sky-weather-icon {
      grid-column: 1;
      grid-row: 1;
      font-size: 25px;
      line-height: 1;
      text-align: center;
    }

    .hero-stage .sky-weather-copy {
      display: contents;
    }

    .hero-stage .sky-weather-copy strong,
    .hero-stage .sky-weather-copy small {
      display: block;
    }

    .hero-stage .sky-weather-copy strong {
      grid-column: 2;
      grid-row: 1;
      overflow: hidden;
      color: white;
      font-size: 12px;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .hero-stage .sky-weather-copy small {
      grid-column: 1 / -1;
      grid-row: 2;
      margin-top: 1px;
      color: #d9ecff;
      font-size: 10px;
      line-height: 1.3;
      text-align: center;
      white-space: normal;
    }

    .hero-stage .sky-temperature {
      grid-column: 3;
      grid-row: 1;
      color: #ffe9a3;
      font-size: 21px;
      line-height: 1;
      white-space: nowrap;
    }

    .hero-stage .sky-widget.is-collapsed {
      width: auto;
      height: 100%;
      padding: 16px;
      overflow: visible;
      border-radius: 18px;
    }

    .hero-stage .sky-widget.is-collapsed > :not(.sky-toggle) {
      display: initial;
    }

    .hero-stage .sky-widget.is-collapsed .sky-widget-header {
      display: flex;
    }

    .hero-stage .sky-widget.is-collapsed .sky-widget-grid {
      display: grid;
    }

    @media (max-width: 1050px) {
      .hero-stage {
        grid-template-columns: minmax(0, 1fr) 285px;
        padding-inline: 2%;
      }

      .hero-stage .hero-slide h1 {
        font-size: clamp(25px, 3.3vw, 33px);
      }
    }

    @media (max-width: 820px) {
      .hero-stage {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
      }

      .hero-stage .hero-slider,
      .hero-stage .hero-track,
      .hero-stage .hero-slide {
        min-height: 350px;
      }

      .hero-stage .hero-slide {
        padding: 28px 11% 58px;
      }

      .hero-stage .sky-widget {
        grid-column: 1;
        grid-row: 2;
        height: auto;
      }

      .hero-stage .sky-widget-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 520px) {
      .hero-stage .hero-slider,
      .hero-stage .hero-track,
      .hero-stage .hero-slide {
        min-height: 405px;
      }

      .hero-stage .hero-slide {
        align-items: flex-start;
        padding: 24px 13% 62px;
      }

      .hero-stage .hero-slide h1 {
        font-size: 25px;
      }

      .hero-stage .hero-slide p {
        font-size: 13px;
      }

      .hero-stage .hero-slide::after {
        display: none;
      }
    }
