/*
Theme Name: Ses Partisi
Theme URI: https://sespartisi.org/
Author: Ses Partisi Web Ekibi
Description: WordPress teması Ses Partisi ana sayfası için hazırlandı.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ses-partisi
*/

body {
    font-family: "Poppins", sans-serif;
    color: #001f42;
    background-color: #f4f6fb;
    margin: 0;
}

.sp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(7, 28, 63, 0.08);
}

.sp-header.scrolled {
    box-shadow: 0 6px 24px rgba(7, 28, 63, 0.18);
}

.sp-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
}

.sp-header .left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sp-header .logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #071c3f;
    text-transform: uppercase;
}

.sp-header .open-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #071c3f;
    font-weight: 600;
}

.sp-header .open-menu .mobile {
    display: none;
}

.sp-header .open-menu span:last-child,
.sp-header .open-menu span:nth-child(2) {
    display: inline-flex;
    width: 16px;
    height: 2px;
    background: #071c3f;
    position: relative;
}

.sp-header .open-menu span:last-child::before,
.sp-header .open-menu span:last-child::after,
.sp-header .open-menu span:nth-child(2)::before,
.sp-header .open-menu span:nth-child(2)::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    left: 0;
}

.sp-header .open-menu span:nth-child(2)::before {
    top: -6px;
}

.sp-header .open-menu span:nth-child(2)::after {
    bottom: -6px;
}

.sp-header .right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
}

.sp-header .menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-header .menu > ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.sp-header .menu a {
    color: #071c3f;
}

.sp-header .quick-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}

.sp-header .quick-menu li a {
    display: block;
    text-align: center;
    color: #071c3f;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sp-header .quick-menu li img {
    width: 42px;
    height: 42px;
    margin-bottom: 0.5rem;
}

.sp-header .close-menu {
    display: none;
}

.sp-header .close-menu a {
    display: inline-flex;
    position: relative;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.sp-header .close-menu span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #071c3f;
}

.sp-header .close-menu span:first-child {
    transform: rotate(45deg);
}

.sp-header .close-menu span:last-child {
    transform: rotate(-45deg);
}

body.menu-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 28, 63, 0.4);
    z-index: 998;
}


.front-page .main-intro {
    padding: 3rem 0 2rem;
}

.main-intro .container {
    position: relative;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro-main {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-quick-menu {
    flex: 0 0 200px;
}

.side-quick-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-quick-menu li a {
    display: block;
    padding: 1rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 31, 66, 0.08);
    transition: transform 0.3s ease;
}

.side-quick-menu li a div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.side-quick-menu li a:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.side-quick-menu li img {
    width: 42px;
    height: 42px;
}

.side-quick-menu li span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.slider {
    width: 100%;
}

.slider .content-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 31, 66, 0.12);
}

.content-card .photo {
    position: relative;
    overflow: hidden;
}

.slider .photo {
    height: auto;
}

.slider .photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.content-card .category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 92, 199, 0.9);
    color: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slider .info {
    padding: 1.75rem;
}

.slider .top-info {
    display: grid;
    gap: 0.75rem;
}

.slider .more a {
    font-weight: 600;
    color: #0a5cc7;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.slider .feature ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: #5c6b80;
}

.slider .comment-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.slider .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
}

.slider .slick-dots li {
    margin: 0;
}

.slider .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 92, 199, 0.25);
    text-indent: -9999px;
    border: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.slider .slick-dots .slick-active button {
    background: #0a5cc7;
}

.main-intro .navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.main-intro .navigation a {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(10, 92, 199, 0.2);
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-intro .navigation a:hover {
    transform: translateY(-3px);
}

.main-intro .navigation .separator {
    flex: 0 0 1px;
    height: 32px;
    background: rgba(0, 31, 66, 0.15);
}

.main-concept {
    padding: 4rem 0;
}

.subject-content h1 {
    font-size: clamp(1.8rem, 2.4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.subject-content p {
    color: #5c6b80;
    max-width: 680px;
}

.subject-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.subject-list .item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 31, 66, 0.12);
    transition: transform 0.3s ease;
    border-top: 4px solid transparent;
}

.subject-list .item:hover {
    transform: translateY(-6px);
}

.subject-list .photo img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.subject-list .name {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.subject-list .item.program .name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    color: #0a5cc7;
}

.subject-list .item.category-ozgurluk {
    border-top-color: #0a5cc7;
}

.subject-list .item.category-sosyal {
    border-top-color: #f25c9c;
}

.subject-list .item.category-cevre {
    border-top-color: #2fbf71;
}

.subject-list .item.category-guvenlik {
    border-top-color: #ff9040;
}

.subject-list .item.category-genclik {
    border-top-color: #8c6cff;
}

.subject-list .item.category-ekonomi {
    border-top-color: #00a0e4;
}

.more-subject {
    margin-top: 2rem;
}

.more-subject a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0a5cc7;
}

.main-concept .right .section {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 31, 66, 0.1);
}

.main-concept .right .arrow-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0a5cc7;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-agenda {
    padding: 4rem 0;
    background: #ffffff;
}

.main-agenda .info-content {
    background: linear-gradient(135deg, #0a5cc7, #28a5ff);
    color: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(10, 92, 199, 0.25);
}

.main-agenda .info-content .link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #ffffff;
}

.main-agenda .content-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 31, 66, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-agenda .content-card .photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.main-agenda .content-card .info {
    padding: 1.5rem;
}

.main-agenda .more-news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(135deg, #001f42, #214f96);
    color: #ffffff;
}

.main-agenda .more-news-card .arrow {
    align-self: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #001f42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.main-agenda .more-news {
    margin-top: 2rem;
    text-align: center;
}

.main-agenda .more-news a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0a5cc7;
}

.main-reviews {
    padding: 4rem 0 5rem;
}

.main-reviews .content {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 31, 66, 0.1);
    height: 100%;
}

.main-reviews .link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #0a5cc7;
}

.main-reviews .review-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 15px 30px rgba(0, 31, 66, 0.1);
}

.main-reviews .review-item .text a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0a5cc7;
    font-weight: 600;
}

.main-reviews .more-reviews {
    text-align: center;
    margin-top: 2rem;
}

.main-reviews .more-reviews a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0a5cc7;
}

@media (max-width: 991px) {
    .sp-header .open-menu .desktop {
        display: none;
    }

    .sp-header .open-menu .mobile {
        display: inline-flex;
    }

    .sp-header .right {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 340px);
        height: 100vh;
        background: #ffffff;
        box-shadow: -24px 0 60px rgba(7, 28, 63, 0.2);
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        transition: right 0.45s ease;
        z-index: 999;
    }

    .sp-header.menu-active .right {
        right: 0;
    }

    .sp-header .menu > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .sp-header .quick-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-header .quick-menu li a {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .sp-header .close-menu {
        display: inline-flex;
    }

    body.menu-active {
        overflow: hidden;
    }

    .main-intro .container {
        flex-direction: column;
    }

    .main-intro .navigation {
        justify-content: center;
    }

    .side-quick-menu {
        width: 100%;
    }

    .side-quick-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .side-quick-menu li {
        flex: 1 1 calc(50% - 1rem);
    }

    .slider .photo img {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .side-quick-menu li {
        flex: 1 1 100%;
    }

    .subject-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .main-agenda .content-card .photo img {
        height: 180px;
    }
}


.sp-footer {
    background: #071c3f;
    color: #ffffff;
    position: relative;
    padding-top: 3rem;
}

.sp-footer .footer-top {
    padding-bottom: 3rem;
}

.sp-footer .footer-newsletter {
    background: linear-gradient(135deg, rgba(15, 119, 255, 0.1), rgba(79, 195, 247, 0.1));
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.sp-footer .sp-newsletter .title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.sp-footer .sp-newsletter .form-group {
    margin-bottom: 0.75rem;
}

.sp-footer .sp-newsletter input {
    width: 100%;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.85rem 1rem;
}

.sp-footer .sp-newsletter p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 1rem 0;
}

.sp-footer .sp-newsletter .submit button {
    background: #0a5cc7;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.sp-footer .footer-bottom {
    position: relative;
    padding-bottom: 3rem;
}

.sp-footer .footer-menu .title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.sp-footer .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-footer .footer-menu ul li {
    margin-bottom: 0.5rem;
}

.sp-footer .footer-menu ul a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.sp-footer .footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.sp-footer .footer-social a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.1rem;
}

.sp-footer .footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sp-footer .footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.sp-footer .footer-contact a {
    color: #ffffff;
}

.sp-footer hr {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2.5rem 0;
}

.sp-footer .footer-apps h4 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.sp-footer .footer-apps ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.sp-footer .footer-apps img {
    width: 156px;
    height: auto;
}

.sp-footer .footer-logo {
    margin: 2rem 0 1rem;
    text-align: center;
}

.sp-footer .footer-logo img {
    width: 160px;
    height: auto;
}

.sp-footer .footer-link a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.sp-footer .topofpage {
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a5cc7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sp-footer .topofpage i {
    color: #ffffff;
}

.single-post .post-content p,
.page-template .entry-content p,
.single-post .post-content ul,
.page-template .entry-content ul {
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.single-post .post-navigation a,
.archive-template .card a,
.search-template .card a,
.page-template a {
    text-decoration: none;
}

.single-post .post-navigation a:hover,
.archive-template .card a:hover,
.search-template .card a:hover,
.page-template a:hover {
    text-decoration: underline;
}

.search-template .search-form-wrapper form,
.not-found-template form {
    max-width: 440px;
    margin: 0 auto;
}

.not-found-template .display-1 {
    letter-spacing: 6px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: #0a5cc7;
    border-color: #0a5cc7;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #064a9f;
    border-color: #064a9f;
}
