/*
Theme Name: HikayeTema Pro
Author: KGroups
Description: Ozel ve tam optimize WordPress temasi.
Version: 1.0
Text Domain: hikayetema
*/

:root {
  --ht-primary: #f29d38;
  --ht-primary-hover: #e0960d;
  --ht-blue: #638ca6;
  --ht-dark: #2c3e50;
  --ht-heading: #1a80ba;
  --ht-border: #e2e8f0;
  --ht-bg-light: #f8fafc;
}

/* Base Styles */
body { font-family: 'Nunito', sans-serif; color: #333; margin: 0; }
.site-wrapper { max-width: 1400px; margin: 0 auto; background-color: #fff; min-height: 100vh; overflow: hidden; }
.hikayetema-header { background: #f3f5f7; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ht-heading); }
.custom-heading { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.hikayetema-title-first { color: var(--ht-blue); margin-right: 4px; }
.hikayetema-title-second { color: var(--ht-primary); }

/* Navigation & Submenu */
.nav-link { color: #555 !important; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 12px !important; }
.nav-link:hover { color: var(--ht-primary) !important; }
.dropdown-menu { font-size: 14px; border-radius: 8px; padding: 10px 0; }
.dropdown-item { color: #444; font-weight: 600; padding: 8px 20px; }
.dropdown-item:hover { background-color: #f8f9fa; color: var(--ht-primary); }

.navbar-nav .menu-item-has-children { position: relative; }
.navbar-nav .menu-item-has-children > a::after { content: " "; font-size: 10px; margin-left: 6px; vertical-align: middle; color: #999; }
.navbar-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-radius: 8px; padding: 10px 0; z-index: 9999; list-style: none; margin: 0; border: 1px solid #f0f0f0; }
.navbar-nav .menu-item-has-children:hover > .sub-menu { display: block; animation: fadeIn 0.2s ease-in-out; }
.navbar-nav .sub-menu li { padding: 0; width: 100%; }
.navbar-nav .sub-menu li a { display: block; font-size: 14px; font-weight: 700; padding: 10px 20px !important; color: #444 !important; text-transform: none; text-decoration: none; transition: background-color 0.2s, color 0.2s, padding-left 0.2s; }
.navbar-nav .sub-menu li a:hover { background-color: #f8f9fa; color: var(--ht-primary) !important; padding-left: 25px !important; }

/* Search Box */
.search-box { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 8px 15px; border-radius: 25px; border: 1px solid #dcdcdc; width: 200px; }
.search-input { border: none; background: transparent; outline: none; width: 100%; font-size: 14px; font-weight: 400; color: #666; }
.search-input::placeholder { color: #999; }
.search-submit { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; margin-left: 8px; }

/* Article Cards & List Structure */
.fxlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fxlist-main { display: grid; grid-template-columns: 1fr; gap: 20px; }

.fxlist-item { background: #fff; border-radius: 12px; border: 1px solid var(--ht-border); display: flex; flex-direction: row; padding: 15px; gap: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.03); will-change: transform; }
.fxlist-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.08); transform: translateY(-2px); }
.fxlist-thumb { flex: 0 0 280px; height: 160px; position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.fxlist-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fxlist-cat { position: absolute; top: 0; left: 0; background: var(--ht-primary); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 0 0 8px 0; text-decoration: none; z-index: 2; }
.fxlist-cat:hover { color: #fff; background: var(--ht-primary-hover); }

.fxlist-body { display: flex; flex-direction: column; flex-grow: 1; padding: 5px 0; }
.fxlist-title { font-size: 22px; font-weight: 900; margin-top: 0; margin-bottom: 10px; line-height: 1.3; }
.fxlist-title a { color: var(--ht-dark); text-decoration: none; transition: color 0.2s; }
.fxlist-title a:hover { color: var(--ht-primary); }
.fxlist-excerpt { font-size: 15px; color: #6c757d; line-height: 1.6; margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0; }
.fxlist-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; margin-top: auto; font-weight: 700; border-top: 1px solid #f4f4f4; padding-top: 12px; }
.fxlist-meta span { display: flex; align-items: center; }
.fxlist-meta svg { width: 15px; height: 15px; fill: var(--ht-primary); margin-right: 5px; }
.fxlist-readmore { background-color: var(--ht-primary); color: #fff; padding: 5px 15px; border-radius: 6px; text-decoration: none; font-size: 13px; transition: background-color 0.2s; }
.fxlist-readmore:hover { background-color: var(--ht-primary-hover); color: #fff; }

/* Pagination */
.pagination { display: flex; justify-content: center; width: 100%; margin-top: 50px; margin-bottom: 30px; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; list-style: none; padding: 0; margin: 0; gap: 10px; }
.pagination ul.page-numbers li { margin: 0; padding: 0; display: inline-flex; }
.pagination ul.page-numbers li a, 
.pagination ul.page-numbers li span { display: flex; align-items: center; justify-content: center; padding: 10px 18px; background: #fff; border: 1px solid var(--ht-border); border-radius: 8px; text-decoration: none; color: var(--ht-dark); font-weight: 800; font-size: 15px; transition: transform 0.2s, background-color 0.2s; }
.pagination ul.page-numbers li a:hover { background: var(--ht-primary); color: #fff; border-color: var(--ht-primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.pagination ul.page-numbers li span.current { background: var(--ht-primary); color: #fff; border-color: var(--ht-primary); box-shadow: 0 4px 12px rgba(242,157,56,0.3); }

/* Sidebar & Widgets */
.sidebar-sticky { position: sticky; top: 20px; }
.widget-box { background: #f5f8fb; border-radius: 12px; border: 1px solid var(--ht-border); padding: 25px; margin-bottom: 25px; box-shadow: 0 2px 12px rgba(0,0,0,0.03); }
.widget-title { font-size: 18px; font-weight: 900; color: var(--ht-dark); margin-bottom: 20px; border-bottom: 2px solid #f8f9fa; padding-bottom: 15px; display: flex; align-items: center; gap: 8px; margin-top: 0; }
.widget-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; text-decoration: none; }
.widget-item:last-child { margin-bottom: 0; }
.widget-img { flex: 0 0 55px; height: 35px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.widget-img img { width: 100%; height: 100%; object-fit: cover; }
.widget-text { display: flex; flex-direction: column; justify-content: center; overflow: hidden; width: 100%; }
.widget-text h4 { font-size: 14px; font-weight: 800; color: var(--ht-dark); margin: 0 0 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; line-height: 1.2; }
.widget-item:hover .widget-text h4 { color: var(--ht-primary); }
.widget-date { font-size: 12px; color: #999; font-weight: 600; }
.widget-cat { color: var(--ht-primary); font-weight: 800; margin-right: 4px; }

/* Single Article & Card Layout */
.single-article { background: #fff; border-radius: 12px; }
.single-article-card { background: #fff !important; border-radius: 12px !important; padding: 30px !important; border: 1px solid var(--ht-border) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important; margin-bottom: 30px !important; }
.single-title { font-size: 2.1rem !important; font-weight: 700 !important; color: #0f172a !important; line-height: 1.35 !important; margin-bottom: 20px !important; }
.single-title2 { font-size: 25px; font-weight: 900; color: var(--ht-dark); margin-bottom: 15px; }

.single-meta-card { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 15px !important; background: var(--ht-bg-light) !important; border: 1px solid var(--ht-border) !important; border-radius: 10px !important; padding: 15px !important; margin-bottom: 25px !important; }
.single-meta-thumb { width: 140px !important; height: 110px !important; flex-shrink: 0 !important; border-radius: 8px !important; overflow: hidden !important; background: var(--ht-border) !important; }
.single-meta-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.single-meta-info { display: flex !important; flex-direction: column !important; gap: 6px !important; font-size: 0.88rem !important; color: #475569 !important; flex-grow: 1 !important; }
.single-meta-item { display: flex !important; align-items: center !important; gap: 6px !important; }
.single-meta-label { font-weight: 600 !important; color: #1e293b !important; }
.single-meta-item a { color: #0284c7 !important; text-decoration: none !important; font-weight: 600 !important; }

.breadcrumb-container { width: 100% !important; margin-top: 6px !important; padding-top: 6px !important; border-top: 1px dashed #cbd5e1 !important; font-size: 0.85rem !important; }

.single-body { font-size: 1.05rem !important; line-height: 1.85 !important; color: #334155 !important; }
.single-body p { margin-bottom: 1.6rem !important; }

/* Text To Speech Container */
.hikayetema-tts { display: flex; align-items: center; background: var(--ht-dark); padding: 12px 25px; border-radius: 8px; gap: 15px; margin-bottom: 30px; }
.hikayetema-tts button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 0; transition: color 0.2s; }
.hikayetema-tts button:hover { color: var(--ht-primary); }
.hikayetema-progress { flex-grow: 1; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; position: relative; }
.hikayetema-progress span { position: absolute; left: 0; top: 0; height: 100%; background: #0d6efd; width: 0%; transition: width 0.1s linear; }
.hikayetema-time { color: #fff; font-size: 12px; font-weight: 700; }
.hikayetema-volume { width: 80px; accent-color: #0d6efd; cursor: pointer; }

/* WordPress Article Media Rules (Optimized & Consolidated) */
.single-body img, 
.single-body figure img, 
.single-body p img, 
.page-article img, 
.wp-block-image img { max-width: 100% !important; height: auto !important; display: inline-block !important; margin: 15px auto !important; border-radius: 12px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; clear: none !important; }

.single-body .alignleft, .entry-content img.alignleft, .entry-content img.align-left { float: left !important; margin: 5px 20px 20px 0 !important; display: inline !important; }
.single-body .alignright, .entry-content img.alignright, .entry-content img.align-right { float: right !important; margin: 5px 0 20px 20px !important; display: inline !important; }
.single-body .aligncenter, .entry-content img.aligncenter { float: none !important; display: block !important; margin-left: auto !important; margin-right: auto !important; }

.wp-caption-text, figcaption { text-align: center !important; font-size: 13px !important; color: #888 !important; font-style: italic !important; margin-top: -10px !important; margin-bottom: 20px !important; display: block !important; }

/* Share & Comments */
.share-box { margin-top: 50px; margin-bottom: 40px; }
.sharetitle { font-size: 18px; font-weight: 900; color: var(--ht-dark); margin-bottom: 15px; display: block; }
.share-buttons { display: flex; gap: 10px; }
.share-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #f4f6f8; color: #666; transition: transform 0.2s, background-color 0.2s, color 0.2s; }
.share-btn:hover { color: #fff; transform: translateY(-3px); }
.share-btn.fb:hover { background: #3b5998; }
.share-btn.tw:hover { background: #1da1f2; }
.share-btn.wa:hover { background: #25d366; }
.share-btn.in:hover { background: #0077b5; }

.fx-comments { margin-top: 40px; }
.comments-title { font-size: 24px; font-weight: 800; color: var(--ht-dark); margin-bottom: 20px; }
.comment-box { background: #fdfdfd; border: 1px solid #eef2f5; border-radius: 8px; padding: 20px; display: flex; gap: 15px; margin-bottom: 15px; }
.comment-avatar { width: 45px; height: 45px; flex-shrink: 0; background: var(--ht-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; }
.comment-content { flex-grow: 1; }
.comment-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.comment-head strong { color: var(--ht-dark); font-size: 15px; }
.comment-head small { color: #888; font-size: 12px; }
.comment-content p { color: #555; margin: 0; font-size: 15px; }
.comment-form-box { background: #fff; border: 1px solid #eef2f5; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.comment-form-box .form-control { border: 1px solid #e0e0e0; padding: 12px 15px; border-radius: 8px; font-size: 15px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.02); }
.comment-form-box .form-control:focus { border-color: var(--ht-primary); box-shadow: 0 0 0 3px rgba(242,157,56,0.1); outline: none; }
.btn-warning { background-color: var(--ht-primary); border-color: var(--ht-primary); }
.btn-warning:hover { background-color: var(--ht-primary-hover); border-color: var(--ht-primary-hover); }

/* Related Posts Module */
.custom-related-posts { background: var(--ht-bg-light) !important; border: 1px solid var(--ht-border) !important; border-radius: 10px !important; padding: 24px !important; margin-top: 40px !important; border-left: 5px solid #048ef2 !important; }
.related-title { font-size: 1.15rem !important; font-weight: 700 !important; color: #0f172a !important; margin-bottom: 16px !important; padding-bottom: 10px !important; border-bottom: 2px solid var(--ht-border) !important; text-transform: uppercase; }
.related-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.related-item { border-bottom: 1px solid #eee; }
.related-item:last-child { border-bottom: none; }
.related-link { display: block; padding: 12px 5px; color: #467dd0; text-decoration: none; transition: padding-left 0.2s, color 0.2s; font-size: 15px; }
.related-link:hover { color: #0073aa; background-color: #fff; padding-left: 15px; }
.related-icon { color: #bbb; margin-right: 8px; font-weight: normal; }

.related-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 10px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.related-grid .related-item .related-link { display: block !important; padding: 10px 14px !important; background: #fff !important; border: 1px solid var(--ht-border) !important; border-radius: 6px !important; color: #0284c7 !important; text-decoration: none !important; font-size: 0.9rem !important; font-weight: 500 !important; }

/* SEO & FAQ */
.seo-box { background: linear-gradient(135deg, #f0f7fb 0%, #fdf8f0 100%); border-radius: 16px; border: 1px solid #e8f0f5; padding: 25px; }
.seo-title { font-size: 24px; font-weight: 900; color: var(--ht-dark); }
.seo-box p { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 15px; }
.seo-box p:last-child { margin-bottom: 0; }

.faq-title { font-size: 26px; font-weight: 900; color: var(--ht-dark); }
.faq-header { font-size: 1.5rem; font-weight: bold; color: #8a5100; margin-bottom: 10px; position: relative; }
.faq-header::after { content: ""; display: block; width: 250px; height: 4px; background-color: #8a5100; margin-top: 5px; }
.faq-item { border: 1px solid #e0e0e0; border-radius: 6px; margin-bottom: 10px; padding: 15px; background-color: #f8f9fa; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.faq-item h3 { font-size: 1.1rem; font-weight: bold; color: #8a5100; margin-bottom: 8px; }
.faq-item p { font-size: 0.95rem; color: #555; margin: 0; }

.accordion-item { border: none; margin-bottom: 12px; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; }
.accordion-button { font-weight: 800; color: #333; background-color: #fff; padding: 20px; border-radius: 8px !important; box-shadow: none !important; font-size: 16px; }
.accordion-button:not(.collapsed) { background-color: #fff; color: #333; }
.accordion-body { padding: 0 20px 20px 20px; color: #555; line-height: 1.7; font-size: 15px; }

/* Tables */
table { border-collapse: collapse !important; width: 100%; }
table th, table td { border: 1px solid #ccc !important; }

.table-container { max-width: 800px; margin: 0 auto; padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); border: 1px solid #e0e0e0; }
.table-title { font-size: 1.5rem; font-weight: bold; color: #8a5100; margin-bottom: 20px; text-align: center; }
.work-schedule { width: 100%; border-collapse: collapse; }
.work-schedule th { background-color: #8a5100; color: #fff; text-align: left; padding: 10px; font-size: 1rem; }
.work-schedule td { padding: 10px; font-size: 0.95rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.work-schedule tr:nth-child(even) { background-color: #f8f9fa; }
.work-schedule tr:hover { background-color: #f1f1f1; }
.work-schedule td:last-child { font-weight: bold; color: #8a5100; }

/* Custom Selector & Dropdown */
.askerlik-sorgu-container { background: #f5f8fb; border: 1px solid #e1e4e8; border-radius: 12px; padding: 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.sorgu-baslik { color: var(--ht-dark); font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; }
.sorgu-alt-metin { color: #7f8c8d; font-size: 0.95rem; margin-bottom: 25px; }

.city-selector-wrapper { position: relative; max-width: 300px; margin: 0 auto; }
.city-checkbox { display: none; }
.city-button { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #f8f9fa; color: #333; border: 2px solid #34495e; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background-color 0.2s; }
.city-button:hover { background: #eee; }
.city-dropdown-content { position: absolute; top: 105%; left: 0; width: 100%; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 1000; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.city-checkbox:checked ~ .city-dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }
.city-checkbox:checked ~ .city-button .city-arrow { transform: rotate(180deg); }
.city-list { list-style: none; padding: 0; margin: 0; max-height: 750px; overflow-y: auto; text-align: left; }
.city-list li a { display: block; padding: 10px 20px; color: #333; text-decoration: none; border-bottom: 1px solid #f1f1f1; }
.city-list li a:hover { background: #f1f8ff; color: #0073aa; }
.city-arrow { font-size: 0.6rem; transition: transform 0.2s; }

/* Coloring App / Boyama App Module */
.ht-boyama-wrapper { margin-top: 40px; }
.ht-boyama-top-box { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.ht-box-label { font-size: 13px; color: #777; margin-bottom: 12px; display: block; font-weight: 600; }
.ht-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.ht-action-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 8px; font-weight: 800; font-size: 15px; text-decoration: none !important; color: #fff !important; transition: transform 0.2s, box-shadow 0.2s; }
.ht-action-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }
.ht-btn-blue { background: #1d78b8; box-shadow: 0 4px 0 #155c8d; }
.ht-btn-green { background: #5cb85c; box-shadow: 0 4px 0 #449d44; }
.ht-btn-red { background: #d9534f; box-shadow: 0 4px 0 #c9302c; }
.ht-btn-purple { background: #8b5cf6; box-shadow: 0 4px 0 #7047d4; }
.ht-info-banner { background: #fff; border: 1px dashed #ccc; border-radius: 8px; padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ht-info-banner span { font-size: 14px; color: #444; }
.ht-close-btn { background: none; border: none; font-size: 18px; color: #999; cursor: pointer; line-height: 1; }
.ht-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.ht-meta-card { background: #f8f9fa; border-radius: 8px; padding: 15px; display: flex; flex-direction: column; gap: 5px; }
.ht-meta-card span { font-size: 12px; color: #888; font-weight: 700; }
.ht-meta-card strong { font-size: 13px; color: #333; font-weight: 900; }
.ht-boyama-title { font-size: 26px; font-weight: 900; color: var(--ht-dark); margin-bottom: 20px; }
.ht-boyama-app { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.ht-toolbar { background: #fff; border-radius: 12px; margin-bottom: 15px; }
.ht-tools-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ht-tool-btn { background: #fff; border: 1px solid #ddd; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; color: #555; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px; }
.ht-tool-btn:hover { background: #f8f9fa; border-color: #ccc; }
.ht-tool-btn.active { background: #eef5ff; border-color: #0d6efd; color: #0d6efd; }
.ht-tool-color-wrapper { position: relative; display: inline-block; }
#toolRenkPicker { position: absolute; opacity: 0; width: 0; height: 0; }
.ht-canvas-wrapper { border: 2px dashed #e2e8f0; border-radius: 12px; background: #f8f9fa; overflow: hidden; display: flex; justify-content: center; align-items: center; width: 100%; max-height: 600px; }
#bCanvas { max-width: 100%; height: auto; background: #fff; cursor: crosshair; }

.ht-boyama-app:-webkit-full-screen, .ht-boyama-app:fullscreen { background: #fff !important; width: 100vw !important; height: 100vh !important; padding: 20px; overflow: auto; display: flex; flex-direction: column; }
.ht-boyama-app:-webkit-full-screen .ht-canvas-wrapper, .ht-boyama-app:fullscreen .ht-canvas-wrapper { flex-grow: 1; max-height: none; }

/* Footer Menu */
.footer-menu-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px; }
.footer-menu-container .nav-link { display: flex; align-items: center; text-decoration: none; color: #333; font-size: 14px; transition: color 0.2s ease; }
.footer-menu-container .nav-link i { margin-right: 8px; }
.footer-menu-container .nav-link:hover { color: #0073aa; }

/* Layout Adjustments & Animations */
main.px-4 { padding-left: 10px !important; padding-right: 10px !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .fxlist { grid-template-columns: 1fr; }
  .navbar-nav .sub-menu { position: static; box-shadow: none; border: none; padding-left: 15px; display: none; background: transparent; border-left: 2px solid #eee; margin-left: 15px; margin-top: 10px; }
  .navbar-nav .menu-item-has-children:hover > .sub-menu { display: block; }
}

@media (max-width: 768px) {
  .fxlist-item { flex-direction: row !important; align-items: center !important; gap: 12px !important; padding: 12px !important; }
  .fxlist-thumb { flex: 0 0 120px !important; width: 120px !important; height: 90px !important; margin-bottom: 0 !important; }
  .fxlist-body { flex: 1 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
  .fxlist-title { font-size: 15px !important; margin-bottom: 5px !important; line-height: 1.2 !important; }
  .fxlist-excerpt { font-size: 13px !important; -webkit-line-clamp: 2 !important; margin-bottom: 0 !important; }
  
  .ht-action-grid, .ht-meta-grid { grid-template-columns: repeat(2, 1fr); }
  
  .single-article-card { padding: 15px !important; }
  .single-title { font-size: 1.4rem !important; }
  .single-meta-card { padding: 10px !important; gap: 10px !important; }
  .single-meta-thumb { width: 100px !important; height: 100px !important; }
  .single-meta-info { font-size: 0.78rem !important; gap: 4px !important; }
  .related-grid { grid-template-columns: 1fr !important; }

  .single-body .alignleft, .single-body .alignright, .entry-content img.alignleft, .entry-content img.alignright { float: none !important; display: block !important; margin-left: auto !important; margin-right: auto !important; max-width: 100% !important; }
}

@media (max-width: 480px) {
  .ht-action-grid { grid-template-columns: 1fr; }
}
/* Tek Renk Açık Mavi Footer Tasarımı */
.hikayetema-footer {
    background-color: #f5f8fb;
    color: #0c4a6e;
    font-size: 14px;
    border-top: 3px solid #375867;
    box-shadow: 0 -4px 15px rgba(14, 165, 233, 0.1);
}

.footer-container {
    max-width: 1100px;
}

/* Link Stilleri */
.footer-menu-container .footer-link {
    color: #0369a1 !important;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.footer-menu-container .footer-link:hover {
    color: #ffffff !important;
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.footer-menu-container .footer-link i {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Çizgi Bölücü */
.footer-divider {
    height: 1px;
    background-color: #bae6fd;
}

/* Telif Hakları ve Marka */
.copyright-text {
    font-size: 13.5px;
    color: #0c4a6e;
}

.brand-name {
    color: #0284c7;
    font-weight: 700;
}

/* Performans Metni */
.site-performance-info {
    color: #0369a1;
    font-size: 12px;
}

.site-performance-info strong {
    color: #0c4a6e;
}

hr {
  /* Bootstrap'in varsayılan kenarlık ve opaklığını tamamen kapatıyoruz */
  border: none !important;
  border-top: none !important;
  opacity: 1 !important;
  
  /* Yeni stil değerlerimiz */
  height: 2px !important;
  background: linear-gradient(to right, transparent, #0769bf, transparent) !important;
  margin: 2rem 0 !important;
  display: block !important;
}