/*
 Theme Name: Siyasi Lugat
 Theme URI: https://siyasilugat.com
 Author: Fil Necati
 Author URI: https://siyasilugat.com
 Description: Siyasi figürlerin söylemlerini analiz eden, temiz ve modern bir sözlük teması.
 Version: 5.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: siyasilugat
 Tags: dictionary, political, clean, responsive, blog
*/

/* --- TEMEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fc;
    color: #343a40;
    line-height: 1.8;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

section {
    margin-bottom: 40px;
}

h1, h2, h3, h4, h5, h6 {
    color: #003087;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: #003087;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid #D32F2F;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    color: #D32F2F;
    text-transform: uppercase;
}

a {
    color: #D32F2F;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #003087;
    text-decoration: underline;
}

/* --- İÇERİK ALANLARI İÇİN TAŞMA DÜZELTMELERİ --- */
.entry-content,
.page-content,
.comment-content,
.usage-example-item {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* --- DUYARLI MEDYA (RESİM & VİDEO) --- */
.entry-content img,
.page-content img,
.comment-content img,
.usage-example-item img,
.entry-content figure,
.page-content figure,
.comment-content figure,
.usage-example-item figure,
.wp-caption {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}
.responsive-video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 1.5em;
}
.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- HEADER --- */
header.site-header {
    background-color: #003087;
    color: #FFFFFF;
    padding: 10px 20px;
    position: relative;
    z-index: 1001;
}
header.site-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
}
header.site-header .site-branding {
    margin: 0;
    line-height: 1;
}
header.site-header .site-branding a {
    font-size: 1.8rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
}
header.site-header .site-branding img {
    max-width: 180px;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

.header-user-actions {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    gap: 15px;
}
.header-user-actions a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 4px;
}
.header-user-actions a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* --- NAVIGATION --- */
.main-navigation {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    z-index: 1000;
}
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-navigation ul li {
    position: relative;
}
.main-navigation ul li a {
    display: block;
    padding: 10px;
    font-size: 1rem;
    color: #343a40;
}
.main-navigation .menu-item-has-children > a {
    position: relative;
    padding-right: 25px;
}
.main-navigation .menu-item-has-children > a::after {
    content: '▾';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #aaa;
    transition: transform 0.2s ease;
}
.main-navigation .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}
.main-navigation ul li a:hover {
    color: #003087;
}
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.main-navigation .sub-menu li {
    min-width: 200px;
}
.main-navigation .sub-menu li a {
    padding: 10px;
}
.main-navigation .menu-item-has-children:hover > .sub-menu {
    display: block;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: 4px;
}
.hamburger span {
    background-color: #003087;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- SEARCH FORM --- */
.site-search {
    padding: 20px;
    background-color: #fff;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.search-form .search-field-wrapper {
    flex-basis: 100%;
}
.search-form .search-filter {
    flex-basis: 100%;
}
.search-form input[type="search"],
.search-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
.search-form .search-submit {
    background-color: #D32F2F;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.search-form .search-submit:hover {
    background-color: #003087;
}
#live-search-results {
    position: absolute;
    top: 100%;
    right: 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: calc(100% - 40px);
    max-width: 600px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}
#live-search-results ul {
    list-style: none;
}
#live-search-results li {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}
#live-search-results li:last-child {
    border-bottom: none;
}
#live-search-results a {
    display: block;
    color: #343a40;
}
#live-search-results a:hover {
    color: #D32F2F;
}
.no-results {
    padding: 10px;
    color: #6c757d;
}

/* --- GLOSSARY LIST & SINGLE --- */
.glossary-list {
    display: block;
}
.glossary-item {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.1);
    transition: transform 0.2s;
    padding: 30px;
    margin-bottom: 30px;
}
.glossary-item:hover {
    transform: scale(1.02);
}
.glossary-item h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}
.glossary-item .entry-content {
    font-size: 0.9rem;
}
.glossary-item .meta-box {
    margin-top: 10px;
    font-size: 0.85rem;
}
.glossary-item .meta-box p {
    margin: 0;
}
.glossary-item .meta-box a {
    margin-right: 5px;
}
.glossary-single-entry {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 40px;
}
.entry-meta-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.entry-meta-bar .meta-item {
    font-size: 0.9rem;
}
.entry-meta-bar .meta-item strong {
    margin-right: 5px;
}
.entry-meta-bar .meta-item a {
    margin-right: 5px;
}

/* --- Paragraf Boşlukları --- */
.entry-content p,
.page-content p,
.archive-description-box p {
    margin-bottom: 1.5em !important;
}
.entry-content p:last-child,
.page-content p:last-child,
.archive-description-box p:last-child {
    margin-bottom: 0 !important;
}

/* --- CTA Buton --- */
.cta-button {
    background-color: #D32F2F;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}
.cta-button:hover {
    background-color: #003087;
    color: #fff;
}

/* --- Like/Dislike Stilleri --- */
.like-dislike {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.like-button, .dislike-button {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-size: 0.9rem;
}
.like-button:hover {
    background-color: #D32F2F;
    color: #fff;
}
.dislike-button:hover {
    background-color: #003087;
    color: #fff;
}
.like-count, .dislike-count {
    margin-left: 5px;
    font-weight: bold;
}
.like-button.user-liked, 
.dislike-button.user-disliked {
    font-weight: bold;
}
.like-button.user-liked {
    background-color: #D32F2F;
    color: #fff;
    border-color: #c12929;
}
.dislike-button.user-disliked {
    background-color: #003087;
    color: #fff;
    border-color: #00266a;
}

/* --- FOOTER & SOCIAL --- */
.site-footer {
    background-color: #003087;
    color: #fff;
    padding: 20px;
    text-align: center;
}
.site-footer a {
    color: #fff;
}
.site-footer a:hover {
    color: #D32F2F;
}
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.share-buttons strong {
    margin-right: 10px;
}
.share-buttons a {
    padding: 5px 10px;
    background-color: #f8f9fa;
    color: #343a40;
    border-radius: 4px;
}
.share-buttons a:hover {
    background-color: #D32F2F;
    color: #fff;
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
    margin: 20px 0;
    font-size: 0.9rem;
}
.breadcrumbs a {
    margin-right: 5px;
}
.breadcrumbs span {
    margin: 0 5px;
}

/* --- ARCHIVE & HOME --- */
.archive-header {
    margin-bottom: 30px;
}
.alpha-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.alpha-nav a {
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
.alpha-nav a:hover {
    background-color: #D32F2F;
    color: #fff;
}
.home-intro {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}
.home-cta {
    text-align: center;
}

.archive-description-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.05);
}
.archive-description-box h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #D32F2F;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- COMMENTS --- */
.comments-area {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}
.comment-list {
    list-style: none;
}
.comment-body {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}
.comment-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.comment-author {
    display: flex;
    align-items: center;
}
.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
}
.comment-author .fn {
    font-weight: bold;
}
.comment-metadata {
    font-size: 0.85rem;
    color: #6c757d;
}
.comment-content {
    margin-bottom: 10px;
}
.reply a {
    font-size: 0.85rem;
    color: #D32F2F;
}
.reply a:hover {
    color: #003087;
}
.comment-respond {
    margin-top: 20px;
}
.comment-form-comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
.comment-form input[type="submit"] {
    background-color: #D32F2F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
}
.comment-form input[type="submit"]:hover {
    background-color: #003087;
}

/* --- MODAL --- */
#login-modal-overlay, #report-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
}
#login-modal, #report-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    z-index: 1001;
    max-width: 450px;
    width: 90%;
    display: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
#login-modal .close-modal, #report-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
}
#login-modal .close-modal:hover, #report-modal .close-modal:hover {
    color: #343a40;
}
#login-modal .form-container {
    display: none;
}
#login-modal .form-container.active {
    display: block;
}

/* Genel form stilleri */
#login-modal form p, #report-modal form p, .suggest-term-form p {
    margin-bottom: 15px;
}
#login-modal label, #report-modal label, .suggest-term-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
#login-modal input[type="text"],
#login-modal input[type="email"],
#login-modal input[type="password"],
#report-modal input[type="text"],
#report-modal textarea,
.suggest-term-form input[type="text"],
.suggest-term-form textarea,
.suggest-term-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}
#report-modal input[type="text"][readonly] {
    background-color: #f1f1f1;
    cursor: not-allowed;
}

#login-modal input[type="submit"],
#report-modal input[type="submit"],
.suggest-term-form input[type="submit"] {
    background-color: #D32F2F;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s;
}
#login-modal input[type="submit"]:hover,
#report-modal input[type="submit"]:hover,
.suggest-term-form input[type="submit"]:hover {
    background-color: #003087;
}
#login-modal input[type="submit"]:disabled,
#report-modal input[type="submit"]:disabled,
.suggest-term-form input[type="submit"]:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}
.modal-toggle-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}
.modal-messages {
    display: none;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
}
.modal-messages p {
    margin: 0;
}
.modal-messages.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.modal-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px; 
}
.pagination a, .pagination span {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #343a40;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.pagination a:hover {
    background-color: #D32F2F;
    color: #fff;
}
.pagination .current {
    background-color: #003087;
    color: #fff;
    font-weight: bold;
}

/* --- YENİ EKLENEN VE DÜZENLENEN BÖLÜMLER İÇİN STİLLER --- */

/* Haftanın Terimi (front-page.php) */
.featured-term-section {
    background-color: #e9ecef;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #dee2e6;
}
h2.featured-term-title {
    text-align: center;
    border-bottom: none;
    margin-bottom: 30px;
    font-size: 2.2rem;
}
.featured-term-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    text-align: center;
}
.featured-term-item h3 a {
    color: #003087;
    text-decoration: none;
}
.featured-term-item .entry-content {
    margin: 20px 0;
    font-size: 1.1rem;
}
.cta-button-secondary {
    background-color: transparent;
    color: #003087;
    padding: 8px 16px;
    border-radius: 5px;
    border: 2px solid #003087;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}
.cta-button-secondary:hover {
    background-color: #003087;
    color: #fff;
    text-decoration: none;
}

/* Bildir Butonu (single-glossary_term.php) */
.report-post-container {
    margin-top: 15px;
    text-align: right;
}
a.report-post-trigger {
    color: #6c757d;
    font-size: 0.85em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
a.report-post-trigger:hover {
    color: #D32F2F;
    text-decoration: underline;
}

/* Kişi Karnesi Stilleri (archive.php) */
.person-report-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.1);
}
.person-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.person-card-header .person-image img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #003087;
}
.person-card-header h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.person-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.person-chart-container, .person-wordcloud-container {
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
.person-chart-container h3, .person-wordcloud-container h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #343a40;
}
.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}
#wordCloudCanvas {
    width: 100% !important;
    height: 300px !important;
}

/* Gelişmiş Sıralama ve Arşiv Kontrolleri (archive.php) */
.archive-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 30px;
}
.sorting-container {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.sorting-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sorting-form label {
    font-weight: bold;
}
.sorting-form select {
    padding: 5px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f8f9fa;
}
.alpha-nav {
    margin-bottom: 0;
}

/* Kullanım Örnekleri Kutusu (single-glossary_term.php) */
.usage-examples-wrapper {
    margin: 40px 0;
}
.usage-examples-wrapper h2 {
    border-bottom: 2px solid #D32F2F;
    padding-bottom: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.usage-example-item {
    background-color: #f8f9fa;
    border-left: 5px solid #003087;
    padding: 20px;
    margin-bottom: 20px;
    color: #343a40;
    line-height: 1.9;
}
.usage-example-item:last-child {
    margin-bottom: 0;
}
.usage-example-item p:last-child {
    margin-bottom: 0 !important;
}


/* Karşılaştırma Aracı Stilleri (page-comparison.php) */
.comparison-tool-intro p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 2em;
}
.comparison-tool-form-container {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid #dee2e6;
}
.comparison-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.person-selector {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.person-selector label {
    font-weight: bold;
    margin-bottom: 5px;
}
.person-selector select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.vs-separator {
    font-size: 2rem;
    font-weight: bold;
    color: #D32F2F;
}
.submit-button input {
    padding: 10px 20px;
    background-color: #D32F2F;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}
.submit-button input:hover {
    background-color: #003087;
}
.comparison-results {
    margin-top: 40px;
}
.comparison-results h2 {
    text-align: center;
}
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.result-column {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.result-column.common {
    background-color: #e9ecef;
    border-color: #003087;
}
.result-column h3 {
    text-align: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    font-size: 1.2rem;
}
.result-column ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.result-column li {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.result-column li:last-child {
    border-bottom: none;
}
.result-column li a:hover {
    text-decoration: none;
    color: #003087;
}

/* BLOG YAZILARI İÇİN STİLLER (YENİ) --- */
.standard-post-entry {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}
.post-thumbnail {
    margin-bottom: 30px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.standard-post-entry .entry-header {
    padding: 0 30px;
}
.standard-post-entry .entry-title {
    font-size: 2.8rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
}
.standard-post-entry .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.standard-post-entry .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.standard-post-entry .entry-meta a {
    color: #343a40;
    text-decoration: none;
}
.standard-post-entry .entry-meta a:hover {
    color: #D32F2F;
}
.standard-post-entry .entry-content {
    font-size: 1.1rem;
    padding: 0 30px;
}
.standard-post-entry .entry-footer {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding: 20px 30px 30px 30px;
}
.tags-links {
    margin-bottom: 20px;
}
.tags-links .tags-title {
    font-weight: bold;
    margin-right: 10px;
}
.tags-links a {
    display: inline-block;
    background-color: #e9ecef;
    color: #343a40;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 2px;
    font-size: 0.85em;
    text-decoration: none;
}
.tags-links a:hover {
    background-color: #003087;
    color: #fff;
}
.blog-post-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    height: 100%;
}
.blog-post-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.post-thumbnail-archive {
    flex-shrink: 0;
    height: 180px;
}
.post-thumbnail-archive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.post-content-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-post-item .entry-header h3 a {
    color: #003087;
    text-decoration: none;
}
.blog-post-item .entry-meta {
    font-size: 0.8em;
    color: #6c757d;
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.blog-post-item .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-post-item .entry-content {
    margin: 15px 0;
    flex-grow: 1;
}
.blog-post-item .entry-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.related-posts {
    margin-top: 40px;
}
.related-posts .post-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- SON YAZILAR SLIDER BÖLÜMÜ --- */
.latest-posts-section {
    background-color: #003087;
    padding: 60px 0;
    color: #fff;
}
.latest-posts-section h2 {
    color: #fff;
    text-align: center;
    border-bottom-color: rgba(255,255,255,0.3);
}
.swiper-latest-posts {
    padding: 10px 0 40px 0;
}
.latest-posts-section .swiper-slide {
    height: auto;
}
.latest-posts-section .blog-post-item {
    margin-bottom: 0;
}
.latest-posts-section .blog-post-item .post-content-wrap,
.latest-posts-section .blog-post-item h3 a,
.latest-posts-section .blog-post-item .entry-meta,
.latest-posts-section .blog-post-item .entry-content p,
.latest-posts-section .blog-post-item .entry-meta a {
    color: #343a40;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    top: 50%;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .container { padding: 0; }
    .glossary-single-entry, .glossary-item, .home-intro, .archive-header, .page-content, .comments-area, .archive-description-box, .standard-post-entry, .blog-post-item {
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .site-search { padding: 10px; }
    .search-form { flex-wrap: wrap; gap: 8px; }
    .search-form .search-filter { flex-basis: 100%; }
    .search-form .search-field-wrapper { flex-basis: 100%; }
    .search-form .search-submit { flex-basis: calc(30% - 4px); flex-grow: 1; }
    #live-search-results { right: 10px; left: auto; width: calc(100% - 20px); }
    
    .header-user-actions.desktop-only { display: none; }
    .mobile-user-link { display: block; }
    .hamburger {
        display: flex;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }
    .hamburger span {
        background-color: #fff;
    }
    
    nav.main-navigation ul#primary-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #D32F2F;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        max-height: calc(100vh - 70px); 
    }
    nav.main-navigation ul#primary-menu.active { display: flex; }
    nav.main-navigation ul li {
        padding: 0;
        position: relative;
    }
    nav.main-navigation ul li a {
        color: #fff;
        padding: 12px 20px;
        width: 100%;
    }
    nav.main-navigation .menu-item-has-children > a::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5em;
        font-weight: bold;
        color: #fff;
        line-height: 1;
    }
    .main-navigation .menu-item-has-children.submenu-active > a::after {
        content: '−';
    }

    nav.main-navigation .sub-menu {
        position: static;
        display: none;
        background-color: #b72a2a;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }
    nav.main-navigation .sub-menu li {
        padding: 0;
    }
    nav.main-navigation .sub-menu li a {
        color: #fff;
        padding: 10px 20px;
    }
    nav.main-navigation .sub-menu li a:hover {
        color: #f8f9fa;
    }
    
    header.site-header .container {
        justify-content: center;
        position: relative;
    }
    header.site-header .site-branding {
        text-align: center;
        flex-grow: 1;
    }
    header.site-header .site-branding a { font-size: 1.6rem; }
    header.site-header .site-branding img {
        max-width: 180px;
        max-height: 40px;
        width: auto;
        height: auto;
        display: block;
    }
    
    .entry-meta-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .share-buttons strong { flex-basis: 100%; text-align: center; }
    .share-buttons a { flex-grow: 1; text-align: center; }
    
    .entry-content {
        font-size: 1.1rem;
        line-height: 1.8;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .glossary-single-entry {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Yeni Özellikler İçin Mobil Uyum */
    .person-card-body {
        grid-template-columns: 1fr;
    }
    .comparison-form {
        flex-direction: column;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .archive-controls,
    .person-report-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .report-post-container {
        text-align: center;
        margin-top: 20px;
    }
    .standard-post-entry .entry-title {
        font-size: 2rem;
    }
    .related-posts .post-list {
        grid-template-columns: 1fr;
    }
    .blog-post-item {
        flex-direction: column;
    }
    .latest-posts-section .post-list {
        grid-template-columns: 1fr;
    }
}

/* --- ÖZEL LIGHTBOX (RESİM BÜYÜTME) STİLLERİ (YENİDEN YAZILDI) --- */
.siyasilugat-lightbox-overlay,
.siyasilugat-lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Varsayılan olarak tamamen gizli ve görünmez */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.siyasilugat-lightbox-overlay {
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99998;
    cursor: pointer;
}
.siyasilugat-lightbox-container {
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95); /* Hafif küçültme efekti için */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* JavaScript ile .active sınıfı eklendiğinde görünür hale gelir */
.siyasilugat-lightbox-overlay.active,
.siyasilugat-lightbox-container.active {
    opacity: 1;
    visibility: visible;
}
.siyasilugat-lightbox-container.active {
    transform: scale(1); /* Orijinal boyutuna geri döner */
}

.siyasilugat-lightbox-container img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
}
.siyasilugat-lightbox-close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: rgba(30,30,30,0.7);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.siyasilugat-lightbox-close:hover {
    transform: scale(1.1);
    background-color: rgba(211, 47, 47, 0.9);
}