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