/*
Theme Name: Dr. Dana Towle
Description: An editorial physician profile and surgical education block theme.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Dr. Dana Towle Website
License: GPL-2.0-or-later
Text Domain: dr-dana-towle
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{text-underline-offset:4px}a:hover{color:#312b69}img{max-width:100%;height:auto}h1,h2,h3{overflow-wrap:break-word}h1{font-size:clamp(36px,4.6vw,58px)}h2{font-size:clamp(29px,3.2vw,42px)}h3{font-size:26px}.wp-site-blocks{padding:0}.wp-site-blocks>*,.wp-block-template-part,.ddt-home-main,.ddt-home-main>.wp-block-post-content{margin-block-start:0!important}.ddt-header{border-bottom:1px solid #eeeaf4;background:#fff;padding:24px 32px}.ddt-header-inner{max-width:1160px!important;display:flex;align-items:center;justify-content:space-between;gap:24px}.ddt-header-inner>*{margin:0!important}.ddt-header .wp-block-site-title{font-family:Georgia,serif;font-size:25px;white-space:nowrap;font-weight:400}.ddt-header .wp-block-site-title a{text-decoration:none;color:#30294d}.ddt-header .wp-block-navigation{font-size:13px;line-height:1.5;gap:24px}.ddt-header .wp-block-navigation-item__content{text-decoration:none}.ddt-header .wp-block-navigation-item__content:hover{text-decoration:underline}.ddt-section{padding:80px 32px}.ddt-section>*{max-width:1160px!important}.ddt-section .wp-block-columns{gap:64px;align-items:center}.ddt-section h2{margin-top:0}.ddt-eyebrow{font-family:Arial,sans-serif!important;font-size:11px!important;font-weight:700;line-height:1.5;letter-spacing:1.8px;text-transform:uppercase;color:#6d629a;margin-bottom:18px}.ddt-hero{position:relative;background:#504992;color:#fff;padding:110px max(32px,calc((100vw - 1160px)/2));overflow:hidden}.ddt-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(62,54,126,.97) 0%,rgba(62,54,126,.92) 48%,rgba(62,54,126,.53) 100%),var(--ddt-hero-image,none) center 34%/cover;pointer-events:none}.ddt-hero>*{position:relative;max-width:760px!important;margin-left:0!important}.ddt-hero h1{color:#fff;margin-bottom:18px;font-size:clamp(44px,5.4vw,68px)}.ddt-hero .ddt-hero-subtitle{font-size:clamp(27px,3.3vw,42px);line-height:1.2;color:#fff;margin-top:0;margin-bottom:28px;max-width:720px!important}.ddt-hero p{font-size:16px;line-height:1.9;max-width:700px!important}.ddt-hero .ddt-eyebrow{color:#d7d0ee}.ddt-hero .wp-block-button__link{background:#fff;color:#453b83;margin-top:12px}.ddt-small{font-size:13px!important;line-height:1.7!important}.ddt-hero .ddt-small{color:#ded9ee;margin-top:22px}.ddt-audience{background:#f4f2f8;padding-block:58px}.ddt-audience .wp-block-column:first-child{flex-basis:38%}.ddt-audience .wp-block-column:last-child{flex-basis:62%}.ddt-portrait img{width:100%;max-height:560px;object-fit:cover;object-position:center 18%}.ddt-context-photo img{width:100%;aspect-ratio:1.18;object-fit:cover}.ddt-soft{background:#f8f7fa}.ddt-topic-cards{gap:25px!important;align-items:stretch!important;margin-top:32px}.ddt-topic-cards>.wp-block-column{padding:28px;background:#f4f2f8;border-top:2px solid #8a7eae}.ddt-topic-cards h3{font-size:25px}.ddt-topic-cards p{font-size:15px}.ddt-posts{margin-top:34px}.ddt-posts .wp-block-post-template{gap:36px 28px!important}.ddt-posts .wp-block-post{background:#fff;list-style:none}.ddt-posts .wp-block-post-featured-image{margin:0 0 20px}.ddt-posts .wp-block-post-featured-image img{width:100%;aspect-ratio:1.6;object-fit:cover}.ddt-posts h3{font-size:25px;line-height:1.28;margin-top:12px!important;margin-bottom:14px}.ddt-posts h3 a{color:#29243d;text-decoration:none}.ddt-posts h3 a:hover{color:#504992}.ddt-posts .ddt-eyebrow{font-size:10px!important;letter-spacing:1.1px;margin-bottom:10px}.ddt-posts .ddt-eyebrow a{text-decoration:none}.ddt-posts .wp-block-post-excerpt{font-size:14px;line-height:1.8}.ddt-posts .wp-block-post-excerpt__more-link{font-size:12px;font-weight:600}.ddt-page,.ddt-single{max-width:844px!important;padding:64px 32px 80px;margin:auto!important}.ddt-wide-page{max-width:1224px!important;padding:64px 32px 80px;margin:auto!important}.ddt-page>.wp-block-post-title,.ddt-single>.wp-block-post-title{margin-bottom:32px}.ddt-page .wp-block-post-content h2,.ddt-single .wp-block-post-content h2{font-size:31px;margin-top:44px}.ddt-page-portrait{float:right;width:38%;margin:0 0 28px 35px!important}.ddt-page-portrait img{width:100%}.ddt-page .ddt-source-note{clear:both}.ddt-source-note{background:#f4f2f8;border-left:3px solid #8d80b1;padding:24px 26px;font-size:13px;line-height:1.9;margin-top:40px}.ddt-source-note h3{font-family:Arial,sans-serif;font-size:14px;font-weight:700;margin:0 0 10px}.ddt-single .ddt-post-date{font-size:12px;color:#797381;margin-top:-15px;margin-bottom:28px}.ddt-single>.wp-block-post-featured-image img{width:100%;aspect-ratio:1.6;object-fit:cover}.ddt-related{margin-top:65px;padding-top:35px;border-top:1px solid #e8e4ee}.ddt-related .ddt-posts h3{font-size:20px}.ddt-related .ddt-posts .wp-block-post-excerpt{display:none}.ddt-footer{background:#29233e;color:#e3deeb;padding:60px 32px 25px}.ddt-footer-inner{max-width:1160px!important}.ddt-footer .wp-block-columns{gap:55px;align-items:start}.ddt-footer h3{color:#fff;font-size:25px;margin:0 0 18px}.ddt-footer p{font-size:14px}.ddt-footer a{color:#e3deeb;text-decoration:none}.ddt-footer a:hover{text-decoration:underline}.ddt-footer-bottom{border-top:1px solid #51495f;padding-top:22px;margin-top:35px;font-size:12px!important}.ddt-contact-form{padding:30px;background:#f4f2f8;margin:30px 0}.ddt-contact-form label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.ddt-contact-form input,.ddt-contact-form textarea{width:100%;padding:12px 14px;font:inherit;font-size:16px;border:1px solid #c9c1d7;border-radius:2px;background:#fff;color:#29233e}.ddt-contact-form textarea{min-height:160px}.ddt-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ddt-contact-form button{border:0;border-radius:2px;background:#504992;color:#fff;padding:15px 26px;font-size:14px;font-weight:600;cursor:pointer}.ddt-contact-form .ddt-consent{font-size:12px;font-weight:400}.ddt-contact-form .ddt-consent input{width:auto;margin-right:8px}.ddt-trap{position:absolute;left:-10000px;height:0;overflow:hidden}.ddt-notice{padding:15px;background:#efedf6;border-left:3px solid #504992}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9a82cd;outline-offset:4px}.wp-block-button.is-style-outline .wp-block-button__link{padding:12px 21px;border:1px solid #8275a5;color:#504992;background:transparent}
@media(max-width:1000px){.ddt-header{padding:20px 24px}.ddt-header-inner{gap:15px}.ddt-header .wp-block-site-title{font-size:22px}.ddt-header .wp-block-navigation{gap:16px;font-size:12px}.ddt-section{padding:60px 24px}.ddt-section .wp-block-columns{gap:35px}.ddt-hero{padding:80px 32px}.ddt-hero>*{max-width:690px!important}}
@media(max-width:781px){.ddt-section .wp-block-columns{gap:30px}.ddt-section{padding:48px 24px}.ddt-hero{padding:64px 24px}.ddt-hero:before{background:linear-gradient(90deg,rgba(62,54,126,.96),rgba(62,54,126,.88)),var(--ddt-hero-image,none) center/cover}.ddt-hero p{font-size:15px}.ddt-hero .ddt-hero-subtitle br{display:none}.ddt-hero h1{font-size:44px}.ddt-portrait img{max-height:560px}.ddt-topic-cards{gap:16px!important}.ddt-posts .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ddt-page,.ddt-single,.ddt-wide-page{padding:45px 24px 60px}.ddt-page-portrait{width:40%;margin-left:22px!important}.ddt-footer{padding:45px 24px 24px}.ddt-footer .wp-block-columns{gap:25px}.ddt-header-inner{flex-wrap:wrap}.ddt-header .wp-block-navigation{margin-left:auto!important}}
@media(max-width:599px){.ddt-header{padding:18px 20px}.ddt-header .wp-block-site-title{font-size:22px}.ddt-header-inner{flex-wrap:nowrap}.ddt-posts .wp-block-post-template{grid-template-columns:1fr!important}.ddt-page-portrait{float:none;width:100%;max-width:340px;margin:0 auto 30px!important}.ddt-form-row{grid-template-columns:1fr;gap:0}.ddt-contact-form{padding:22px}.ddt-hero h1{font-size:40px}.ddt-hero .ddt-hero-subtitle{font-size:29px}.ddt-section h2{font-size:32px}.ddt-related .wp-block-post-template{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Restores the intended wide archive while retaining readable article text. */
.ddt-wide-page>.wp-block-post-content,
.ddt-wide-page>.wp-block-post-title,
.ddt-wide-page>.wp-block-query-title,
.ddt-wide-page>.wp-block-query,
.ddt-footer-inner>*{max-width:1160px!important}
.ddt-wide-page>.wp-block-post-content{width:100%}
.ddt-wide-page .ddt-posts{max-width:1160px!important}
.ddt-posts .wp-block-post-featured-image img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.ddt-single>.wp-block-post-featured-image{margin-bottom:32px}
.ddt-single>.wp-block-post-featured-image img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.ddt-single .wp-block-post-content h2{font-size:31px;line-height:1.25;margin-top:40px;margin-bottom:18px}
.ddt-single .wp-block-post-content p,.ddt-page .wp-block-post-content p{font-size:17px;line-height:1.8}
@media(max-width:781px){.ddt-wide-page .ddt-posts .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:599px){.ddt-wide-page .ddt-posts .wp-block-post-template{grid-template-columns:1fr!important}.ddt-single .wp-block-post-content h2{font-size:28px}}
.ddt-hero{--ddt-hero-image:url('assets/medical-education.png')}
.ddt-portrait img{max-width:400px;display:block;margin-inline:auto;aspect-ratio:1;object-fit:cover}
.ddt-topic-cards h3 a{color:inherit;text-decoration:none}.ddt-topic-cards h3 a:hover{text-decoration:underline}
.wp-block-navigation__responsive-container.is-menu-open{background:#fff;color:#242038;padding:28px}
.ddt-page .wp-block-post-content:after{content:"";display:block;clear:both}
.ddt-error-page{text-align:center;min-height:48vh}
