html { overflow-y: scroll; }
html, body { height: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; }
main { flex: 1; }
.quake-header { background: #2c3e50; color: #fff; padding: 20px 0; position: relative; z-index: 10; }
.quake-header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 800px; margin: 0 auto; position: relative; }
.quake-archive-icon { font-size: 24px; margin-left: 10px; }
.quake-archive-icon a { color: white; text-decoration: none; }
.quake-menu-toggle { font-size: 28px; color: white; cursor: pointer; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1001; }
.quake-menu-toggle svg { display: block; pointer-events: none; }
.quake-side-panel { position: fixed; top: 0; right: 0; width: 250px; height: 100%; background-color: #2c3e50; padding: 20px; transform: translateX(100%); transition: transform 0.3s ease; z-index: 1001; }
.quake-side-panel.open { transform: translateX(0%); }
.quake-side-panel a { display: block; color: white; text-decoration: none; margin: 10px 0; font-weight: bold; font-size: 16px; }
.quake-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); display: none; z-index: 1000; }
.quake-overlay.active { display: block; }
.quake-social-icons { margin-top: 30px; display: flex; gap: 15px; justify-content: start; }
.quake-social-icons a { display: inline-block; width: 24px; height: 24px; transition: transform 0.2s ease; }
.quake-social-icons a:hover { transform: scale(1.2); }
.site-footer { background: #eee; text-align: center; padding: 20px; font-size: 14px; color: #666; margin-top: auto; border-top: 1px solid #cecece; }
.site-footer a { text-decoration: none; color: #2d5671; margin-right: 10px; }
.site-footer a:hover { text-decoration: underline; }
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f9f9f9; color: #222; }
.container { width: 95%; max-width: 800px; margin: 15px auto; }
h1 { text-align: center; font-size: 24px; margin-bottom: 20px; color: #2c3e50; }
h2.quakehome { font-size: 31px; color: #2d5671; font-weight: 500; text-align:center; }
p.homeinfo { color: #2d5671; margin-bottom: 25px; text-align: center; }
h1.singlequake { font-size: 28px; color: #2d5671; }
h2.quakeinfo { font-size: 18px; color: #2d5671; text-align: center; margin-bottom: 30px; font-weight: 400; }
h2.digerdepremler { text-align: center; color: #2d5671; }
.quake { background: #fff; margin-bottom: 10px; padding: 15px; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid #3498db; transition: background 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.quake:hover { background: #eef6ff; }
.magnitude { font-weight: bold; font-size: 20px; color: #3498db; min-width: 60px; }
.details { flex: 1; padding: 0 10px; color: #222; }
.details a { text-decoration: none; color: #2d5671; font-weight: bold; }
.details a:hover { color: #0074cc; }
.time { font-size: 16px; color: #3498db; min-width: 100px; text-align: right; font-weight: bold; }
.site-header { background: #2c3e50; color: #fff; padding: 20px 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; max-width: 800px; margin: 0 auto; padding: 0; }
.logo img { height: 40px; max-width: 250px; }
.nav a { color: #fff; text-decoration: none; margin-left: 15px; font-weight: bold; font-size: 14px; }
.nav a:hover { text-decoration: underline; }
.site-footer { background: #eee; text-align: center; padding: 20px; font-size: 14px; margin-top: 40px; color: #666; }
@media (max-width: 600px) { .header-inner { flex-direction: column; align-items: flex-start; } .nav { margin-top: 10px; } .nav a { display: inline-block; margin: 5px 10px 0 0; } }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: #fff; }
@media (max-width: 768px) { .menu-toggle { display: block; } .nav { display: none; flex-direction: column; width: 100%; margin-top: 10px; } .nav a { margin: 10px 0; background: #34495e; padding: 10px; border-radius: 4px; } .nav.show { display: flex; } }
#cookie-banner { position: fixed; bottom: 20px; background-color: #fff; color: #1c1c1c; padding: 15px; font-size: 14px; z-index: 1000; display: flex; align-items: center; justify-content: space-between; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }
#cookie-banner a { color: #0056b3; text-decoration: none; }
#cookie-banner a:hover { text-decoration: underline; }
#cookie-banner button { background-color: #0056b3; color: #fff; border: none; padding: 8px 12px; cursor: pointer; border-radius: 5px; }
@media (min-width: 768px) { #cookie-banner { width: 270px; height: 110px; left: 20px; bottom: 20px; flex-direction: column; text-align: center; border-radius: 10px; } #cookie-banner span { margin-bottom: 10px; display: block; text-align: center; } }
@media (max-width: 767px) { #cookie-banner { left: 0; right: 0; bottom: 0; border-radius: 0; flex-direction: row; } }
.mag-orange { color: #ffa500; }
.mag-red { color: #ff0000; }
.mag-orange { border-left-color: #ffa500; }
.mag-red { border-left-color: #ff0000; }
.details.mag-orange a { color: #ffa500; font-weight: bold; }
.details.mag-red a { color: #ff0000; font-weight: bold; }
.time.mag-orange { color: #ffa500; font-weight: bold; }
time.mag-red { color: #ff0000; font-weight: bold; }
.blog-heading { font-size: 32px; font-weight: bold; margin-bottom: 5px; text-align: center; color: #222; }
.blog-subtitle { text-align: center; color: #555; font-size: 16px; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 10px; text-decoration: none; color: #222; transition: box-shadow 0.2s ease; overflow: hidden; }
.blog-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.blog-card-image img { width: 100%; height: auto; display: block; }
.blog-card-body { padding: 15px 20px; }
.blog-card-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; color: #2d5671; }
.blog-card-desc { font-size: 15px; color: #444; margin-bottom: 10px; line-height: 1.5; }
.blog-card-date { font-size: 13px; color: #888; font-style: italic; }
.blog-title { font-size: 28px; font-weight: bold; margin-bottom: 10px; color: #2d5671; }
.blog-meta { font-size: 14px; color: #777; margin-bottom: 20px; }
.blog-image img { width: 100%; max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.blog-content { font-size: 16px; line-height: 1.8; color: #333; background-color: #fff; padding: 15px 20px; border-radius: 8px; border: 1px solid #e0e0e0; box-shadow: 0 0 5px rgba(0,0,0,0.04); }
.important-info { max-width: 800px; margin: 0 auto; }
.iletisim-formu-form { max-width: 600px; margin: 40px auto; background-color: #f9f9f9; padding: 30px; border-radius: 12px; box-shadow: 0 0 15px rgba(0,0,0,0.1); }
.iletisim-formu-label { display: block; font-weight: bold; margin-top: 20px; color: #333; }
.iletisim-formu-input, .iletisim-formu-textarea { width: 100%; padding: 10px 14px; margin-top: 8px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; box-sizing: border-box; transition: border-color 0.3s ease; }
.iletisim-formu-input:focus, .iletisim-formu-textarea:focus { border-color: #007BFF; outline: none; }
.iletisim-formu-button { display: inline-block; background-color: #007BFF; color: white; border: none; padding: 12px 20px; margin-top: 25px; font-size: 16px; border-radius: 6px; cursor: pointer; transition: background-color 0.3s ease; }
.iletisim-formu-button:hover { background-color: #0056b3; }
.eqstats-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 2rem; }
.eqstats-table { width: 100%; min-width: 820px; border-collapse: collapse; font-family: "Segoe UI",sans-serif; font-size: 1rem; }
.eqstats-table thead th { background: #143a55; color: #fff; text-align: left; letter-spacing: .4px; }
.eqstats-table th, .eqstats-table td { padding: .75rem 1rem; border: 1px solid #dfe4ea; white-space: nowrap; }
.eqstats-table tbody tr:nth-child(even) { background: #f8f9fa; }
.depremabi-menu { list-style: none; margin: 0; padding: 0; width: 100%; }
.depremabi-dropdown { width: 100%; }
.depremabi-toggle {
  background: none; border: none; color: white; width: 100%;
  font-size: 16px; padding: 12px 16px; display: flex;
  align-items: center; justify-content: flex-start;
  cursor: pointer; gap: 8px; padding-left: 0;
}
.depremabi-toggle .depremabi-icon { display: flex; align-items: center; }
.depremabi-toggle .depremabi-arrow {
  margin-left: auto; transition: transform 0.3s ease; stroke: #fff;
}
.depremabi-submenu {
  list-style: none; margin: 0; max-height: 0;
  overflow: hidden; background-color: #2f3e50;
  transition: max-height 0.3s ease; flex-direction: column;
  padding-left: 0;
}
.depremabi-submenu li a {
  color: #fff; text-decoration: none; display: block;
  font-size: 15px; padding:0;
}
.depremabi-dropdown.open .depremabi-submenu { max-height: 500px; }
.depremabi-dropdown.open .depremabi-arrow { transform: rotate(180deg); }
.blog-content h2, .blog-content h3, .blog-content h4 {color:#2d5671;}
.quake-center-logo{margin:0;}
.quake-title-home{font-size:20px;font-weight:700;color:#082755}
.quake-title-inner{font-size:20px;font-weight:700;color:#333}
.quake-link{text-decoration:none;color:inherit;transition:color .3s ease;color:#fff}
@media (max-width: 768px) {
.quake-title-home{font-size:1.6rem}
.quake-title-inner{font-size:1.2rem}
}
@media (max-width: 480px) {
.quake-title-home{font-size:1.4rem}
.quake-title-inner{font-size:1rem}
}
.quake-title-wrapper{display:flex;align-items:center;justify-content:center;gap:8px}
.quake-title{margin:0;padding:0;font-family:Arial,sans-serif;color:#fff}
.quake-link{color:inherit;text-decoration:none;transition:color .3s}
@media (max-width: 768px) {
.quake-title-home{font-size:1.3rem}
.quake-title-inner{font-size:1rem}
.quake-title-wrapper svg{width:20px;height:20px}
}
.loadmore-wrapper{text-align:center;margin:30px 0}
#loadMore{background:#2c3e50;color:#fff;font-size:16px;font-weight:700;padding:12px 28px;border:none;border-radius:30px;cursor:pointer;box-shadow:0 4px 10px #0003;transition:all .3s ease;position:relative}
#loadMore:hover{transform:translateY(-2px);box-shadow:0 6px 14px #00000040}
#loadMore:active{transform:translateY(1px);box-shadow:0 2px 6px #0003}
#loadMore.loading{pointer-events:none;opacity:.8}
#loadMore.loading::after{content:"";width:18px;height:18px;border:3px solid #fff;border-top:3px solid transparent;border-radius:50%;animation:spin .8s linear infinite;display:inline-block;margin-left:10px;vertical-align:middle}
@keyframes spin {
from{transform:rotate(0deg)}
to{transform:rotate(360deg)}
}