/* Quatro News Theme - Exact Copy v2.0 */

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* === Header === */
.header-navbar-wrapper {
    background-color: #c41230;
    background: linear-gradient(to bottom, #c41230 0%, #b01028 100%);
    border: none;
    margin: 0;
    padding: 0;
}

body.contact-page #header-navbar-wrapper,
body.static-page #header-navbar-wrapper,
body.error-page #header-navbar-wrapper {
    margin-top: -24px;
}


.error-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 72px 32px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 20%),
        linear-gradient(145deg, rgba(78, 6, 18, 0.92), rgba(177, 15, 41, 0.92));
    box-shadow: 0 24px 60px rgba(122, 10, 30, 0.28);
}

.error-hero::before,
.error-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.error-hero::before {
    width: 220px;
    height: 220px;
    top: -80px;
    left: -60px;
}

.error-hero::after {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -120px;
}

.error-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 110px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.error-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
}

.error-hero__text {
    max-width: 640px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.8;
}

.error-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.error-hero__primary,
.error-hero__secondary {
    min-width: 190px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 22px;
}

.error-hero__secondary {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.error-hero__secondary:hover,
.error-hero__secondary:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.navbar-default {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

#navbar-main {
    min-height: auto;
}

/* Site Branding */
.site-branding {
    padding: 0;
    margin: 0;
}

.site-branding .logo {
    display: block;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.site-branding .logo img {
    height: 90px;
    width: auto;
}

.site-branding .navbar-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin: 3px 0 0 0;
    padding: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Top Banner Ad */
.block-adv-header {
    flex: 1;
    max-width: 728px;
    margin: 0 0 0 20px;
    padding: 0;
}

.block-adv-header .block-inner {
    background: #fff;
    padding: 8px;
    border-radius: 2px;
}

.block-adv-header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navbar Header Row */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

/* Mobile Toggle */
.navbar-toggler {
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    padding: 10px 14px;
    margin: 0;
    border-radius: 3px;
    transition: background-color 0.2s;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hamburger animation when open - Bootstrap changes aria-expanded automatically */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Menu */
.navbar-collapse {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Desktop'ta menü her zaman görünür */
@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

.region-navigation-collapsible {
    width: 100%;
}

.nav.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    justify-content: flex-end;
}

.nav.navbar-nav .nav-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-item__group {
    display: flex;
    align-items: stretch;
}

.nav.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 18px 22px;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s;
    letter-spacing: 0.3px;
    border: none;
}

.nav-item--has-children > .nav-item__group > .nav-link {
    flex: 1 1 auto;
}

.nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #fff;
    transition: background-color 0.2s ease;
}

.nav-submenu-toggle:hover,
.nav-submenu-toggle[aria-expanded="true"] {
    background-color: rgba(0, 0, 0, 0.15);
}

.nav-submenu-toggle i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-item--has-children.is-open .nav-submenu-toggle i {
    transform: rotate(180deg);
}

.nav.navbar-nav .nav-link:hover,
.nav.navbar-nav .nav-link.is-active {
    background-color: rgba(0, 0, 0, 0.15);
}

/* Dropdown */
.nav-item.dropdown .dropdown-toggle::after {
    content: '';
    display: none;
}

.dropdown-menu {
    background-color: #a01028;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1200px) {
    .nav-item--has-children:hover > .dropdown-menu,
    .nav-item--has-children:focus-within > .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    padding: 0;
    margin: 0;
}

.dropdown-item a,
.dropdown-link {
    color: #fff !important;
    padding: 12px 22px;
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.dropdown-item a:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

/* Search Icon */
.navbar-search-toggle {
    color: #fff;
    font-size: 16px;
    padding: 18px 22px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s;
}

.navbar-search-toggle:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.search-modal .modal-dialog {
    margin-top: 8vh;
}

.search-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(60, 10, 20, 0.35);
}

.search-modal__content {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(145deg, #7f0c1f 0%, #b01028 55%, #d11c3d 100%);
    color: #fff;
}

.search-modal__header {
    padding: 22px 26px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.search-modal__title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.search-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
    opacity: 0.95;
}

.search-modal__body {
    padding: 18px 26px 28px;
}

.search-modal__text {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
}

.search-modal__group {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
}

.search-modal__input {
    border: 0;
    border-radius: 12px !important;
    min-height: 58px;
    background: #fff;
    box-shadow: none !important;
    padding: 0 18px;
    font-size: 1rem;
}

.search-modal__button {
    min-width: 140px;
    border: 0;
    border-radius: 12px !important;
    background: #111827;
    font-weight: 700;
}

.search-modal__button:hover,
.search-modal__button:focus {
    background: #0b1220;
}

/* === Slider Section === */
.header-wrapper {
    background: #f5f5f5;
    padding: 20px 0;
    margin-bottom: 30px;
}

.news-slider-wrapper {
    position: relative;
    background: #000;
}

.news-slider {
    background: #000;
    position: relative;
}

.slide-caption-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.slide-caption-wrapper * {
    pointer-events: auto;
}

.news-slider .slick-slide {
    outline: none;
}

.slide-item {
    position: relative;
}

.slide-content {
    position: relative;
}

.slide-media {
    position: relative;
    overflow: hidden;
}

.slide-link {
    display: block;
    text-decoration: none;
}

.slide-image-wrapper {
    position: relative;
    padding-bottom: 50%; /* 2:1 aspect ratio */
    overflow: hidden;
    background: #000;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 20px;
    z-index: 5;
}

.slide-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
}

.slide-title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.slide-title a:hover {
    opacity: 0.9;
}

/* Slick dots - SAĞ tarafta ORTA hizada DIKEY */
.news-slider .slick-dots {
    position: absolute !important;
    bottom: auto !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    width: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 10;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.news-slider .slick-dots li {
    margin: 5px 0;
    width: 10px;
    height: 10px;
    display: block;
}

.news-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
}

.news-slider .slick-dots li button:before {
    display: none;
}

.news-slider .slick-dots li.slick-active button {
    background: #fff;
}

/* Slick arrows - GİZLİ */
.news-slider .slick-prev,
.news-slider .slick-next {
    display: none !important;
}

/* Slider side ads */
.slider-ad {
    background: #e8e8e8;
    padding: 15px;
    margin-bottom: 10px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-ad img {
    max-width: 100%;
    height: auto;
    display: block;
}

.slider-ad-small {
    background: #2c2c2c;
    padding: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-ad-small img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Category News Blocks === */
.one-half {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.one-half.last {
    margin-right: 0;
}

.block-inner {
    background: #fff;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid;
}

.block-title a {
    text-decoration: none;
    color: inherit;
}

/* Block Colors */
.block-blue .block-title {
    border-color: #3498db;
    color: #3498db;
}

.block-pink .block-title {
    border-color: #e91e63;
    color: #e91e63;
}

.block-purple .block-title {
    border-color: #9c27b0;
    color: #9c27b0;
}

.block-yellow .block-title {
    border-color: #ffc107;
    color: #ffc107;
}

.block-orange .block-title {
    border-color: #ff5722;
    color: #ff5722;
}

.block-green .block-title {
    border-color: #4caf50;
    color: #4caf50;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #c41230;
}

.news-summary {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.news-title-small {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-title-small a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title-small a:hover {
    color: #c41230;
}

.news-meta {
    font-size: 13px;
    color: #95a5a6;
}

.news-meta i {
    margin-right: 5px;
}


.contact-main-content {
    padding-left: 12px;
    padding-right: 12px;
}

.contact-page-title .block-inner {
    padding: 8px 0 22px;
}

.contact-page-title .title {
    margin: 0;
    color: #111;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.contact-main-content .block-inner {
    background: none!important;
    border-radius: 3px;
    box-shadow:none!important;
    
}

.contact-main-content {
    background: #fff;
    padding:15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-page-title .block-inner {
    background: none!important;
    box-shadow:none!important;
}

.contact-page-intro .block-inner,
.contact-form-block .block-inner {
    padding: 0;
    box-shadow: none;
}

.contact-page-intro__content {
    padding: 0 0 1.75rem;
    color: #52606d;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-page-intro__content p {
    margin: 0 0 1.25rem;
}

.contact-page-info {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 0 0 1.35rem;
    padding: 10px 0 4px;
}

.contact-page-info__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.98rem;
}

.contact-page-info__item strong {
    color: #111;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-page-info__item a {
    color: #b10f29;
    text-decoration: none;
}

.contact-page-info__item a:hover {
    text-decoration: underline;
}

.contact-page-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.contact-form {
    padding: 0;
}

.contact-form .form-label {
    font-weight: 600;
    color: #111;
}

.contact-form .form-control {
    min-height: 48px;
    border-radius: 0;
    border: 1px solid #d6dbe1;
    box-shadow: none;
    font-size: 15px;
}

.contact-form textarea.form-control {
    min-height: 280px;
    padding-top: 14px;
}

.contact-form .form-control:focus {
    border-color: #b10f29;
    box-shadow: 0 0 0 0.15rem rgba(177, 15, 41, 0.08);
}

.contact-form__actions .btn {
    min-width: 220px;
    min-height: 48px;
    border-radius: 0;
    background: #b10f29;
    border-color: #b10f29;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-form__actions .btn:hover {
    background: #930c22;
    border-color: #930c22;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.category-main-content {
    background: #fff;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.category-main-content .block-inner {
    background: none !important;
    box-shadow: none !important;
    padding: 0;
}

.category-page-title .block-inner {
    padding: 8px 0 18px;
}

.category-page-title .title {
    margin: 0;
    color: #111;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.category-article {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid #eceff3;
}

.category-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.category-article__media {
    flex: 0 0 300px;
    width: 300px;
}

.category-article .views-field-field-image img {
    width: 300px;
    height: 220px;
    object-fit: cover;
    display: block;
}

.category-article__content {
    min-width: 0;
    flex: 1 1 auto;
}

.category-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    margin-bottom: 12px;
}

.category-article .views-field-created,
.category-article .views-field-comment-count {
    display: inline-flex;
    align-items: center;
    color: #98a3af;
    font-size: 0.98rem;
    margin-right: 22px;
    margin-bottom: 12px;
}

.category-article .views-field-created i {
    margin-right: 6px;
}

.category-article .views-field-title {
    margin-bottom: 12px;
}

.category-article .views-field-title a {
    color: #111;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}

.category-article .views-field-title a:hover {
    color: #b10f29;
}

.category-article .views-field-body {
    margin-bottom: 14px;
}

.category-article .views-field-body p {
    margin: 0;
    color: #5c6670;
    font-size: 1rem;
    line-height: 1.8;
}

.category-article .views-field-view-node a {
    color: #b10f29;
    text-decoration: none;
    font-weight: 700;
}

.category-article .views-field-view-node a:hover {
    text-decoration: underline;
}

.category-pagination {
    padding-top: 6px;
    border-top: 2px solid #f1d5db;
}

.category-pagination__nav {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.category-pagination__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-pagination__item {
    margin: 0;
}

.category-pagination__link,
.category-pagination__ellipsis {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b10f29;
    background: #fff;
    color: #b10f29;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-pagination__item--nav .category-pagination__link {
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    gap: 8px;
}

.category-pagination__link:hover {
    background: #b10f29;
    border-color: #b10f29;
    color: #fff;
}

.category-pagination__item.is-active .category-pagination__link {
    background: #b10f29;
    border-color: #b10f29;
    color: #fff;
}

.category-pagination__item.is-disabled .category-pagination__link,
.category-pagination__item.is-disabled .category-pagination__ellipsis {
    border-color: #e3bcc4;
    background: #faeff2;
    color: #cc96a0;
}

@media (max-width: 991px) {
    .category-main-content {
        margin-bottom: 24px;
    }

    .category-article {
        gap: 18px;
    }

    .category-article__media {
        flex-basis: 240px;
        width: 240px;
    }

    .category-article .views-field-field-image img {
        width: 240px;
        height: 176px;
    }

    .category-article .views-field-title a {
        font-size: 1.32rem;
    }
}

@media (max-width: 767px) {
    .category-main-content {
        padding: 14px;
    }

    .category-page-title .title {
        font-size: 1.8rem;
    }

    .category-article {
        flex-direction: column;
        gap: 16px;
    }

    .category-article__media,
    .category-article .views-field-field-image img {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }

    .category-article .views-field-field-image img {
        height: auto;
        aspect-ratio: 300 / 220;
    }

    .category-article .views-field-title a {
        font-size: 1.2rem;
    }

    .category-pagination__list {
        gap: 6px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .category-pagination__nav {
        margin-right: -4px;
        padding-right: 4px;
    }

    .category-pagination__link,
    .category-pagination__ellipsis {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 0.92rem;
    }

    .category-pagination__item--nav .category-pagination__link {
        padding: 0 14px;
    }
}

@media (max-width: 480px) {
    .category-main-content {
        padding: 12px;
    }

    .category-page-title .title {
        font-size: 1.55rem;
    }

    .category-article {
        gap: 14px;
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .category-article .views-field-created {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .category-article .views-field-title a {
        font-size: 1.08rem;
        line-height: 1.4;
    }

    .category-article .views-field-body p {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .category-pagination__link,
    .category-pagination__ellipsis {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 0.86rem;
    }

    .category-pagination__item--nav .category-pagination__link {
        padding: 0 12px;
        gap: 6px;
        font-size: 0.8rem;
    }
}

.related-news {
    margin-top: 3rem;
}

.author-box {
    margin-top: 2.5rem;
    background: #fff;
}

.author-box__inner {
    padding: 1.75rem 0 0;
}

.author-box__title {
    margin: 0 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #b10f29;
    color: #8e9cab;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.author-box__content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-box__avatar {
    width: 100px;
    min-width: 100px;
}

.author-box__avatar img {
    width: 100px;
    height: 100px;
    display: block;
    object-fit: cover;
}

.author-box__name {
    margin: 0 0 0.85rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
}

.author-box__bio {
    color: #4f5b67;
    font-size: 1rem;
    line-height: 1.8;
}

.author-box__bio p {
    margin: 0;
}

.related-news__title {
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #b10f29;
    color: #92a0ae;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.related-news__item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.related-news__thumb {
    width: 110px;
    min-width: 110px;
    text-decoration: none;
}

.related-news__thumb img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.related-news__content {
    min-width: 0;
    flex: 1 1 auto;
}

.related-news__headline {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
}

.related-news__headline a {
    color: #111;
    text-decoration: none;
}

.related-news__headline a:hover {
    color: #b10f29;
}

.related-news__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #9aa5b1;
    font-size: 0.95rem;
}

.related-news__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* === Main Content === */
#main-wrapper {
    min-height: 500px;
    background: #f5f5f5;
    padding: 30px 0;
}

/* === Sidebar Widgets === */
.sidebar-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41230;
    color: #2c3e50;
    text-transform: uppercase;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-widget a:hover {
    color: #c41230;
}

.market-widget {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb;
}

.market-widget h5 {
    color: #111;
    border-bottom-color: #c41230;
}

.market-widget__head,
.market-widget__row {
    display: grid;
    grid-template-columns: 1.8fr 0.7fr 1fr 0.9fr 0.9fr;
    gap: 8px;
    align-items: center;
}

.market-widget__head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 0 0 10px;
}

.market-widget__row {
    padding: 10px 0;
    border-top: 1px solid #eceff3;
    font-size: 13px;
    color: #111;
}

.market-widget__name {
    font-weight: 600;
    color: #111;
}

.market-widget__direction,
.market-widget__value,
.market-widget__change,
.market-widget__time {
    font-variant-numeric: tabular-nums;
}

.market-widget__direction--up,
.market-widget__change--up {
    color: #16a34a;
}

.market-widget__direction--down,
.market-widget__change--down {
    color: #dc2626;
}

.market-widget__direction--flat,
.market-widget__change--flat {
    color: #6b7280;
}

.market-widget__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eceff3;
    font-size: 12px;
    color: #6b7280;
}

/* Most Read Widget */
.block-most-read .views-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.block-most-read .views-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.block-most-read .views-field-field-image {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 3px;
}

.block-most-read .views-field-field-image img {
    width: 100%;
    max-width: 180px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

.block-most-read .views-field-title {
    margin: 0;
}

.block-most-read .views-field-title a {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.block-most-read .views-field-title a:hover {
    color: #c41230;
}

/* Gallery Section */
.block-grey {
    background: #f8f9fa;
    padding: 30px 0;
    margin: 30px 0;
}

.fullwidth {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.block-grey .block-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.block-grey .block-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.gallery-slider {
    margin: 0 -10px;
}

.gallery-slider .slick-slide {
    padding: 0 10px;
}

.gallery-slide {
    outline: none;
}

.gallery-slide .slide__content {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.gallery-slide .slide__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-slide .slide__content:before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.gallery-slide .slide__content:before,
.gallery-slide .slide__content:after {
    pointer-events: none;
}

.gallery-slide .slide__content:hover:before {
    opacity: 1;
}

.gallery-slide .slide__content:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-slide .slide__content:hover:after {
    opacity: 1;
}

.media--gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.media--gallery a {
    display: block;
}

/* Gallery slider navigation */
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(196, 18, 48, 0.8);
    border-radius: 50%;
    z-index: 10;
}

.gallery-slider .slick-prev:hover,
.gallery-slider .slick-next:hover {
    background: rgba(196, 18, 48, 1);
}

.gallery-slider .slick-prev {
    left: -20px;
}

.gallery-slider .slick-next {
    right: -20px;
}

.gallery-slider .slick-prev:before,
.gallery-slider .slick-next:before {
    font-size: 20px;
}

/* Tags Cloud Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-cloud .badge {
    transition: all 0.2s;
    cursor: pointer;
}

.tags-cloud .badge:hover {
    background-color: #c41230 !important;
    color: #fff !important;
    transform: scale(1.05);
}

/* Sidebar photo widget */
.sidebar-photo-widget .sidebar-photo-slider {
    margin-bottom: 0;
}

.sidebar-photo-slide {
    outline: none;
}

.sidebar-photo-slide__media {
    display: block;
    text-decoration: none;
}

.sidebar-photo-slide__media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.sidebar-photo-slide__title {
    margin-top: 12px;
}

.sidebar-photo-slide__title a {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    display: block;
}

.sidebar-photo-slide__title a:hover {
    color: #c41230;
}

.sidebar-photo-widget .slick-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
}

.sidebar-photo-widget .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.sidebar-photo-widget .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
}

.sidebar-photo-widget .slick-dots li button:before {
    font-size: 10px;
    color: #c41230;
    opacity: 0.35;
}

.sidebar-photo-widget .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #c41230;
}

/* === Footer === */
.footer {
    background: transparent;
    color: #222;
    padding: 0 0 22px;
    margin-top: 50px;
    border-top: 0;
}

.footer .footer-inner {
    background: #fff;
    padding: 28px 14px 22px;
    border-radius: 0;
    box-shadow: none;
}

.footer-branding {
    display: flex;
    justify-content: center;
    padding: 0 0 16px;
}

.footer-branding__logo {
    display: inline-flex;
    text-decoration: none;
}

.footer-branding__logo img {
    max-height: 64px;
    width: auto;
    display: block;
}

.footer #block-quatro-footer .footer-navbar-nav {
    display: flex;
    flex-direction: row !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.footer #block-quatro-footer .footer-nav-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.footer #block-quatro-footer .footer-nav-link {
    color: #000 !important;
    padding: 6px 14px !important;
    text-transform: none !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    background: transparent !important;
    display: inline-block !important;
    white-space: nowrap;
}

.footer #block-quatro-footer .footer-nav-link:hover,
.footer #block-quatro-footer .footer-nav-link.is-active {
    background: transparent !important;
    color: #000 !important;
}

.footer-divider {
    height: 2px;
    background: #ff1f1f;
    margin: 10px 0 14px;
}

.footer-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer .block-copyright,
.footer .block-social-icons {
    margin-top: 0;
    color: #000;
    font-size: 13px;
}

.footer .block-copyright .block-inner,
.footer .block-social-icons .block-inner {
    padding: 0;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-label {
    color: #000;
    white-space: nowrap;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer .block-social-icons a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
    line-height: 1;
}

.footer .block-social-icons a:hover {
    opacity: 0.7;
}

.footer .field__item p,
.footer .field__item div {
    margin: 0;
}

@media (max-width: 767px) {
    .contact-main-content {
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    .footer .footer-inner {
        padding: 22px 12px 18px;
    }

    .footer-branding {
        padding: 0 0 14px;
    }

    .footer-branding__logo img {
        max-height: 52px;
    }

    .footer #block-quatro-footer .footer-navbar-nav {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        white-space: normal;
    }

    .footer-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* === Responsive === */
@media (min-width: 1200px) {
    .navbar-nav {
        margin-left: auto;
        margin-right: 0;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }
}

@media (max-width: 1199px) {
    .block-adv-header {
        display: none !important;
    }

    .region-navigation {
        flex-direction: column;
    }
}

@media (max-width: 1199px) {
    .navbar-toggler {
        order: 3;
    }

    .site-branding {
        order: 1;
    }

    .block-adv-header {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .nav-item__group {
        display: flex;
        align-items: stretch;
    }

    .nav-item--has-children > .nav-item__group > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-item--has-children > .dropdown-menu {
        position: static !important;
        display: none;
        float: none;
        width: 100%;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
    }

    .nav-item--has-children.is-open > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    .navbar-text {
        display: none !important;
    }

    .site-branding .logo img {
        height: 40px;
    }

    .nav.navbar-nav {
        flex-direction: column;
        margin: 0;
        justify-content: flex-start;
    }

    .nav.navbar-nav .nav-link {
        padding: 12px 15px;
    }

    .related-news__title {
        font-size: 1.5rem;
    }

    .author-box__title {
        font-size: 1.45rem;
    }

    .author-box__content {
        gap: 1rem;
    }

    .author-box__avatar,
    .author-box__avatar img {
        width: 82px;
        min-width: 82px;
        height: 82px;
    }

    .author-box__name {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .author-box__bio {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .related-news__item {
        gap: 0.85rem;
    }

    .related-news__thumb,
    .related-news__thumb img {
        width: 96px;
        min-width: 96px;
        height: 72px;
    }

    .related-news__headline {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    /* Slider mobile */
    .slide-image-wrapper {
        padding-bottom: 60%; /* Daha dar aspect ratio mobilde */
    }

    .slide-title {
        font-size: 11px;
    }

    .slide-caption {
        bottom: 10px;
        left: 10px;
        max-width: 85%;
    }

    /* Dots mobilde alt tarafa yatay */
    .news-slider .slick-dots {
        top: auto !important;
        bottom: 50px !important;
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
    }

    .news-slider .slick-dots li {
        margin: 0 5px !important;
    }
}

/* === Helper Classes === */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.pull-left {
    float: left;
}

/* ============================================
   RESPONSIVE - MOBILE STYLES
   ============================================ */

/* Tablet ve altı (768px ve altı) */
@media (max-width: 768px) {
    /* Category blocks - tek sütun */
    .one-half {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }

    .one-half.last {
        margin-right: 0 !important;
    }

    /* Block inner - padding azalt */
    .block-inner {
        padding: 15px;
    }

    /* Topic news small - mobil düzen */
    .topic-news-small .news-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .topic-news-small .news-thumb {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .topic-news-small .news-thumb img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
    }

    .topic-news-small .news-info {
        width: 100%;
    }

    /* Block title - font azalt */
    .block-title {
        font-size: 18px;
    }

    /* News title small */
    .news-title-small {
        font-size: 14px;
    }

    /* Sidebar - tam genişlik */
    .sidebar {
        margin-top: 30px;
    }

    /* Gallery section */
    .block-grey {
        padding: 20px 0;
    }

    .block-grey .block-title {
        font-size: 22px;
    }

    .gallery-slider .slick-prev,
    .gallery-slider .slick-next {
        display: none !important;
    }
}
.news-content p {
    font-size: 13px!important;
    line-height: 1.6;
    color: #333;
}

.news-content h2 {
    font-size: 18px!important;
    line-height: 1.6;
    color: #333;
}

.news-content h3 {
    font-size: 16px!important;
    line-height: 1.6;
    color: #333;
}

.news-gallery .row > div a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.375rem;
    background: #f3f4f6;
}

.news-gallery .row > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-layout {
    align-items: flex-start;
}

.news-layout__main,
.news-layout__sidebar {
    align-self: flex-start;
    height: auto;
}

.comments-section {
    border-top: 1px solid #eceff3;
    padding-top: 28px;
}

.comments-section__header {
    margin-bottom: 24px;
    border-bottom: 2px solid #f1d5db;
    padding-bottom: 10px;
}

.comments-section__title {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.comments-submit-btn {
    min-width: 200px;
    min-height: 48px;
    border-radius: 0;
    background: #b10f29;
    border: 1px solid #b10f29;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comments-submit-btn:hover,
.comments-submit-btn:focus {
    background: #930c22;
    border-color: #930c22;
    color: #fff;
    box-shadow: none;
}

.comment-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.comment-list .comment:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.comment-list .comment p,
.comment-list .reply p {
    margin-bottom: 0;
}

.replies {
    margin-bottom: 0;
}


/* Mobil (576px ve altı) */
@media (max-width: 576px) {
    /* Header wrapper */
    .header-wrapper {
        padding: 10px 0;
    }

    /* Block inner - daha az padding */
    .block-inner {
        padding: 10px;
    }

    /* Block title - daha küçük */
    .block-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Topic news large */
    .topic-news-large .news-image img {
        height: 180px !important;
    }

    /* News title */
    .news-title {
        font-size: 16px;
    }

    .news-title-small {
        font-size: 13px;
    }

    /* News summary - kısalt */
    .news-summary {
        font-size: 13px;
    }

    /* News meta */
    .news-meta {
        font-size: 12px;
    }

    /* Most Read widget */
    .block-most-read .views-field-field-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 150px;
    }

    /* Slider */
    .news-slider .slide-image {
        height: 250px !important;
        object-fit: cover;
    }

    .slide-title {
        font-size: 16px !important;
    }

    /* Navigation menu - mobil */
    .navbar-nav {
        padding: 10px;
    }

    .nav-item {
        margin-bottom: 5px;
    }
}
