/*
Theme Name: Mavi Sakal WP
Theme URI: https://dev.antalyasacprotez.tr/
Author: Mavi Sakal
Description: Antalya Saç Protez sitesi için özel WordPress teması.
Version: 1.0.0
Text Domain: mavi-sakal-wp
*/
body {
    background-color: #F0F0F0; /* Biraz daha koyu beyaz */
  
    z-index: 1;
  }

/* root values */
:root{
    --container-color: #1a1e21;
    --second-color: rgba(77, 228, 255);
    --text-color: #172317;
    --bg-color:#F0F0F0;
}

::selection{
    color: var(--bg-color);
    background: var(--second-color);
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

img{
    width: 100%;
}

section{
    padding: 3rem 0 2rem;
}

.container{
    max-width: 1068px;
    margin: auto;
    width: 100%;
}

a{
    color: #fff;
}

/* Header */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
}

header.shadow{
    background: var(--bg-color);
    box-shadow: 0 1px 4px hsl(0 4% 14% / 10%);
    transition: .5s;
}

header.shadow .logo{
    color: var(--text-color);
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logoo{
    font-size: 1.5rem;
    font-weight: 600;
   
}

.logo{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bg-color);
}
.logoo span{
    color: var(--second-color);
}
.logo span{
    color: var(--second-color);
}

.login{
    padding: 8px 14px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 4px;
    background: var(--second-color);
    color: var(--bg-color);
}

.login:hover{
    background: hsl(199, 98%, 56%);
    transition: .5s;
}

section.home{
    width: 100%;
    min-height: 440px;
    background: url("images/banner2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  
    display: grid;
    justify-content: center;
    align-items: center;
    
}

.home-text{
    color: var(--bg-color);
    text-align: center;
}

.home-title{
    margin-top: 30px;
    font-size: 3.5rem;
}

.home-subtitle{
    font-size: 1rem;
    font-weight: 400;
}

.about{
    position: relative;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.about .contentBx{
    max-width: 50%;
    width: 50%;
    text-align: left;
    padding-right: 40px;
}

.titleText{
    font-weight: 600;
    color: #111;
    font-size: 2rem;
    margin-bottom: 10px;
}

.title-text{
    color: #111;
    font-size: 1em;
}

.about .imgBx{
    position: relative;
    min-width: 50%;
    width: 50%;
    min-height: 500px;
}

.btn2{
    position: relative;
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    background: #fff;
    border: .8px solid #111;
    color: #333;
    text-decoration: none;
    transition: 0.5s;
}

.btn2:hover{
    background-color: var(--second-color);
    border: none;
    color: #fff;
}

.post-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: 2rem !important;
}

.filter-item{
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.active-filter{
    background: var(--second-color);
    color: var(--bg-color);
    padding: 4px 10px;
    border-radius: 4px;
}

.post{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    justify-content: center;
    gap: 1.5rem;
}

.post-box{
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(35deg 25% 15% / 10%);
    padding: 15px;
    border-radius: 0.5rem;
}

.post-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}

.category{
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--second-color);
}

.post-title{
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    display: -webkit-box;
 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date{
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 400;
}

.post-description{
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin: 5px 0 10px;
    display: -webkit-box;
 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile{
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--second-color);
}

.profile-name{
    font-size: .8rem;
    font-weight: 500;
}

footer{
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
    margin-top: 3rem;
    background: #111;
    display: flex;
    font-family: sans-serif;
    justify-content: space-between;
}

.footer-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer-container .sec{
    margin-right: 30px;
}

.footer-container .sec.aboutus{
    width: 40%;
}

.footer-container h2{
    position: relative;
    color: #fff;
    margin-bottom: 15px;
}

.footer-container h2::before{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgb(77, 228, 255);
}

footer p{
    color: #fff;
}

.sci{
    margin: 20px;
    display: flex;
}

.sci li{
    list-style: none;
}

.sci li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: .5s;
}

.sci li a:hover{
    background: rgb(77, 228, 255);
}

.sci i a .bx{
    color: #fff;
    font-size: 20px;
}

.quicklinks{
    position: relative;
    width: 25%;
}

.quicklinks ul li{
    list-style: none;
}

.quicklinks ul li a{
    color: #999;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: .3s;
}

.quicklinks ul li a:hover{
    color: #fff;
}

.footer-container .contactBx{
    width: calc(35% - 60px);
    margin-right: 0 !important;
}

.contactBx .info{
    position: relative;
}

.contactBx .info li{
    display: flex !important;
    margin-bottom: 16px;
}

.contactBx .info li span:nth-child(1){
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
}

.contactBx .info li span{
    color: #999;
}

.contactBx .info li a{
    color: #999;
    text-decoration: none;
    transition: .5s;
}

.contactBx .info li a:hover{
    color: #fff;
}

@media (max-width: 1060px){
    .container{
        margin: 0 auto;
        width: 95%;
    }

    .home-text{
        width: 100%
    }
}

@media (max-width: 768px){
    .nav{
        padding: 10px 0;
    }

    section{
        padding: 2rem 0 !important;
    }

    .header-content{
        margin-top: 3rem !important;
    }

    section.home{
        min-height: 380px;
    }

    .home-title{
        font-size: 3rem;
    }

    .header-title{
        font-size: 2rem;
    }

    .header-img{
        height: 370px;
    }

    .about{
        flex-direction: column;
    }

    .about .contentBx{
        min-width: 100%;
        width: 100%;
        text-align: center;
        padding-right: 0px;
    }

    .about .contentBx,
    .about .imgBx{
        min-width: 100%;
        width: 100%;
        padding-right: 0px;
        text-align: center;
    }

    .about .imgBx{
        min-height: 250px;
    }

    .btn2{
        margin-bottom: 30px;
    }

    .post-header{
        height: 435px;
    }

    .post-header{
        margin-top: 9rem !important;
    }
}

@media (max-width: 570px){
    .post-header{
        height: 390px;
    }

    .header-title{
        width: 100%;
    }

    .header-img{
        height: 340px;
    }
}

@media (max-width: 396px){
    .home-title{
        font-size: 2rem;
    }

    .home-subtitle{
        font-size: 0.9rem;
    }

    section.home{
        min-height: 300px;
    }

    .post-box{
        padding: 10px;
    }

    .header-title{
        font-size: 1.4rem;
    }

    .header-img{
        height: 240px;
    }

    .post-header{
        height: 335px;
    }

    .header-img{
        height: 340px;
    }
}

/* Footer Media Query */
@media (max-width: 991px){
    footer{
        padding: 40px;
        font-size: 20px;
    }

    footer .footer-container{
        flex-direction: column;
    }

    footer .footer-container .sec{
        margin-right: 0;
        margin-bottom: 40px;
    }

    footer .footer-container .sec.aboutus{
        width: 100% !important;
    }

    footer .footer-container .quicklinks{
        width: 100%;
    }

    footer .footer-container .contactBx{
        width: 100%;
    }
}


.box
{
  position: relative;
  width: 200px;
  height: 200px;

  margin: 0 auto;

  transform-style: preserve-3d;
  transition: 1.5s;
  transform: perspective(1000px) rotateY(0deg);
}

.box span
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(300px);
  -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
}

.box span img
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.btns
{
 
  bottom: 100px;
  display: flex;
  gap: 30px;
}

.btns .btn
{
  position: relative;
  width: 60px;
  height: 60px;
  border: 2px solid #111;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btns .btn:active
{
  background: #00ffff;
}
.btns .btn::before
{
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 3px solid #111;
  border-right: 3px solid #111;
  transform: rotate(45deg) translate(-2.5px,2.5px);
}

.btns .btn.btn.prev::before
{
  transform: rotate(225deg) translate(-2.5px,2.5px);
}

.btns .btn:active::before
{
  border-top: 3px solid #000;
  border-right: 3px solid #000;
}
.kaydirmaresim
{
   overflow-x: hidden !important;

    margin-top: 100px;
}


.image-slider-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .image-slider {
    flex: 1 1 calc(33.33% - 20px); /* Masaüstünde üçlü düzen */
    max-width: 400px;
    min-width: 250px;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
    height: 200px; /* Mobil uyumlu daha küçük bir boyut */
    overflow: hidden;
  }
  
  .image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .image-left {
    z-index: 1;
  }
  
  .image-right {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
  }
  
  .slider-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: #fff;
    z-index: 3;
    pointer-events: none;
  }
  
  .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: pointer;
  }
  .whatsapp-button {
    position: fixed; /* Sabit yerleştirme */
    bottom: 20px; /* Alt kısımdan 20px yukarı */
    right: 20px; /* Sağdan 20px içeri */
    background-color: #25D366; /* WhatsApp yeşili */
    color: white;
    border-radius: 50%; /* Butonu yuvarlak yap */
    
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    text-decoration: none; /* Link alt çizgisini kaldır */
    font-size: 24px; /* İkon boyutu */
    z-index: 9999; 
}
.whatsapp-button:hover {
    background-color: #1EBE54; /* Daha koyu yeşil */
    cursor: pointer;
}
.ortala{
    text-align: center;
    padding: 10px;
}
  .dene{
    
    border: 5px solid orange;
    border-radius: 15px;
  }

  .accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.accordion-button:not(.collapsed) {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.accordion-body {
    font-size: 1rem;
    line-height: 1.6;
}
.accordion-icon {
    margin-right: 0.5rem;
    transition: transform 0.3s ease-in-out;
}
.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(180deg);
}
  /* Mobil görünüm için uyarlama */
  @media (max-width: 768px) {
    .image-slider {
      flex: 1 1 100%; /* Mobilde tam genişlik */
    }
    .dene{
        min-height: 300px;
        
      }
  .yazi{
    text-align: center;
    font-size: 100px;
  }
    .slider-container {
      height: 180px; /* Daha küçük slider */
    }
  }
/* =====================================================
   MAVI SAKAL - ERWEITERUNG
   ===================================================== */

.section-title {
    text-align: center;
    color: #111;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 35px;
}

.hizmetler-alani,
.neden-biz,
.fiyat-cta,
.content-section,
.gallery-section {
    padding: 4rem 0 2rem;
}

.service-card,
.feature-box,
.price-box {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 100%;
}

.service-card h3 {
    font-size: 1.35rem;
    color: #111;
    margin-bottom: 12px;
}

.service-card p {
    color: #222;
    line-height: 1.6;
}

.feature-box {
    text-align: center;
    font-weight: 700;
    color: #111;
    border: 1px solid rgba(77,228,255,0.35);
}

.content-section {
    max-width: 1068px;
    margin: auto;
}

.content-section h2 {
    margin-top: 24px;
    color: #111;
    font-weight: 700;
}

.content-section p {
    color: #111;
    line-height: 1.7;
}

.check-list li {
    list-style: disc;
    margin-bottom: 10px;
    color: #111;
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.dropdown-item {
    color: #111;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: rgba(77,228,255,0.18);
    color: #111;
}

/* Karussell sauber mittig */
.kaydirmaresim {
    overflow-x: hidden !important;
    margin-top: 100px;
}

.kaydirmaresim > .box {
    margin-left: auto;
    margin-right: auto;
}

/* Mobil */
@media (max-width: 991px) {
    .navbar-nav {
        background: #f8f9fa;
        padding: 10px;
        border-radius: 10px;
    }

    .dropdown-menu {
        box-shadow: none;
        border-radius: 8px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .feature-box,
    .price-box {
        padding: 22px;
    }
}

/* Galeri ve medya alanları */

.media-card,
.video-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 100%;
}

.media-card h3,
.video-card h3,
.media-title {
    color: #111;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 15px;
}

.media-card p,
.video-card p {
    color: #222;
    line-height: 1.5;
}

.video-placeholder video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    background: #111;
}

.gallery-category {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.gallery-category img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.75);
    transition: 0.4s;
}

.gallery-category span {
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.gallery-category:hover img {
    transform: scale(1.06);
    filter: brightness(0.55);
}

.gallery-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
    color: #222;
    line-height: 1.7;
}

.reel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.reel-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.phone-frame {
    background: #111;
    border-radius: 18px;
    padding: 10px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

.phone-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: #111;
}

.reel-info {
    padding-top: 14px;
}

.reel-number {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #007b8a;
}

.reel-info h3 {
    color: #111;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.reel-info p {
    color: #222;
    line-height: 1.55;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .video-placeholder video {
        height: 220px;
    }

    .gallery-category img {
        height: 180px;
    }
}

.campaign-page-hero,
.campaign-page-section,
.campaign-faq {
    max-width: 1068px;
    width: 95%;
    margin: 32px auto;
}

.campaign-page-hero {
    background: linear-gradient(135deg, #0e8b9a 0%, #111 100%);
    color: #fff;
    padding: 42px;
    border-radius: 14px;
}

.campaign-page-hero h1 {
    color: #fff;
    font-size: 2.3rem;
    line-height: 1.18;
    margin: 0 0 14px;
}

.campaign-page-hero p {
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 760px;
}

.campaign-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.campaign-offer-box,
.campaign-faq details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 26px;
}

.campaign-offer-box h2,
.campaign-faq h2 {
    color: #111;
    font-size: 1.55rem;
    margin: 0 0 12px;
}

.campaign-offer-box p,
.campaign-faq p {
    color: #222;
    line-height: 1.65;
}

.campaign-price {
    display: inline-block;
    margin: 12px 0;
    color: #0a6f7d;
    font-size: 2rem;
    font-weight: 800;
}

.campaign-faq details {
    margin-bottom: 14px;
}

.campaign-faq summary {
    cursor: pointer;
    color: #111;
    font-weight: 700;
}

@media (max-width: 768px) {
    .campaign-page-hero {
        padding: 28px 20px;
        border-radius: 8px;
    }

    .campaign-page-hero h1 {
        font-size: 1.65rem;
    }

    .campaign-offer-grid {
        grid-template-columns: 1fr;
    }
}
/* FIX NAVBAR */

.navbar {
    background: #ffffff !important;
    width: 100%;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-nav .nav-link {
    color: #111 !important;
    font-weight: 600;
}

.navbar-brand {
    color: #111 !important;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.2);
}

/* WordPress migration fixes */
.hizmetler-alani,
.neden-biz,
.fiyat-cta,
.content-section,
.gallery-section,
.about {
    background: #fff;
    border-radius: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

section.home + .hizmetler-alani,
section.home + .content-section {
    margin-top: 40px;
}

.about {
    align-items: stretch;
}

.about .contentBx {
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 28px;
}

.about .contentBx *,
.content-section *,
.fiyat-cta *,
.hizmetler-alani *,
.neden-biz * {
    color: inherit;
}

.about .contentBx h1,
.about .contentBx h2,
.about .contentBx h3,
.content-section h1,
.content-section h2,
.content-section h3,
.section-title {
    color: #111;
}

.about .contentBx p,
.content-section p,
.fiyat-cta p,
.service-card p {
    color: #222;
}

.kaydirmaresim {
    overflow: hidden !important;
    min-height: 390px;
}

.kaydirmaresim > .box {
    transform-style: preserve-3d;
    will-change: transform;
}

.btns .btn {
    padding: 0;
    flex: 0 0 60px;
}

.slider-container {
    height: 300px;
    background: #111;
    border-radius: 12px;
    isolation: isolate;
}

.image-left,
.image-right {
    display: block;
}

.slider-bar {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.slider {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    margin: 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #00cfe8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    cursor: ew-resize;
}

.slider::-moz-range-thumb {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #00cfe8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    cursor: ew-resize;
}

@media (max-width: 768px) {
    .hizmetler-alani,
    .neden-biz,
    .fiyat-cta,
    .content-section,
    .gallery-section,
    .about {
        border-radius: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .kaydirmaresim {
        min-height: 330px;
    }

    .box {
        width: 150px;
        height: 150px;
    }

    .box span {
        transform: rotateY(calc(var(--i) * 45deg)) translateZ(220px);
    }

    .slider-container {
        height: 240px;
    }
}

.campaign-rail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,0.16);
    z-index: 1;
}

.campaign-rail-viewport {
    width: 100%;
    height: 86px;
    overflow: hidden;
}

.campaign-rail-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s ease;
}

.campaign-slide {
    flex: 0 0 100%;
    height: 86px;
    min-width: 100%;
    padding: 12px 88px;
    color: #fff;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.campaign-slide-primary {
    background: linear-gradient(135deg, #0e8b9a 0%, #12272f 100%);
}

.campaign-slide-dark {
    background: linear-gradient(135deg, #111 0%, #2b3337 62%, #0e8b9a 100%);
}

.campaign-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.campaign-slide h2 {
    color: #fff;
    font-size: 1.12rem;
    line-height: 1.18;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.campaign-slide p {
    color: rgba(255,255,255,0.92);
    font-size: 0.9rem;
    line-height: 1.25;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.campaign-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.campaign-link:hover {
    color: #111;
    background: #e9fbff;
}

.campaign-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(0,0,0,0.26);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.campaign-nav i {
    font-size: 24px;
}

.campaign-prev {
    left: 22px;
}

.campaign-next {
    right: 22px;
}

.single-campaign .campaign-nav {
    display: none;
}

@media (max-width: 768px) {
    .campaign-rail-viewport {
        height: 132px;
    }

    .campaign-slide {
        height: 132px;
        padding: 14px 54px;
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .campaign-kicker,
    .campaign-link {
        margin-left: auto;
        margin-right: auto;
    }

    .campaign-slide h2 {
        font-size: 1.05rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .campaign-slide p {
        font-size: 0.86rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .campaign-prev {
        left: 12px;
    }

    .campaign-next {
        right: 12px;
    }
}
