/* ============================================================
   treatment-enhance.css
   Visual redesign for the DENTAL TREATMENT template
   (Dental-Treatment.aspx) -- one template renders every
   treatment page, so this restyles them all consistently.
   Linked only on Dental-Treatment.aspx, so it cannot affect
   other pages. Palette identical to theme.css / home-enhance.css:
     primary blue  #2491d0
     teal/green    #00dba5 / #00bf99 / #00acdb
     dark text     #233a46 / #455f68
     light bg      #f1f8f9 / #f7fbfc
   Custom classes are prefixed .dt- to avoid collisions.
   ============================================================ */

html { scroll-behavior: smooth; }
.dt-wrap, .dt-wrap * { box-sizing: border-box; }

/* ============================================================
   HERO  -  gradient title band + breadcrumb
   ============================================================ */
.dt-hero {
    position: relative;
    padding: 78px 0 70px;
    background: url('../images/cosmetic-dentisry.jpg') center center no-repeat;
    background-size: cover;
    overflow: hidden;
}
.dt-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        rgba(20, 45, 60, .93) 0%,
        rgba(20, 60, 80, .88) 45%,
        rgba(0, 90, 110, .82) 100%);
    z-index: 0;
}
.dt-hero .container { position: relative; z-index: 1; }
.dt-hero-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(0, 219, 165, .14);
    border: 1px solid rgba(0, 219, 165, .55);
    color: #00dba5;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.dt-hero h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}
.dt-hero-crumb { font-size: 14px; color: #9fc4d2; }
.dt-hero-crumb a { color: #00dba5; }
.dt-hero-crumb a:hover { color: #fff; }
.dt-hero-crumb i { margin-right: 4px; }
.dt-hero-crumb span { margin: 0 9px; opacity: .55; }

/* ============================================================
   BODY LAYOUT
   ============================================================ */
.dt-body { padding: 70px 0 75px; background: #fff; }

/* main content column (keeps the col-lg-9 grid pairing with
   the RightControl's col-lg-3 sidebar) */
.dt-content { padding-right: 30px; }

.dt-figure {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 32px;
    box-shadow: 0 16px 40px rgba(35, 58, 70, .14);
}
.dt-figure img { width: 100%; height: auto; display: block; }
.dt-figure-tag {
    position: absolute;
    top: 16px; left: 16px;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #00acdb, #00dba5);
    box-shadow: 0 6px 14px rgba(0, 172, 219, .35);
}

/* ============================================================
   PROSE  -  styles the DB-driven HTML description
   ============================================================ */
.dt-prose { color: #4a626c; font-size: 16px; line-height: 1.85; }
.dt-prose p { margin: 0 0 18px; }
.dt-prose h1, .dt-prose h2, .dt-prose h3, .dt-prose h4 {
    color: #233a46;
    font-weight: 700;
    line-height: 1.3;
    margin: 32px 0 14px;
}
.dt-prose h2 { font-size: 25px; padding-left: 16px; border-left: 4px solid #00dba5; }
.dt-prose h3 { font-size: 21px; }
.dt-prose h4 { font-size: 18px; }
.dt-prose a { color: #2491d0; font-weight: 600; }
.dt-prose a:hover { color: #00acdb; }
.dt-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0 20px; }
.dt-prose strong, .dt-prose b { color: #233a46; }
.dt-prose ul, .dt-prose ol { margin: 0 0 20px; padding-left: 0; }
.dt-prose ul { list-style: none; }
.dt-prose ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.7;
}
.dt-prose ul li:before {
    content: "\f00c";              /* fa-check */
    font-family: FontAwesome;
    position: absolute;
    left: 0; top: 2px;
    width: 22px; height: 22px;
    font-size: 11px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #2491d0, #00dba5);
}
.dt-prose ol { padding-left: 22px; }
.dt-prose ol li { margin-bottom: 12px; line-height: 1.7; }
.dt-prose blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 4px solid #00dba5;
    background: #f7fbfc;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #2b4853;
}
.dt-prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; }
.dt-prose table td, .dt-prose table th {
    border: 1px solid #e4edf0;
    padding: 10px 14px;
    text-align: left;
}
.dt-prose table th { background: #f1f8f9; color: #233a46; }

/* ============================================================
   INLINE CTA  -  closes the article with a booking prompt
   ============================================================ */
.dt-cta {
    margin-top: 40px;
    border-radius: 16px;
    padding: 34px 34px;
    background: linear-gradient(135deg, #2491d0 0%, #00bf99 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.dt-cta-copy h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.dt-cta-copy p { color: rgba(255, 255, 255, .92); font-size: 15px; margin: 0; line-height: 1.6; }
.dt-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dt-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.dt-btn-solid { background: #fff; color: #2491d0 !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.dt-btn-solid:hover { background: #233a46; color: #fff !important; transform: translateY(-2px); text-decoration: none; }
.dt-btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255, 255, 255, .7); }
.dt-btn-ghost:hover { background: #fff; color: #2491d0 !important; transform: translateY(-2px); text-decoration: none; }

/* ============================================================
   SIDEBAR  -  modernize the shared RightControl
   ============================================================ */
.dt-body .right-bar { padding-left: 12px; }
.dt-body .right-bar-categories,
.dt-body .right-bar-related,
.dt-body .right-bar > .row {
    background: #f7fbfc;
    border: 1px solid #eef3f5;
    border-radius: 14px;
    padding: 24px 22px;
    margin-bottom: 26px;
    box-shadow: 0 6px 18px rgba(35, 58, 70, .05);
}
.dt-body .right-bar-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #233a46;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eef3f5;
    text-transform: uppercase;
}
.dt-body .right-bar-title i { color: #00bf99; margin-right: 8px; }

.dt-body .right-bar-categories ul { list-style: none; padding: 0; margin: 0; }
.dt-body .right-bar-categories ul li { margin: 0; border-bottom: 1px solid #eef3f5; }
.dt-body .right-bar-categories ul li:last-child { border-bottom: none; }
.dt-body .right-bar-categories ul li a {
    display: block;
    position: relative;
    padding: 11px 14px 11px 22px;
    color: #455f68;
    font-size: 14.5px;
    border-radius: 8px;
    transition: background .25s ease, color .25s ease, padding .25s ease;
}
.dt-body .right-bar-categories ul li a:before {
    content: "\f105";              /* fa-angle-right */
    font-family: FontAwesome;
    position: absolute;
    left: 6px; top: 11px;
    color: #00bf99;
    transition: transform .25s ease;
}
.dt-body .right-bar-categories ul li a:hover {
    background: #fff;
    color: #2491d0;
    padding-left: 26px;
}

/* query form inside the sidebar */
.dt-body .right-bar > .row { padding-top: 22px; }
.dt-body .right-bar .booking-form-item { margin-bottom: 14px; }
.dt-body .right-bar .booking-form-item input[type="text"],
.dt-body .right-bar .booking-form-item textarea {
    width: 100%;
    border: 1px solid #dde7ea;
    border-radius: 8px;
    background: #fff;
}
.dt-body .right-bar .booking-form-item input:focus,
.dt-body .right-bar .booking-form-item textarea:focus {
    border-color: #00dba5;
    outline: none;
}
.dt-body .right-bar .btn-primary {
    background: linear-gradient(90deg, #00acdb, #00dba5);
    border: none;
    padding: 11px 30px;
    letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(0, 172, 219, .28);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.dt-body .right-bar .btn-primary:hover {
    background: linear-gradient(90deg, #00dba5, #00acdb);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 219, 165, .35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .dt-hero { padding: 60px 0 54px; }
    .dt-hero h1 { font-size: 32px; }
    .dt-body { padding: 50px 0 55px; }
    .dt-content { padding-right: 15px; }
    .dt-body .right-bar { padding-left: 15px; margin-top: 20px; }
}
@media (max-width: 767px) {
    .dt-hero { padding: 50px 0 46px; }
    .dt-hero h1 { font-size: 26px; }
    .dt-body { padding: 42px 0 46px; }
    .dt-content { padding-right: 0; }
    .dt-prose { font-size: 15.5px; }
    .dt-prose h2 { font-size: 21px; }
    .dt-cta { padding: 26px 22px; text-align: center; justify-content: center; }
    .dt-cta-actions { justify-content: center; width: 100%; }
}
