/*
Theme Name: Daniel Authority
Description: Минималистичен професионален сайт за Даниел Василев.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: daniel-authority
*/
.wp-block-html{margin:0}.wp-site-blocks{padding:0}.site-header nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:9px}

/* Keep an icon and its label together at every viewport size. */
.topic-grid article{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:12px;align-content:start;align-items:start}
.topic-grid article>.icon{grid-column:1;grid-row:1;width:24px;height:24px;margin:4px 0 0;flex:none}
.topic-grid article>h3{grid-column:2;grid-row:1;min-width:0;margin:0;line-height:1.3}
.topic-grid article>p{grid-column:1/-1;margin-top:16px}
.topic-grid article>.text-link{grid-column:1/-1;justify-self:start}
.button,.text-link,.site-header nav>a,.menu-toggle{flex-wrap:nowrap}
.button>.icon,.text-link>.icon,.menu-toggle>.icon,.site-header nav>a>.icon{flex-shrink:0}
.button,.text-link{max-width:100%;min-width:0;overflow-wrap:anywhere}

/* Media photographs preserve the complete publisher frame and readable credits. */
.featured-item:has(.featured-photo){display:flex;flex-direction:column}
.featured-item:has(.featured-photo) .media-top{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%}
.featured-photo{display:block;width:100%;background:#eeeee9;border-radius:6px;overflow:hidden}
.featured-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.media-row.has-image{grid-template-columns:300px minmax(0,1fr);column-gap:32px;row-gap:10px;align-items:start}
.media-row.has-image .media-visual{grid-column:1;grid-row:1/5;margin:0}
.media-visual a{display:block;background:#eeeee9;border-radius:6px;overflow:hidden}
.media-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.media-visual figcaption{font-size:16px;line-height:1.5;margin-top:8px;color:var(--muted)}
.media-row.has-image .media-meta{grid-column:2;grid-row:1}
.media-row.has-image h2{grid-column:2;grid-row:2;margin:0}
.media-row.has-image .media-detail{grid-column:2;grid-row:3;margin:0}
.media-row.has-image .media-verification{grid-column:2;grid-row:4;margin:0}
@media(max-width:900px){.media-row.has-image{grid-template-columns:240px minmax(0,1fr);column-gap:24px}}
@media(max-width:640px){.media-row.has-image{display:flex;flex-direction:column;gap:12px}.media-row.has-image .media-visual{width:100%;margin-bottom:4px}.media-row.has-image h2{font-size:25px}.media-visual figcaption{font-size:16px}}
/* Experience: a compact introduction above three balanced columns. */
.profile-teaser:has(>.experience-list){grid-template-columns:minmax(0,1fr);gap:32px;padding-block:64px}
.profile-teaser:has(>.experience-list)>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 32px;align-items:start}
.profile-teaser:has(>.experience-list)>div:first-child>h2{grid-column:1;margin:0}
.profile-teaser:has(>.experience-list)>div:first-child>.section-lead{grid-column:1;margin:0;max-width:720px}
.profile-teaser:has(>.experience-list)>div:first-child>.text-link{grid-column:2;grid-row:1/3;align-self:end;margin:0}
.profile-teaser>.experience-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:0}
.profile-teaser>.experience-list>article{padding:24px 0 0;border-top:1px solid var(--line);border-bottom:0;min-width:0}
.profile-teaser>.experience-list h3{font-size:26px;line-height:1.3}
.profile-teaser>.experience-list p{margin-top:12px;line-height:1.65}
@media(max-width:900px){
 .profile-teaser:has(>.experience-list)>div:first-child{grid-template-columns:minmax(0,1fr);gap:12px}
 .profile-teaser:has(>.experience-list)>div:first-child>.text-link{grid-column:1;grid-row:auto;justify-self:start;margin-top:4px}
 .profile-teaser>.experience-list{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media(max-width:640px){
 .profile-teaser:has(>.experience-list){gap:24px;padding-block:40px}
 .profile-teaser>.experience-list>article{padding-top:20px}
 .profile-teaser>.experience-list h3{font-size:24px}
}
