@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Force Inter font loading */
body.anesthesia-board-template * {
    font-family: 'Inter', sans-serif !important;
}

/* Custom CSS for Anesthesia Board Template - Isolated from theme styles */

/* Reset and isolation - Prevent theme CSS interference */
body.anesthesia-board-template {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.5 !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
}
/* Hide MasterStudy theme modal on our standalone template pages */
body.anesthesia-board-template #masterstudy-authorization-modal,
body.anesthesia-board-template .masterstudy-authorization-modal,
body.anesthesia-board-template [id*="masterstudy-authorization"],
body.anesthesia-board-template [class*="masterstudy-authorization-modal"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
/* Prevent main from growing and creating gap below footer */
body.anesthesia-board-template main {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
}

body.anesthesia-board-template *,
body.anesthesia-board-template *::before,
body.anesthesia-board-template *::after {
    box-sizing: border-box !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* No full-height stretch on our template – removes white gap below footer */
html.abt-page,
html.abt-page body {
    height: auto !important;
    min-height: 0 !important;
}
/* Theme wrappers (e.g. #page, .site) – prevent stretch */
body.anesthesia-board-template #page,
body.anesthesia-board-template .site,
body.anesthesia-board-template [id="page"],
body.anesthesia-board-template .abt-page-wrapper {
    min-height: 0 !important;
    height: auto !important;
    flex: none !important;
    display: block !important;
}
/* Footer: no extra space below */
body.anesthesia-board-template footer {
    margin-bottom: 0 !important;
    padding-bottom: 1.25rem !important;
}
@media (min-width: 768px) {
    body.anesthesia-board-template footer {
        padding-bottom: 2.5rem !important;
    }
}

/* Custom Selection Color */
::selection {
    background: #cce9ff;
    /* Light blue selection */
}

/* Animations */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3;
}

/* Utils */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Navbar: no border, no box-shadow – prevents "black line" over hero (fixes scroll artifact) */
#navbar {
    border-bottom: none !important;
    box-shadow: none !important;
}

body.anesthesia-board-template #navbar.scrolled {
    box-shadow: none !important;
}

/* Override any theme button styles */
body.anesthesia-board-template button:not(.mega-menu-btn),
body.anesthesia-board-template a.button,
body.anesthesia-board-template input[type="button"],
body.anesthesia-board-template input[type="submit"],
body.anesthesia-board-template .mega-menu-trigger,
body.anesthesia-board-template .mobile-nav-trigger,
body.anesthesia-board-template .footer-trigger h4 {
    font-weight: 700 !important;
}

body.anesthesia-board-template .footer-trigger {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Mega Menu Button Styles */
body.anesthesia-board-template .mega-menu-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body.anesthesia-board-template .mega-menu-btn:hover {
    background-color: #F0F0F0 !important;
}

/* Mega Menu Chevron Icon - Rotate on hover */
body.anesthesia-board-template .group:hover .mega-menu-btn i[data-lucide="chevron-down"],
body.anesthesia-board-template .group:hover i[data-lucide="chevron-down"] {
    transform: rotate(180deg) !important;
}

body.anesthesia-board-template .mega-menu-btn i[data-lucide="chevron-down"] {
    transition: transform 0.2s ease-in-out !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure Lucide icons are visible */
body.anesthesia-board-template i[data-lucide] {
    display: inline-block !important;
    visibility: visible !important;
}

body.anesthesia-board-template i[data-lucide] svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* All templates: no underline on any link, button-style link, or link text */
body.anesthesia-board-template a,
body.anesthesia-board-template a:hover,
body.anesthesia-board-template a:focus,
body.anesthesia-board-template a:active,
body.anesthesia-board-template a:visited,
body.anesthesia-board-template a.underline,
body.anesthesia-board-template a[class*="btn"],
body.anesthesia-board-template a[class*="button"],
body.anesthesia-board-template a[class*="cta"],
body.anesthesia-board-template #navbar a,
body.anesthesia-board-template #navbar a:hover,
body.anesthesia-board-template #navbar a:focus,
body.anesthesia-board-template #navbar a:active,
body.anesthesia-board-template [class*="mega"] a,
body.anesthesia-board-template [class*="mega"] a:hover,
body.anesthesia-board-template #abt-mobile-menu a,
body.anesthesia-board-template #abt-mobile-menu a:hover,
body.anesthesia-board-template #abt-mobile-menu a:focus,
body.anesthesia-board-template #abt-mobile-menu a:active,
body.anesthesia-board-template main a,
body.anesthesia-board-template main a:hover,
body.anesthesia-board-template main a:focus,
body.anesthesia-board-template main a:active,
body.anesthesia-board-template footer a,
body.anesthesia-board-template footer a:hover,
body.anesthesia-board-template footer a:focus,
body.anesthesia-board-template footer a:active {
    text-decoration: none !important;
}
body.anesthesia-board-template a {
    color: inherit !important;
}
body.anesthesia-board-template a:hover,
body.anesthesia-board-template a:focus,
body.anesthesia-board-template a:active {
    outline: none !important;
}

/* Override theme form styles */
body.anesthesia-board-template input,
body.anesthesia-board-template textarea,
body.anesthesia-board-template select {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Override theme heading styles */
body.anesthesia-board-template h1,
body.anesthesia-board-template h2,
body.anesthesia-board-template h3,
body.anesthesia-board-template h4,
body.anesthesia-board-template h5,
body.anesthesia-board-template h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

/* Feature highlights (EDAIC): section + card titles bold */
body.anesthesia-board-template .abt-feature-highlights .abt-fh-title,
body.anesthesia-board-template .abt-feature-highlights .abt-fh-card-title {
    font-weight: 700 !important;
}

/* Override theme list styles */
body.anesthesia-board-template ul,
body.anesthesia-board-template ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Override theme paragraph styles */
body.anesthesia-board-template p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Typography Overrides */
h1 {
    letter-spacing: -0.04em;
}

/* Notion Agent Slider & Tabs */
.agent-tab.active h4 {
    color: #000000 !important;
    font-weight: 700;
}

.agent-tab h4 {
    transition: all 0.2s ease;
}

/* Notion Slider Styles (Desktop) */
.notion-tab.active {
    background-color: #F7F7F5 !important;
    opacity: 1 !important;
}

.notion-tab.active .notion-tab-arrow {
    opacity: 1 !important;
}

.notion-tab.active .notion-tab-content {
    max-height: 48px;
    opacity: 1;
}

.notion-tab:not(.active) .notion-tab-content {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.notion-tab-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notion-slider-container {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Slider media frame: fills area completely, no gaps */
.notion-slider-media-frame {
    min-height: 0;
    flex: 1;
}

#notion-slider-img {
    max-width: 100%;
    max-height: 100%;
}

#notion-slider-img.switching,
.notion-slider-media-item.switching {
    opacity: 0;
    transform: translateY(10px);
}

/* Mobile Horizontal Slider */
.notion-mobile-slider {
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.notion-mobile-slide {
    scroll-snap-align: center;
}

/* One place slider – mobile pagination dots (black/white) */
.ab-notion-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

body.anesthesia-board-template .ab-notion-mobile-dot {
    min-width: 8px;
    min-height: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #9ca3af !important;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}

body.anesthesia-board-template .ab-notion-mobile-dot:hover {
    border-color: rgba(0, 0, 0, 0.25);
    background-color: #6b7280 !important;
}

body.anesthesia-board-template .ab-notion-mobile-dot.active {
    background-color: #191918 !important;
    border-color: #191918 !important;
    transform: scale(1.2);
}

/* Trusted by section – mobile testimonials slider pagination dots (black/white) */
.ab-tb-grid-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

body.anesthesia-board-template .ab-tb-grid-dot {
    min-width: 8px;
    min-height: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #9ca3af !important;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}

body.anesthesia-board-template .ab-tb-grid-dot:hover {
    border-color: rgba(0, 0, 0, 0.25);
    background-color: #6b7280 !important;
}

body.anesthesia-board-template .ab-tb-grid-dot.active {
    background-color: #191918 !important;
    border-color: #191918 !important;
    transform: scale(1.2);
}

/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Aspect Ratio for legacy browsers */
@supports not (aspect-ratio: 16/9) {
    .aspect-video {
        position: relative;
        padding-bottom: 56.25%;
    }

    .aspect-video video {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}

/* Hero Background - Ensure it displays */
.bg-\[#F5F6ED\],
div.bg-\[#F5F6ED\] {
    background-color: #F5F6ED !important;
    background: #F5F6ED !important;
}

/* Hero section: background image – cover, 80% transparent overlay */
div.bg-\[#F5F6ED\].ab-hero-bg {
    background-color: #F5F6ED;
    background-image: linear-gradient(rgba(245, 246, 237, 0.8), rgba(245, 246, 237, 0.8)), url('https://anesthesiaboard.se/wp-content/uploads/2026/01/herobackground1112222-scaled.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Hero Section Padding */
.bg-\[#F5F6ED\] section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .bg-\[#F5F6ED\] section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Hero media – clean rebuild (ab-* namespace) */
.ab-hero-video-wrap {
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .ab-hero-video-wrap {
        max-width: 380px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (min-width: 768px) {
    .ab-hero-video-wrap {
        max-width: 420px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Hero h1 line break spacing */
.bg-\[#F5F6ED\] section h1 br {
    margin-bottom: 0rem !important;
}

/* Hero h1 Inter font - Maximum specificity */
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl,
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl span,
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl .hero-line-1,
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl .hero-line-2,
.bg-\[#F5F6ED\] section h1,
.bg-\[#F5F6ED\] section h1 span,
.bg-\[#F5F6ED\] section h1 .hero-line-1,
.bg-\[#F5F6ED\] section h1 .hero-line-2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 64px !important;
    line-height: 1.1 !important;
}

/* Mobile h1 line breaks */
@media (max-width: 767px) {

    .bg-\[#F5F6ED\] section h1 .hero-line-1,
    .bg-\[#F5F6ED\] section h1 .hero-line-2 {
        display: block !important;
        width: 100% !important;
    }

    .bg-\[#F5F6ED\] section h1 .hero-line-2 {
        margin-top: 0.25rem !important;
    }
}

/* Description line breaks - Always 2 lines */
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] p.text-base .description-line-1,
body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] p.text-base .description-line-2 {
    display: block !important;
    width: 100% !important;
}

body.anesthesia-board-template .bg-\[#F5F6ED\] section.max-w-\[1300px\] p.text-base .description-line-2 {
    margin-top: 0.25rem !important;
}

/* Hero h1 line control */
div.bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl span.hero-line-1,
div.bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl span.hero-line-2 {
    display: block !important;
}

div.bg-\[#F5F6ED\] section.max-w-\[1300px\] h1.text-4xl span.hero-line-2 {
    margin-top: -0.5rem !important;
}

/* Hero h1 line control */
.bg-\[#F5F6ED\] section h1 .hero-line-2 {
    display: block;
    margin-top: -0.2rem !important;
}

@media (min-width: 768px) {
    .ab-hero-video-wrap {
        padding-left: 0;
        padding-right: 0;
    }
}

.ab-hero-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}

.ab-hero-dashboard-wrap {
    margin: 0 !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.25rem;
    position: relative;
}

.ab-hero-dashboard-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1920px;
    height: 100%;
    background-image: url('https://anesthesiaboard.se/wp-content/uploads/2026/01/wrapback1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

@media (min-width: 640px) {
    .ab-hero-dashboard-wrap {
        padding: 0 0.5rem;
    }
}

@media (min-width: 768px) {
    .ab-hero-dashboard-wrap {
        padding: 0;
        max-width: 72rem;
    }
}

.ab-hero-dashboard-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    margin-top: 0 !important;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Dashboard video preview */
.ab-hero-video-preview {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.ab-hero-video-preview__media {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Feature Cards: Free Quiz + AI Examiner (texture background + overlay) */
.ab-feature-card {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.ab-feature-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Free Quiz: blue gradient overlay so text stands out */
.ab-feature-card__overlay--blue {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.75) 0%,
        rgba(37, 99, 235, 0.7) 50%,
        rgba(29, 78, 216, 0.8) 100%
    );
}

/* AI Examiner: warm orange/brown overlay */
.ab-feature-card__overlay--orange {
    background: linear-gradient(
        135deg,
        rgba(194, 65, 12, 0.7) 0%,
        rgba(154, 52, 18, 0.75) 50%,
        rgba(124, 45, 18, 0.85) 100%
    );
}

.ab-feature-card__content {
    position: relative;
}

.ab-feature-card__title {
    font-family: 'Inter', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ab-feature-card__desc {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* White CTA button - dark text, overrides global link color */
body.anesthesia-board-template .ab-feature-card__btn {
    color: #191918 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
}

body.anesthesia-board-template .ab-feature-card:hover .ab-feature-card__btn {
    background-color: #f9fafb !important;
    color: #191918 !important;
}

/* Coming Soon enhancements */
.ab-coming-soon-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ab-coming-soon-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e9f3ff;
    color: #006adc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ab-coming-soon-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(25, 25, 24, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}

.ab-coming-soon-cta {
    color: #ffffff !important;
}

body.anesthesia-board-template .ab-coming-soon-cta {
    color: #ffffff !important;
}

/* Double Feature enhancements */
.ab-double-feature-card {
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ab-double-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Header: üstten hizalı */
.ab-double-feature-header {
    gap: 16px;
    flex-shrink: 0;
}

.ab-double-feature-badge {
    letter-spacing: 0.08em;
}

/* Fixed-height image area: same on both cards, description never affects it */
.ab-double-feature-media {
    position: relative;
    background: #f9f9f9;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    flex: 0 0 250px;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
}

/* Image fills container exactly, no overflow on any screen */
.ab-double-feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.ab-double-feature-image-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}

/* Textbook & AI Oral Exam: abt- double feature – kart düzeni */
.abt-double-feature-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
/* Başlık tek satırda, genişliğe göre ölçeklensin */
.abt-double-feature-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1rem, 4.5vw, 1.5rem);
}
@media (min-width: 768px) {
    .abt-double-feature-title {
        font-size: clamp(1.125rem, 2vw, 1.5rem);
    }
}
/* Alt blok (CTA + resim) kartın en altına sabitlensin; buton resmin hemen üstünde */
.abt-double-feature-bottom {
    margin-top: auto;
}
/* Masaüstünde iki kart aynı yükseklikte, resimler alta hizalı */
@media (min-width: 768px) {
    .abt-double-feature-section {
        align-items: stretch;
    }
    .abt-double-feature-section > .abt-double-feature-card {
        min-height: 100%;
    }
}

/* Textbook & AI Oral Exam: abt- double feature – badge resmin üzerinde köşede */
.abt-double-feature-media {
    position: relative;
    overflow: hidden;
    height: 250px;
    min-height: 250px;
    flex: 0 0 250px;
    background: #f0f0f0;
}
.abt-double-feature-media .abt-double-feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.abt-double-feature-media .abt-double-feature-image-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(25, 25, 24, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    pointer-events: none;
}
@media (min-width: 768px) {
    .abt-double-feature-media {
        height: 350px;
        min-height: 350px;
        flex: 0 0 350px;
    }
}

.ab-double-feature-description {
    line-height: 1.5;
}

/* Double Feature: Link text solunda, buton sağda; mobil + masaüstü responsive */
.ab-double-feature-cta {
    text-decoration: none;
    min-width: 0;
}
.ab-double-feature-cta:hover .ab-double-feature-link-text {
    text-decoration: underline;
}
.ab-double-feature-link-text {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

/* Works on Devices – masaüstünde small heading (açık mavi) tek satır */
.ab-works-devices-small-heading-wrap {
    container-type: inline-size;
    container-name: works-devices-small-heading;
}
@media (min-width: 768px) {
    body.anesthesia-board-template .ab-works-devices-small-heading-wrap .ab-works-devices-small-heading {
        font-size: clamp(0.8125rem, 2.8cqw + 0.4rem, 1rem) !important;
        white-space: nowrap;
    }
}

/* Works on Devices – main heading satır içinde kalsın, gerekirse iki satıra düşsün (resmin arkasına taşmasın) */
.ab-works-devices-heading-wrap {
    container-type: inline-size;
    container-name: works-devices-heading;
    min-width: 0;
    max-width: 100%;
}
.ab-works-devices-main-heading {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
@media (min-width: 768px) {
    body.anesthesia-board-template .ab-works-devices-heading-wrap .ab-works-devices-main-heading {
        font-size: clamp(1.25rem, 5.5cqw + 0.5rem, 2.25rem) !important;
        white-space: normal;
    }
}

/* Works on Devices – görsel alanı tam doldurur, etrafında çerçeve olmaz */
.ab-works-devices-media {
    position: relative;
    overflow: hidden;
}
.ab-works-devices-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    display: block !important;
}

/* Try for Free – section başlığı masaüstünde tek satır, containera göre ölçeklenir */
.ab-try-free-title-wrap {
    container-type: inline-size;
    container-name: try-free-title;
}
@media (min-width: 768px) {
    body.anesthesia-board-template .ab-try-free-title-wrap .ab-try-free-section-title {
        font-size: clamp(1.5rem, 4.2cqw + 0.5rem, 3.25rem) !important;
        white-space: nowrap;
    }
}

/* Try for Free – soldaki kart: alttaki görsel alanı tam doldurur, çerçevesiz */
.ab-try-free-left-media {
    position: relative;
    overflow: hidden;
}
.ab-try-free-left-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    display: block !important;
}

/* Try for Free – soldaki kart birincil buton: koyu arka plan, beyaz içerik (global link rengini ez) */
body.anesthesia-board-template a.ab-try-free-btn-primary,
body.anesthesia-board-template a.ab-try-free-btn-primary:hover,
body.anesthesia-board-template a.ab-try-free-btn-primary:focus,
body.anesthesia-board-template a.ab-try-free-btn-primary:active {
    background-color: #191918 !important;
    color: #ffffff !important;
}
body.anesthesia-board-template a.ab-try-free-btn-primary:hover {
    background-color: #000000 !important;
}
body.anesthesia-board-template a.ab-try-free-btn-primary svg {
    stroke: #ffffff !important;
}

/* Try for Free – sağ kartlar buton: koyu metin (global link rengini ez) */
body.anesthesia-board-template a.ab-try-free-right-btn,
body.anesthesia-board-template a.ab-try-free-right-btn:hover {
    color: #191918 !important;
}
body.anesthesia-board-template a.ab-try-free-right-btn svg {
    stroke: #191918;
}

/* Try for Free – butonlar Double Feature stili (sol metin, sağ ok yuvarlak) */
.ab-try-free-cta {
    text-decoration: none;
    min-width: 0;
}
.ab-try-free-cta:hover .ab-try-free-link-text {
    text-decoration: underline;
}
.ab-try-free-link-text {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

/* Ready to Learn – açıklama paragrafı ortada (tema text-align: left'i ez) */
body.anesthesia-board-template .ab-ready-description {
    text-align: center !important;
}

/* Ready to Learn – birincil buton (siyah arka plan): metin ve ikon beyaz */
body.anesthesia-board-template a.ab-ready-cta-primary,
body.anesthesia-board-template a.ab-ready-cta-primary:hover,
body.anesthesia-board-template a.ab-ready-cta-primary:focus,
body.anesthesia-board-template a.ab-ready-cta-primary:active {
    color: #fff !important;
}
body.anesthesia-board-template a.ab-ready-cta-primary svg {
    stroke: #fff;
}

/* Works on Devices – Double Feature ile aynı buton stili (sol metin, sağ ok yuvarlak) */
.ab-works-devices-cta {
    text-decoration: none;
    min-width: 0;
}
.ab-works-devices-cta:hover .ab-works-devices-link-text {
    text-decoration: underline;
}
.ab-works-devices-link-text {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

/* Mobile: horizontal slider */
.ab-double-feature-section {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

@media (max-width: 767px) {
    .ab-double-feature-section {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .ab-double-feature-slide {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Mobile: image fits fully in area, no overflow */
    .ab-double-feature-media .ab-double-feature-image {
        object-fit: contain;
        object-position: center;
    }
}

/* Slider pagination dots – override button reset so dots are visible */
.ab-double-feature-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    padding-bottom: 0.25rem;
}

body.anesthesia-board-template .ab-df-dot {
    background-color: #561313 !important;
    min-width: 10px;
    min-height: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

body.anesthesia-board-template .ab-df-dot:hover {
    background-color: #6b7280 !important;
}

body.anesthesia-board-template .ab-df-dot.active {
    background-color: #191918 !important;
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .ab-hero-video-preview {
        width: 92%;
    }
}

/* Desktop: kartlar eşit yükseklik, header üstte, resim altta hizalı */
@media (min-width: 768px) {
    body.anesthesia-board-template .ab-double-feature-card .ab-double-feature-media {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
        flex: 0 0 350px !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        margin-top: auto !important;
    }
}

/* Trusted By section: masaüstünde h2 başlık tek satır, bulunduğu alana göre ölçeklenir */
.ab-trusted-by-heading-wrap {
    container-type: inline-size;
    container-name: trusted-by-heading;
}

@media (min-width: 768px) {
    body.anesthesia-board-template .ab-trusted-by-heading-wrap .ab-trusted-by-title {
        font-size: clamp(1.5rem, 4.2cqw + 0.5rem, 3.25rem) !important;
        white-space: nowrap;
    }
}

/* Trusted By – Feature Highlight: soldaki metin alanı tasarımı */
.ab-tb-highlight-text {
    max-width: 36rem;
    min-width: 0;
}
.ab-tb-highlight-badge {
    letter-spacing: 0.08em;
    color: #006ADC;
}
.ab-tb-highlight-quote {
    font-family: inherit;
    color: #191918;
    line-height: 1.4;
}
.ab-tb-highlight-desc {
    color: #5A5A55;
    line-height: 1.55;
}
.ab-tb-highlight-link {
    margin-top: 0.25rem;
}

/* Trusted By – görsel alanı tam doldurur; masaüstünde sağda boşluk kalmasın */
.ab-tb-highlight-media {
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .ab-tb-highlight-media {
        width: 400px !important;
        min-width: 400px !important;
        max-width: 400px !important;
        flex: 0 0 400px !important;
    }
}
.ab-tb-highlight-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center;
    display: block !important;
}
@media (max-width: 767px) {
    .ab-tb-highlight-media {
        min-height: 200px;
        height: 280px;
    }
}

/* Modern Header Buttons - Notion Style */
body.anesthesia-board-template #navbar a[href*="user-log-in"] {
    text-decoration: none;
}

body.anesthesia-board-template #navbar a[href*="user-sign-up"],
body.anesthesia-board-template #navbar a[href*="admin"] {
    border: none;
    box-shadow: none;
    color: #ffffff !important;
}

body.anesthesia-board-template #navbar a[href*="user-sign-up"]:hover,
body.anesthesia-board-template #navbar a[href*="admin"]:hover {
    color: #ffffff !important;
}

/* Robust Scroll Lock */
body.anesthesia-board-template.abt-scroll-lock {
    overflow: hidden !important;
    height: 100vh !important;
    /* Remove touch-action: none to allow proper touch handling on menu */
}

/* Mobile Menu Overlay - Prevent scrolling from affecting menu position */
#abt-mobile-menu {
    touch-action: none;
    /* Prevent default touch behaviors on overlay */
}

#abt-mobile-menu .flex-1.overflow-y-auto {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    background-color: #ffffff !important;
}

/* Mobile header bar and buttons – force white background */
body.anesthesia-board-template #navbar {
    background-color: #ffffff !important;
}

/* Mobile header: toggle (hamburger) and close (X) – white background only */
body.anesthesia-board-template #abt-mobile-menu-open,
body.anesthesia-board-template .abt-mobile-toggle,
body.anesthesia-board-template #abt-mobile-menu-close.abt-mobile-close {
    background-color: #ffffff !important;
    border: none;
    outline: none;
}
body.anesthesia-board-template #abt-mobile-menu-open:hover,
body.anesthesia-board-template #abt-mobile-menu-open:active,
body.anesthesia-board-template .abt-mobile-toggle:hover,
body.anesthesia-board-template .abt-mobile-toggle:active,
body.anesthesia-board-template #abt-mobile-menu-close.abt-mobile-close:hover,
body.anesthesia-board-template #abt-mobile-menu-close.abt-mobile-close:active {
    background-color: #ffffff !important;
}

/* Mobile Menu Close Button - Ensure it's clickable and visible */
#abt-mobile-menu-close {
    position: relative;
    z-index: 70;
    cursor: pointer;
    pointer-events: auto !important;
    background: #ffffff !important;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

#abt-mobile-menu-close:hover,
#abt-mobile-menu-close:active {
    background-color: #ffffff !important;
}

/* Mobile menu nav triggers (accordion buttons) – white background */
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-trigger {
    background-color: #ffffff !important;
    min-height: 48px !important;
    box-sizing: border-box;
}
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-trigger:hover,
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-trigger:active {
    background-color: #ffffff !important;
}

/* Mobile menu: simple links identical to mega trigger – same row height (48px), same padding, bold */
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-link {
    background-color: #ffffff !important;
    color: inherit;
    text-decoration: none !important;
    font-weight: 700 !important;
    min-height: 48px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    line-height: 1.25;
}
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-link:hover,
body.anesthesia-board-template #abt-mobile-menu .mobile-nav-link:active {
    background-color: #F7F7F5 !important;
}

/* Mobile Menu Buttons - Notion Style */
body.anesthesia-board-template #abt-mobile-menu a[href*="user-log-in"] {
    text-decoration: none;
}

body.anesthesia-board-template #abt-mobile-menu a[href*="user-sign-up"] {
    border: none;
    box-shadow: none;
    color: #ffffff !important;
}

body.anesthesia-board-template #abt-mobile-menu a[href*="user-sign-up"]:hover,
body.anesthesia-board-template #abt-mobile-menu a[href*="user-sign-up"]:active {
    color: #ffffff !important;
}

/* Mobile Menu Accordion Styles */
body.anesthesia-board-template .mobile-nav-content {
    display: block;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
    visibility: visible;
}

/* Override Tailwind's hidden class for mobile-nav-content */
body.anesthesia-board-template .mobile-nav-content.hidden {
    display: none;
    max-height: 0;
    opacity: 0;
}

/* When not hidden, ensure content is visible - JavaScript will set max-height to 'none' after animation */
body.anesthesia-board-template .mobile-nav-content:not(.hidden) {
    display: block;
    opacity: 1;
    visibility: visible;
    /* max-height will be managed by JavaScript */
}

body.anesthesia-board-template .mobile-nav-trigger {
    cursor: pointer;
    user-select: none;
    width: 100%;
    text-align: left;
}

body.anesthesia-board-template .mobile-nav-trigger i[data-lucide="chevron-down"],
body.anesthesia-board-template .mobile-nav-trigger svg {
    transition: transform 0.2s ease;
    display: inline-block;
    pointer-events: none;
}

/* EDAIC Hero: full-bleed slider + overlay + content (Cambly-style) */
body.anesthesia-board-template .abt-edaic-hero {
    min-height: 42vh;
    min-height: 320px;
}
body.anesthesia-board-template .abt-edaic-hero-slider {
    position: absolute;
    inset: 0;
}
body.anesthesia-board-template .abt-edaic-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}
body.anesthesia-board-template .abt-edaic-hero-slide.abt-edaic-hero-slide-active {
    opacity: 1;
    z-index: 1;
}
/* Arka plan video/resim: tüm hero'yu tam kaplar, oran bozulmadan */
body.anesthesia-board-template .abt-edaic-hero-media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    display: block;
}
/* Hero desktop/mobile: masaüstünde sadece desktop, mobilde sadece mobile görünsün (body class + hero container ile) */
body.anesthesia-board-template .abt-edaic-hero-desktop-only,
.abt-edaic-hero .abt-edaic-hero-desktop-only {
    display: none !important;
}
body.anesthesia-board-template .abt-edaic-hero-mobile-only,
.abt-edaic-hero .abt-edaic-hero-mobile-only {
    display: block !important;
}
@media (min-width: 768px) {
    body.anesthesia-board-template .abt-edaic-hero-desktop-only,
    .abt-edaic-hero .abt-edaic-hero-desktop-only {
        display: block !important;
    }
    body.anesthesia-board-template .abt-edaic-hero-mobile-only,
    .abt-edaic-hero .abt-edaic-hero-mobile-only {
        display: none !important;
    }
}
/* Mobilde video/görsel hero bölümüne sığsın, taşmasın */
@media (max-width: 767px) {
    body.anesthesia-board-template .abt-edaic-hero-media {
        min-width: 0;
        min-height: 0;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}
body.anesthesia-board-template .abt-edaic-hero-overlay {
    z-index: 2;
}
body.anesthesia-board-template .abt-edaic-hero-content {
    position: relative;
    z-index: 3;
}
body.anesthesia-board-template .abt-edaic-hero-content h1,
body.anesthesia-board-template .abt-edaic-hero-content p {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* Örnek resimdeki gibi büyük, etkileyici başlık */
body.anesthesia-board-template .abt-edaic-hero-headline {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.15;
}
body.anesthesia-board-template .abt-edaic-hero-subheadline {
    font-size: clamp(1.35rem, 4vw, 2.25rem);
    line-height: 1.2;
}
body.anesthesia-board-template .abt-edaic-hero-description {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 768px) {
    body.anesthesia-board-template .abt-edaic-hero {
        min-height: 48vh;
        min-height: 400px;
    }
    body.anesthesia-board-template .abt-edaic-hero-headline {
        font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    }
    body.anesthesia-board-template .abt-edaic-hero-subheadline {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }
}

/* About Us: slim hero – height reduced by ~40%; content centered vertically and horizontally */
body.anesthesia-board-template .abt-about-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 13vh !important;
    min-height: 108px !important;
}
body.anesthesia-board-template .abt-about-hero .abt-edaic-hero-content {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    text-align: center !important;
}
@media (min-width: 768px) {
    body.anesthesia-board-template .abt-about-hero .abt-edaic-hero-content {
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }
}
body.anesthesia-board-template .abt-about-hero .abt-edaic-hero-headline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}
body.anesthesia-board-template .abt-about-hero .abt-edaic-hero-subheadline {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
}
@media (min-width: 768px) {
    body.anesthesia-board-template .abt-about-hero {
        min-height: 16vh !important;
        min-height: 132px !important;
    }
}

/* About Us: Our focus card – structure and CTA button (white text) */
body.anesthesia-board-template .abt-about-focus-card {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 0.75rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
body.anesthesia-board-template .abt-about-focus-card .abt-about-focus-title {
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.125rem;
    font-weight: 700 !important;
    color: #1a1a1a;
}
body.anesthesia-board-template .abt-about-focus-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.anesthesia-board-template .abt-about-focus-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #333;
}
body.anesthesia-board-template .abt-about-focus-card ul li:last-child {
    margin-bottom: 0;
}
body.anesthesia-board-template .abt-about-focus-card ul li span:first-child {
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
    margin-top: 0.375rem;
    border-radius: 50%;
    background: #191918;
}
body.anesthesia-board-template .abt-about-focus-card .abt-about-focus-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: #191918 !important;
    color: #ffffff !important;
    border-radius: 0.5rem;
    text-decoration: none !important;
    transition: background 0.2s;
}
body.anesthesia-board-template .abt-about-focus-card .abt-about-focus-cta:hover {
    background: #2d2d2d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* FAQ page: single-column accordion (same tone as About Us) */
body.anesthesia-board-template .abt-faq-single {
    color: #1a1a1a;
}
body.anesthesia-board-template .abt-faq-section {
    margin-bottom: 2.5rem;
}
body.anesthesia-board-template .abt-faq-section:last-child {
    margin-bottom: 0;
}
body.anesthesia-board-template .abt-faq-section-title {
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700 !important;
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
}
body.anesthesia-board-template .abt-faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.anesthesia-board-template .abt-faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: #fff;
    overflow: hidden;
}
body.anesthesia-board-template .abt-faq-item:last-child {
    margin-bottom: 0;
}
body.anesthesia-board-template .abt-faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: block;
    list-style: none;
}
body.anesthesia-board-template .abt-faq-question::-webkit-details-marker {
    display: none;
}
body.anesthesia-board-template .abt-faq-question::marker {
    display: none;
}
body.anesthesia-board-template .abt-faq-question::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: #666;
}
body.anesthesia-board-template .abt-faq-item[open] .abt-faq-question::after {
    content: '−';
}
body.anesthesia-board-template .abt-faq-question:hover {
    background: #f8f8f8;
}
body.anesthesia-board-template .abt-faq-answer {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
}
body.anesthesia-board-template .abt-faq-answer p {
    margin: 0 0 0.75rem 0;
}
body.anesthesia-board-template .abt-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Refund Policy page: single-column sections (same style as FAQ) */
body.anesthesia-board-template .abt-rp-single {
    color: #1a1a1a;
}
body.anesthesia-board-template .abt-rp-section {
    margin-bottom: 2.5rem;
}
body.anesthesia-board-template .abt-rp-section:last-child {
    margin-bottom: 0;
}
body.anesthesia-board-template .abt-rp-section-title {
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700 !important;
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
}
body.anesthesia-board-template .abt-rp-section-content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
}
body.anesthesia-board-template .abt-rp-section-content p {
    margin: 0 0 0.75rem 0;
}
body.anesthesia-board-template .abt-rp-section-content p:last-child {
    margin-bottom: 0;
}
body.anesthesia-board-template .abt-rp-section-content ul {
    margin: 0 0 0.75rem 0;
    padding-left: 1.25rem;
}
body.anesthesia-board-template .abt-rp-section-content li {
    margin-bottom: 0.25rem;
}
body.anesthesia-board-template .abt-rp-section-content a {
    color: #0066cc;
    text-decoration: none;
}
body.anesthesia-board-template .abt-rp-section-content a:hover {
    text-decoration: underline;
}

/* Contact page: centered card with intro + email */
body.anesthesia-board-template .abt-contact-card {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    padding: 2rem 2.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
body.anesthesia-board-template .abt-contact-intro {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
body.anesthesia-board-template .abt-contact-email {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #191918 !important;
    text-decoration: none !important;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    transition: background 0.2s, border-color 0.2s;
}
body.anesthesia-board-template .abt-contact-email:hover {
    background: #fff;
    border-color: #191918;
    text-decoration: none !important;
}

/* EDAIC Part I Mock Exams: full-bleed slider, responsive + tek satır başlık */
body.anesthesia-board-template .abt-mock-exams-content-slider {
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    max-width: 100%;
}
body.anesthesia-board-template .abt-mock-exams-slider-viewport {
    width: 100%;
    max-width: 100%;
}
body.anesthesia-board-template .abt-mock-exams-content-slider .abt-mock-exams-slide {
    display: none;
}
body.anesthesia-board-template .abt-mock-exams-content-slider .abt-mock-exams-slide.abt-mock-exams-slide-active {
    display: block;
}
/* Full-bleed arka plan: görsel alanı tam doldurur, çerçeve yok */
body.anesthesia-board-template .abt-mock-exams-slide-bg {
    overflow: hidden;
}
body.anesthesia-board-template .abt-mock-exams-slide-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    object-position: center;
    transform: translate(-50%, -50%);
}
/* Mobil görsel: sadece mobilde görünsün */
body.anesthesia-board-template .abt-mock-exams-slide-img-mobile {
    display: none;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}
@media (max-width: 639px) {
    body.anesthesia-board-template .abt-mock-exams-slide-img-mobile {
        display: block;
    }
}
/* Masaüstü görsel: sadece 640px ve üzerinde görünsün */
body.anesthesia-board-template .abt-mock-exams-slide-img-desktop {
    display: none;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
@media (min-width: 640px) {
    body.anesthesia-board-template .abt-mock-exams-slide-img-desktop {
        display: block;
    }
}
/* Tek görsel (mobil alan boş): her zaman görünsün, mobilde sığsın masaüstünde kaplasın */
body.anesthesia-board-template .abt-mock-exams-slide-bg .abt-mock-exams-slide-img:not(.abt-mock-exams-slide-img-mobile):not(.abt-mock-exams-slide-img-desktop) {
    display: block;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}
@media (min-width: 640px) {
    body.anesthesia-board-template .abt-mock-exams-slide-bg .abt-mock-exams-slide-img:not(.abt-mock-exams-slide-img-mobile):not(.abt-mock-exams-slide-img-desktop) {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}
body.anesthesia-board-template .abt-mock-exams-slide-bg-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
/* Hafif koyu overlay: metin okunaklılığı */
body.anesthesia-board-template .abt-mock-exams-slide-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
/* Subtitle & Title: tek satırda, viewport ile ölçeklenir */
/* Mobilde subtitle en fazla 2 satır; masaüstünde tek satır */
body.anesthesia-board-template .abt-mock-exams-slide-subtitle {
    letter-spacing: 0.15em;
    font-size: clamp(0.625rem, 2.2vw + 0.4rem, 0.875rem);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 640px) {
    body.anesthesia-board-template .abt-mock-exams-slide-subtitle {
        letter-spacing: 0.2em;
        font-size: clamp(0.75rem, 1.2vw + 0.5rem, 0.875rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        display: block;
    }
}
body.anesthesia-board-template .abt-mock-exams-slide-title {
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1rem, 5vw + 0.5rem, 1.5rem);
}
@media (min-width: 640px) {
    body.anesthesia-board-template .abt-mock-exams-slide-title {
        font-size: clamp(1.5rem, 3vw + 0.75rem, 2rem);
    }
}
@media (min-width: 1024px) {
    body.anesthesia-board-template .abt-mock-exams-slide-title {
        font-size: clamp(2rem, 2.5vw + 0.5rem, 3rem);
    }
}
body.anesthesia-board-template .abt-mock-exams-slide-cta:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}
/* Altta noktalar: aktif beyaz dolu, inaktif beyaz çerçeve (referans) */
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap {
    pointer-events: none;
}
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap .abt-mock-exams-dot {
    pointer-events: auto;
}
/* Pasif slaytlar: beyaz nokta */
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap .abt-mock-exams-dot-inactive,
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap .abt-mock-exams-dot:not(.abt-mock-exams-dot-active) {
    background-color: #fff !important;
    background: #fff !important;
    border: 2px solid #fff !important;
}
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap .abt-mock-exams-dot:not(.abt-mock-exams-dot-active):hover {
    opacity: 0.9;
}
/* Aktif slayt: siyah nokta (en sonda, aktif+both class olduğunda kazansın) */
body.anesthesia-board-template .abt-mock-exams-slider-dots-wrap .abt-mock-exams-dot.abt-mock-exams-dot-active {
    background-color: #191918 !important;
    background: #191918 !important;
    border-color: #191918 !important;
    border: 2px solid #191918 !important;
    transform: scale(1.15);
}

/* ========== Memberships Checkout (PMPro) – undo header reset only; let PMPro style buttons ========== */
body.anesthesia-board-template .abt-checkout-wrap button,
body.anesthesia-board-template .abt-checkout-wrap input[type="submit"],
body.anesthesia-board-template .abt-checkout-wrap input[type="button"] {
    border: revert !important;
    outline: revert !important;
    box-shadow: revert !important;
    background: revert !important;
    padding: 0.5rem 1rem !important;
    margin: revert !important;
    font-family: inherit !important;
    cursor: pointer !important;
    border-radius: revert !important;
}
body.anesthesia-board-template .abt-checkout-wrap input[type="submit"]:hover,
body.anesthesia-board-template .abt-checkout-wrap input[type="button"]:hover,
body.anesthesia-board-template .abt-checkout-wrap button:hover {
    background: revert !important;
    border-color: revert !important;
}
/* PMPro primary submit button – .pmpro_submit and #pmpro_btn-submit / .pmpro_btn-submit-checkout */
body.anesthesia-board-template .abt-checkout-wrap #pmpro_btn-submit,
body.anesthesia-board-template .abt-checkout-wrap .pmpro_btn-submit-checkout,
body.anesthesia-board-template .abt-checkout-wrap .pmpro_submit input[type="submit"] {
    background: #1877F2 !important;
    color: #ffffff !important;
    border: 1px solid #166FE5 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    /* Eşit üst/alt padding: metin kaybolmaz, dikey hizalama makul olur */
    padding: 0.75rem 1.5rem !important;
    line-height: 1.35 !important;
    min-height: 2.5rem !important;
}
body.anesthesia-board-template .abt-checkout-wrap #pmpro_btn-submit:hover,
body.anesthesia-board-template .abt-checkout-wrap .pmpro_btn-submit-checkout:hover,
body.anesthesia-board-template .abt-checkout-wrap .pmpro_submit input[type="submit"]:hover {
    background: #166FE5 !important;
    color: #ffffff !important;
    border-color: #1458b8 !important;
}
body.anesthesia-board-template .abt-checkout-wrap input[type="text"],
body.anesthesia-board-template .abt-checkout-wrap input[type="email"],
body.anesthesia-board-template .abt-checkout-wrap input[type="password"],
body.anesthesia-board-template .abt-checkout-wrap input[type="tel"],
body.anesthesia-board-template .abt-checkout-wrap select,
body.anesthesia-board-template .abt-checkout-wrap textarea {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}
body.anesthesia-board-template .abt-checkout-wrap table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
}
body.anesthesia-board-template .abt-checkout-wrap {
    overflow-x: auto;
}

/* ABA Memberships: aktif tab – teal arka plan, beyaz metin (referans tasarım) */
body.anesthesia-board-template .ab-aba-memberships button.ab-aba-tab-btn.active,
body.anesthesia-board-template .ab-aba-memberships .ab-aba-tab-btn.active {
    background-color: #06b6d4 !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* Discount popup */
body.anesthesia-board-template .ab-discount-popup {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: min(328px, calc(100vw - 24px));
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14), 0 2px 10px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

body.anesthesia-board-template .ab-discount-popup__panel {
    display: block;
}

body.anesthesia-board-template .ab-discount-popup__tab {
    display: none;
}

body.anesthesia-board-template .ab-discount-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

body.anesthesia-board-template .ab-discount-popup.is-hidden,
body.anesthesia-board-template .ab-discount-popup[hidden] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
}

body.anesthesia-board-template .ab-discount-popup.is-collapsed {
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

body.anesthesia-board-template .ab-discount-popup.is-collapsed .ab-discount-popup__panel {
    display: none;
}

body.anesthesia-board-template .ab-discount-popup.is-collapsed .ab-discount-popup__tab {
    display: inline-flex;
}

body.anesthesia-board-template .ab-discount-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

body.anesthesia-board-template .ab-discount-popup__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body.anesthesia-board-template .ab-discount-popup__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.08);
    color: #1663c7;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.anesthesia-board-template .ab-discount-popup__offer-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #191918;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
}

body.anesthesia-board-template .ab-discount-popup__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(25, 25, 24, 0.06);
    background: rgba(247, 247, 245, 0.9);
    color: #5a5a55;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

body.anesthesia-board-template .ab-discount-popup__close:hover,
body.anesthesia-board-template .ab-discount-popup__close:focus-visible {
    background: #ffffff;
    border-color: rgba(24, 119, 242, 0.18);
    color: #191918;
}

body.anesthesia-board-template .ab-discount-popup__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.anesthesia-board-template .ab-discount-popup__title {
    font-size: 18px;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #191918;
}

body.anesthesia-board-template .ab-discount-popup__description {
    font-size: 13px;
    line-height: 1.5;
    color: #5f6672;
    max-width: 28ch;
}

body.anesthesia-board-template .ab-discount-popup__code-panel {
    display: block;
}

body.anesthesia-board-template .ab-discount-popup__code-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 11px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #f8fafc;
    min-width: 0;
}

body.anesthesia-board-template .ab-discount-popup__code-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

body.anesthesia-board-template .ab-discount-popup__code-value {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #191918;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.anesthesia-board-template .ab-discount-popup__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    width: 100%;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.98));
    color: #191918 !important;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.anesthesia-board-template .ab-discount-popup__copy,
body.anesthesia-board-template .ab-discount-popup__secondary {
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04);
}

body.anesthesia-board-template .ab-discount-popup__copy,
body.anesthesia-board-template .ab-discount-popup__copy span {
    color: #191918 !important;
}

body.anesthesia-board-template .ab-discount-popup__copy:hover,
body.anesthesia-board-template .ab-discount-popup__copy:focus-visible {
    background: #ffffff;
    border-color: rgba(17, 24, 39, 0.18);
    color: #111827 !important;
}

body.anesthesia-board-template .ab-discount-popup__copy.is-copied {
    background: rgba(232, 240, 254, 0.98);
    border-color: rgba(24, 119, 242, 0.18);
}

body.anesthesia-board-template .ab-discount-popup__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.anesthesia-board-template .ab-discount-popup__actions:empty {
    display: none;
}

body.anesthesia-board-template .ab-discount-popup__actions > * {
    min-width: 0;
}

body.anesthesia-board-template .ab-discount-popup__actions > :only-child {
    grid-column: 1 / -1;
}

body.anesthesia-board-template .ab-discount-popup__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 40px;
    width: 100%;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #191918;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.anesthesia-board-template .ab-discount-popup__secondary:hover,
body.anesthesia-board-template .ab-discount-popup__secondary:focus-visible {
    background: #2d2d2d;
    border-color: rgba(17, 24, 39, 0.18);
    color: #ffffff !important;
}

body.anesthesia-board-template .ab-discount-popup__status {
    min-height: 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #1877f2;
    margin-top: -3px;
}

body.anesthesia-board-template .ab-discount-popup__tab {
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 12px 0 0;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.05);
    color: #191918 !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    min-width: 148px;
}

body.anesthesia-board-template .ab-discount-popup__tab:hover,
body.anesthesia-board-template .ab-discount-popup__tab:focus-visible {
    background: #ffffff;
}

body.anesthesia-board-template .ab-discount-popup__tab-accent {
    width: 4px;
    align-self: stretch;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(180deg, #1877f2 0%, #61a8ff 100%);
    flex-shrink: 0;
}

body.anesthesia-board-template .ab-discount-popup__tab-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    padding: 0 2px 0 0;
}

body.anesthesia-board-template .ab-discount-popup__tab-text {
    font-size: 11px;
    font-weight: 700;
    color: #5f6672;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.anesthesia-board-template .ab-discount-popup__tab-code {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #191918;
    white-space: nowrap;
    line-height: 1.1;
}

body.anesthesia-board-template .ab-discount-popup__tab-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.08);
    color: #1663c7;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    body.anesthesia-board-template .ab-discount-popup {
        right: max(10px, env(safe-area-inset-right));
        left: max(10px, env(safe-area-inset-left));
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        padding: 14px;
        border-radius: 18px;
    }

    body.anesthesia-board-template .ab-discount-popup.is-collapsed {
        left: auto;
        max-width: calc(100vw - 20px);
    }

    body.anesthesia-board-template .ab-discount-popup__title {
        font-size: 17px;
    }

    body.anesthesia-board-template .ab-discount-popup__copy,
    body.anesthesia-board-template .ab-discount-popup__secondary {
        width: 100%;
    }

    body.anesthesia-board-template .ab-discount-popup__copy {
        min-height: 44px;
    }

    body.anesthesia-board-template .ab-discount-popup__secondary {
        min-height: 44px;
    }

    body.anesthesia-board-template .ab-discount-popup__tab {
        max-width: calc(100vw - 20px);
        min-width: 132px;
    }

    body.anesthesia-board-template .ab-discount-popup__tab-code {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.anesthesia-board-template .ab-discount-popup,
    body.anesthesia-board-template .ab-discount-popup__close,
    body.anesthesia-board-template .ab-discount-popup__copy,
    body.anesthesia-board-template .ab-discount-popup__secondary {
        transition: none;
    }
}
