/* Anadolu POS — içerik katmanı. Header ve ana slider'a dokunmaz. */

.ap-premium {
    --ap-brand: #8e0e02;
    --ap-brand-dark: #6c0b02;
    --ap-ink: #1c1412;
    --ap-muted: #6b5f5a;
    --ap-line: rgba(142, 14, 2, 0.12);
    --ap-cream: #f7f4f1;
    --ap-card: #ffffff;
    --ap-radius: 22px;
    --ap-shadow: 0 18px 50px rgba(28, 20, 18, 0.08);
}

.ap-premium .auto-container {
    position: relative;
}

.ap-section {
    padding: 72px 0 80px;
    background: linear-gradient(180deg, #fbf9f7 0%, #f4f0ec 100%);
}

.ap-section.alt {
    background: #fff;
}

.ap-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ap-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

.ap-title {
    margin: 0 0 12px;
    color: var(--ap-ink);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.ap-lead {
    max-width: 640px;
    margin: 0 auto 38px;
    color: var(--ap-muted);
    font-size: 16px;
    line-height: 1.7;
}

.ap-head {
    margin-bottom: 42px;
    text-align: center;
}

.ap-head .ap-line {
    width: 52px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--ap-brand);
    border-radius: 99px;
}

/* Kampanyalar */
.ap-premium.department,
.department.ap-premium {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 70px 0 30px;
    background: #fbf9f7;
}

.ap-premium .sec-title h2,
.ap-premium .sec-title.centered h2 {
    color: var(--ap-ink) !important;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.ap-premium .sec-title .separator:after,
.ap-premium .sec-title .separator::after {
    background: var(--ap-brand) !important;
    border-color: var(--ap-brand) !important;
}

.ap-premium .department-block .inner-box {
    background: var(--ap-card);
    border: 0;
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ap-premium .department-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(142, 14, 2, 0.14);
    border-color: transparent;
}

.ap-premium .department-block .inner-box > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ap-kampanya-gorsel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 188px;
    padding: 12px;
    background: #f3eeea;
}

.ap-kampanya-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ap-premium .department-block .inner-box .upper-box {
    padding: 18px 18px 0;
}

.ap-premium .department-block .inner-box .upper-box h3,
.ap-premium .department-block .inner-box .upper-box h3 a {
    font-size: 17px;
    font-weight: 700;
    color: var(--ap-ink);
    line-height: 1.35;
}

.ap-premium .department-block .inner-box .text {
    min-height: 72px;
    padding: 10px 22px 6px;
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.65;
}

.ap-premium .department-block .inner-box .read-outer {
    padding: 0 22px 22px;
}

.ap-premium .department-block .inner-box .read-outer .read-more {
    padding: 0;
    background: transparent;
    color: var(--ap-brand);
    font-size: 14px;
    letter-spacing: 0.2px;
}

.ap-premium .owl-theme .owl-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.ap-premium .owl-theme .owl-nav [class*="owl-"] {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    background: #fff !important;
    color: #8e0e02 !important;
    box-shadow: 0 10px 24px rgba(28, 20, 18, 0.08);
    font-size: 18px;
    line-height: 42px;
}

/* Özellik kutuları */
.featured-section.ap-premium {
    padding: 20px 0 90px;
    background: #fbf9f7;
}

.ap-premium .feature-block {
    margin-bottom: 24px;
}

.ap-premium .feature-block .inner-box {
    height: 100%;
    min-height: 280px;
    padding: 34px 28px 30px;
    background: var(--ap-card);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    border-top: 3px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ap-premium .feature-block .inner-box:hover {
    transform: translateY(-8px);
    border-top-color: var(--ap-brand);
    box-shadow: 0 28px 60px rgba(142, 14, 2, 0.12);
}

.ap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #8e0e02, #b31808);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 24px rgba(142, 14, 2, 0.22);
}

.ap-premium .feature-block .inner-box .upper-box {
    margin-bottom: 0;
}

.ap-premium .feature-block .inner-box .upper-box h3,
.ap-premium .feature-block .inner-box .upper-box h3 a {
    margin: 0 0 12px;
    color: var(--ap-ink);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.ap-premium .feature-block .inner-box .text {
    color: var(--ap-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Kurumsal */
.ap-about {
    padding: 70px 0 90px;
    background:
        radial-gradient(circle at top right, rgba(142, 14, 2, 0.06), transparent 32%),
        linear-gradient(180deg, #fbf9f7 0%, #fff 100%);
}

.ap-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-bottom: 28px;
}

.ap-about-main,
.ap-about-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--ap-shadow);
}

.ap-about-main {
    padding: 42px 42px 38px;
}

.ap-about-main h2,
.ap-about-card h3 {
    margin: 0 0 16px;
    color: var(--ap-ink);
    font-weight: 700;
}

.ap-about-main h2 {
    font-size: 32px;
}

.ap-about-main p,
.ap-about-card p {
    margin: 0;
    color: var(--ap-muted);
    font-size: 16px;
    line-height: 1.85;
}

.ap-about-side {
    display: grid;
    gap: 20px;
}

.ap-about-card {
    padding: 30px 28px;
    border-left: 4px solid var(--ap-brand);
}

.ap-about-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--ap-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ap-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.ap-stat {
    padding: 26px 18px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--ap-shadow);
    text-align: center;
}

.ap-stat b {
    display: block;
    margin-bottom: 6px;
    color: var(--ap-brand);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ap-stat span {
    color: var(--ap-muted);
    font-size: 13px;
    font-weight: 600;
}

/* Referanslar */
.ap-premium.health-section,
.health-section.ap-premium {
    padding: 50px 0 80px;
    background: #fbf9f7;
}

.ap-premium #myBtnContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    padding: 0;
}

.ap-premium #myBtnContainer button,
.ap-premium #myBtnContainer .btn {
    margin: 0 !important;
    padding: 10px 18px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ap-ink);
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.25s ease;
}

.ap-premium #myBtnContainer button:hover,
.ap-premium #myBtnContainer .btn.active {
    background: var(--ap-brand);
    border-color: var(--ap-brand);
    color: #fff;
}

.ap-premium .gallery-item.column {
    width: 20%;
    padding: 10px;
}

.ap-premium .gallery-item .inner-box,
.ap-premium .gallery-item .content .inner-box {
    width: 100% !important;
    border-radius: 24px !important;
    box-shadow: var(--ap-shadow);
}

.ap-premium .gallery-item .image-box > div {
    width: 100% !important;
    height: 170px !important;
    border-radius: 24px !important;
}

.ap-ref-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    margin-top: 10px;
    padding: 0 6px;
    color: var(--ap-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
}

.ap-other-refs {
    margin-top: 8px;
    padding: 12px 0 20px;
}

.ap-other-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ap-other-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none !important;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--ap-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-other-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(32, 21, 16, 0.12);
}

.ap-other-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    padding: 18px 16px;
    background: #f3eeea;
}

.ap-other-photo img {
    display: block;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    max-height: 112px;
    object-fit: contain;
    object-position: center;
}

.ap-other-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
    padding: 12px 14px 16px;
    color: var(--ap-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
}

/* Blog / haber kartları */
.ap-premium .sidebar-page-container,
.sidebar-page-container.ap-premium {
    padding: 50px 0 80px;
    background: #fbf9f7;
}

.ap-premium .news-block .inner-box {
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--ap-shadow);
}

.ap-premium .news-block .image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.ap-premium .news-block .lower-content {
    padding: 22px 22px 24px;
}

.ap-premium .news-block h3,
.ap-premium .news-block h3 a {
    color: var(--ap-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.ap-premium .news-block .text {
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.65;
}

.ap-premium .news-block .read-more,
.ap-premium a.geri {
    display: inline-flex;
    align-items: center;
    color: var(--ap-brand);
    font-weight: 700;
}

.ap-premium a.geri {
    padding: 8px 16px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
}

/* Sidebar */
.ap-premium .sidebar-widget {
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--ap-shadow);
}

.ap-premium .sidebar-widget .sidebar-title {
    margin: 0;
    padding: 18px 22px 12px;
    border-bottom: 1px solid var(--ap-line);
}

.ap-premium .sidebar-widget .sidebar-title h2 {
    margin: 0;
    color: var(--ap-ink);
    font-size: 18px;
    font-weight: 700;
}

.ap-premium .categories-blog ul {
    padding: 10px 8px 14px;
}

.ap-premium .categories-blog ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--ap-ink);
    font-weight: 600;
}

.ap-premium .categories-blog ul li.active a,
.ap-premium .categories-blog ul li a:hover {
    background: rgba(142, 14, 2, 0.08);
    color: var(--ap-brand);
}

/* Detay içerik */
.ap-premium .news-detail > .inner-box,
.ap-premium .detay {
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--ap-shadow);
}

.ap-premium .news-detail > .inner-box > .image img,
.ap-premium .news-detail > .inner-box > .image > div,
.ap-detail-photo img {
    border-radius: 0;
}

.ap-premium .news-detail > .inner-box > .image,
.ap-detail-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f3eeea;
}

.ap-premium .news-detail .image img,
.ap-detail-photo img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.ap-split {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
    align-items: stretch;
}

.ap-split-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 22px;
    background: #f3eeea;
}

.ap-split-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
}

.ap-split .detay {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.ap-premium .detay {
    padding: 32px 34px;
    margin-top: 18px;
}

.ap-premium .detay h3 {
    margin-top: 0;
    color: var(--ap-ink);
    font-size: 28px;
    font-weight: 700;
}

.ap-premium .detay .text,
.ap-premium .news-detail .text,
.ap-premium .lower-content .text {
    color: var(--ap-muted);
    font-size: 16px;
    line-height: 1.85;
}

.ap-premium .list-ur {
    height: 100%;
    padding: 28px 18px 24px;
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--ap-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ap-premium .list-ur:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(142, 14, 2, 0.12);
}

.ap-premium .list-ur h4 {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
}

/* Destek / download kutuları */
.ap-premium .dest {
    height: 100%;
    padding: 34px 22px 28px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ap-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ap-premium .dest:hover {
    transform: translateY(-8px);
    border: 0;
    box-shadow: 0 24px 48px rgba(142, 14, 2, 0.12);
}

.ap-premium .dest h3 {
    margin: 14px 0 8px;
    color: var(--ap-ink);
    font-weight: 700;
}

.ap-premium .dest p {
    color: var(--ap-muted);
}

.ap-premium .icom-dow {
    color: var(--ap-brand);
    font-size: 34px;
}

/* İletişim */
.ap-contact {
    padding: 50px 0 80px;
    background: #fbf9f7;
}

.ap-contact iframe,
.ap-premium iframe {
    display: block;
    border: 0;
    border-radius: 0;
}

.ap-contact-card,
.ap-premium .map-content,
.ap-premium .contact-form {
    height: 100%;
    padding: 32px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--ap-shadow);
}

.ap-premium .map-content h2,
.ap-premium .contact-form h2 {
    margin-bottom: 18px;
    color: var(--ap-ink);
    font-size: 24px;
    font-weight: 700;
}

.ap-premium .info-list li {
    margin-bottom: 12px;
    color: var(--ap-muted);
    font-weight: 600;
}

.ap-premium .contact-form input,
.ap-premium .contact-form textarea {
    border: 1px solid #ece6e2;
    border-radius: 14px;
    background: #fbf9f7;
}

.ap-premium .contact-form input:focus,
.ap-premium .contact-form textarea:focus {
    border-color: var(--ap-brand);
    outline: none;
}

.ap-premium .contact-form input,
.ap-premium .contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
}

.ap-premium .contact-form textarea {
    min-height: 140px;
}

.ap-premium .theme-btn.btn-style-two {
    border-radius: 999px;
    padding: 12px 34px;
}

.ap-map-wrap {
    overflow: hidden;
    margin-bottom: 28px;
    border-radius: 24px;
    box-shadow: var(--ap-shadow);
    height: 300px;
}

.ap-map-wrap iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.ap-contact-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #8e0e02, #b31808);
    color: #fff;
    font-size: 15px;
}

.ap-contact-ico i {
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.ap-premium .info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-premium .info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.ap-premium .info-list small {
    display: block;
    margin-bottom: 2px;
    color: var(--ap-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ap-premium .info-list strong {
    color: var(--ap-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.ap-premium .info-list .icon {
    margin: 0;
    color: inherit;
}

.ap-premium .col-md-3 > a,
.ap-premium .col-md-4 > a,
.ap-premium .col-md-6 > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.ap-premium .dest .ap-icon {
    margin: 0 auto 10px;
}

.ap-premium .dest img {
    width: 58px;
    margin-bottom: 8px;
}

.ap-premium .list-ur img {
    width: 58px;
    margin-bottom: 6px;
}

.ap-premium .list-ur h4 {
    color: var(--ap-ink);
}

.ap-premium .date-b {
    margin: 0 0 8px;
    color: var(--ap-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.ap-premium .news-detail > .inner-box {
    overflow: hidden;
}

.ap-premium .news-detail .image img,
.ap-detail-photo img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center;
}

.ap-premium .lower-content {
    padding: 28px 32px 12px;
}

.ap-premium .content-side .ap-head {
    text-align: left;
}

.ap-premium .content-side .ap-head .ap-line {
    margin-left: 0;
}

.ap-premium .content-side .ap-head .ap-lead {
    margin-left: 0;
}

.ap-premium .news-block.col-lg-12 .inner-box {
    box-shadow: none;
    background: transparent;
}

.ap-premium .gallery-item {
    margin-bottom: 16px;
}

.ap-premium .overlay-box {
    border-radius: 24px;
}

.ap-about-card p {
    text-transform: none;
    font-weight: 400;
}

@media (max-width: 991px) {
    .ap-about-grid,
    .ap-stats,
    .ap-split {
        grid-template-columns: 1fr;
    }

    .ap-title {
        font-size: 28px;
    }

    .ap-premium .gallery-item.column {
        width: 33.33%;
    }

    .ap-other-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ap-about-grid,
    .ap-stats {
        grid-template-columns: 1fr;
    }

    .ap-about-main,
    .ap-premium .detay {
        padding: 26px 20px;
    }

    .ap-premium .gallery-item.column {
        width: 50%;
    }

    .ap-other-grid {
        grid-template-columns: 1fr;
    }
}
