/* Custom CSS - HTML'den alındıktan sonra buraya eklenecek */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    font-weight: normal;
    font-size: .85rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


:root {
    --h1-font-size: 36px;
    --h2-font-size: 30px;
    --h3-font-size: 26px;
    --h4-font-size: 32px;
    --h5-font-size: 18px;
    --h6-font-size: 16px;
}


/* Contact Page Styles */
.form-main-wrapper {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.social-media-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-media-section section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.social-media-section section:last-child {
    margin-bottom: 0;
}

.social-media-section section span {
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 20px;
    flex-shrink: 0;
    margin-right: 0px;
}

.social-media-section section div h6 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.social-media-section section div p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.social-media-section section div p a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media-section section div p a:hover {
    color: #e74c3c;
}

.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h6 {
    font-size: 24px;
}

.form-input.plr-15 {
    padding: 0 15px;
}

.form-input .input-group {
    position: relative;
}

.form-input .form-control {
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

.form-input .input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    z-index: 10;
    color: #999;
}

.form-input textarea.form-control {
    padding: 12px 15px;
    resize: vertical;
    min-height: 120px;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrap input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-wrap label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.tb_es_btn_wrapper  input[type="submit"],
.tb_es_btn_wrapper button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tb_es_btn_wrapper button:hover, .tb_es_btn_wrapper  input[type="submit"]:hover {
    background: #c0392b;
}

.tb_es_btn_wrapper button span {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 991px) {
    .social-media-section {
        margin-bottom: 30px;
    }
}

/* 404 Page Styles */
.error-404-section {
    padding: 60px 0;
}

.error-404-wrapper {
    padding: 40px 20px;
}

.error-404-title {
    font-size: 120px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404-wrapper h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.error-404-wrapper p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .error-404-title {
        font-size: 80px;
    }
    
    .error-404-wrapper h2 {
        font-size: 22px;
    }
}

h1{
    font-size: var(--h1-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
h2 {
    font-size: var(--h2-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
h3 {
    font-size: var(--h3-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
h4 {
    font-size: var(--h4-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
h5 {
    font-size: var(--h5-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
h6 {
    font-size: var(--h6-font-size);
    font-weight: 600;
    margin-bottom: 20px;
}
.site-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sb_logo_wrapper img,
.mobile-logo img,
.sb_logo_wrapper img {
    max-width: 185px;
    height: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
}

.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}
p{
    margin-bottom: 14px;
    color: #555;
    font-size: 16px;
}

ul.wp-block-list {
    list-style: disc inside;
    margin-bottom: 14px;
    color: #555;
    font-size: 16px;
    padding-left: 14px;
}

/* ========================================
   EVENT CALENDAR STYLES
   ======================================== */

/* Calendar Header */
.event-calendar-section {
    background: #f9f9f9;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-year-title h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

/* Month Tabs */
.month-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.month-tab {
    flex: 1;
    min-width: 80px;
    padding: 12px 20px;
    text-align: center;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.month-tab:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.month-tab.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calendar-title {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.btn-prev, .btn-next {
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-prev:hover, .btn-next:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.calendar-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-outline {
    padding: 10px 20px;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

.year-selector select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-selector select:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Calendar Table */
.calendar-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.event-calendar thead th {
    background: #e74c3c;
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-calendar tbody td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    vertical-align: top;
    height: 120px;
    background: white;
    transition: background 0.3s ease;
}

.event-calendar tbody td:hover {
    background: #f8f9fa;
}

.calendar-day {
    position: relative;
}

.day-number {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.day-number.other-month {
    color: #ccc;
}

.calendar-day.has-event {
    background: #fff5f5 !important;
}

.calendar-day.has-event:hover {
    background: #ffe8e8 !important;
}

/* Event Items in Calendar */
.event-item {
    margin-top: 3px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-item.event-start {
    background: #3498db;
    color: white;
    font-weight: 500;
}

.event-item.event-continue {
    background: #ecf0f1;
    border-left: 3px solid #3498db;
}

.event-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.event-item strong {
    display: block;
    margin-bottom: 2px;
}

.event-location {
    font-size: 10px;
    opacity: 0.9;
    display: block;
}

/* Calendar Events List (Below Calendar) */
.calendar-events-list {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-events-list h3 {
    color: #e74c3c;
    margin-bottom: 30px;
    font-size: 26px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
}

.month-section {
    margin-bottom: 40px;
}

.month-section-title {
    color: #e74c3c;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.events-list-items {
    display: grid;
    gap: 15px;
}

.event-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.event-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-date-range {
    flex-shrink: 0;
}

.date-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.event-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.event-info h5 {
    margin: 0 0 8px 0;
    font-size: 17px;
}

.event-info h4 a,
.event-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-info h4 a:hover,
.event-info h5 a:hover {
    color: #e74c3c;
}

.event-info .event-location {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Month Events Section (Archive Page) */
.month-events-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.month-title {
    color: #e74c3c;
    font-size: 26px;
    font-weight: 600;
}

/* Events Filter Header */
.events-filter-header {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.year-filter label {
    font-size: 16px;
}

/* Responsive Design */
@medimonth-tabs {
        gap: 8px;
        padding: 15px;
    }

    .month-tab {
        min-width: 70px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .a (max-width: 992px) {
    .calendar-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .calendar-nav {
        width: 100%;
        justify-content: center;
    }

    .calendar-actions {
        width: 100%;
        justify-content: center;
    }

    .event-calendar tbody td {
        heightyear-title h2 {
        font-size: 22px;
    }

    .month-tabs {
        gap: 5px;
        padding: 10px;
    }

    .month-tab {
        min-width: 60px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .calendar-: 100px;
        padding: 5px;
    }

    .event-item {
        font-size: 10px;
        padding: 3px 5px;
    }
}

@media (max-width: 768px) {
    .calendar-title {
        font-size: 22px;
    }

    .event-calendar thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .event-calendar tbody td {
        height: 80px;
        padding: 3px;
    }

    .day-number {
        font-size: 12px;
    }

    .event-item {
        display: none; /* Hide event details on mobile, only show has-event indicator */
    }

    .calendar-day.has-event::after {
        content: '•';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        color: #e74c3c;
        font-size: 20px;
    }

    .event-list-item {
        flex-direction: column;
        gap: 10px;
    }

    .events-filter-header .row {
        text-align: center !important;
    }

    .events-filter-header .col-md-6 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .calendar-header {
        padding: 15px;
    }

    .calendar-title {
        font-size: 18px;
    }

    .btn-prev, .btn-next {
        width: 35px;
        height: 35px;
    }

    .event-calendar tbody td {
        height: 60px;
    }
}

/* ===========================================
   Yönetim Kurulu Sayfası Stilleri
   =========================================== */

/* Genel Kapsayıcı */
.yk-board {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dönem Bölümü */
.yk-period {
    margin-bottom: 40px;
}

.yk-period h2 {
    background-color: #dc3545 !important;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Tablo Yapısı */
.yk-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.yk-row {
    display: table-row;
    border-bottom: 1px solid #e9ecef;
}

.yk-row:last-child {
    border-bottom: none;
}

.yk-row:hover {
    background-color: #f8f9fa;
}

.yk-cell {
    display: table-cell;
    padding: 15px 20px;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.6;
}

.yk-cell.role {
    font-weight: 600;
    color: #2c3e50;
    width: 200px;
    background-color: #f8f9fa;
    border-right: 3px solid #dc3545;
}

/* Kapak Görseli */
.yk-board img.image_resized,
.yk-board img.figure_image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Alt Kısım (TOTBİD Şubesi) */
.yk-board .foot {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #dee2e6;
}

.yk-board .foot h2 {
    background-color: #dc3545;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .yk-board {
        padding: 10px;
    }
    
    .yk-period h2 {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .yk-table {
        display: block;
    }
    
    .yk-row {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        overflow: hidden;
    }
    
    .yk-cell {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .yk-cell:last-child {
        border-bottom: none;
    }
    
    .yk-cell.role {
        width: 100%;
        background-color: #dc3545;
        color: #fff;
        border-right: none;
        font-size: 14px;
        font-weight: 600;
    }
    
    .yk-board img.image_resized,
    .yk-board img.figure_image {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .yk-period h2 {
        font-size: 18px;
        padding: 10px 12px;
    }
    
    .yk-cell {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .yk-board .foot h2 {
        font-size: 18px;
    }
}
