/*
Theme Name: GTNA شخصی — نویسنده
Template: base
Version: 1.0.1
Text Domain: personal-writer
*/
body.gcn-site{--gcn-bg:#ecf0f3;--gcn-surface:#ecf0f3;--gcn-radius:10px;--gcn-shadow:10px 10px 24px #d1d9e6,-10px -10px 24px #fff}.gcn-section-heading{text-align:center;margin-inline:auto}.gcn-section--hero .gcn-hero-image{box-shadow:var(--gcn-shadow)}.gcn-intro h1{white-space:pre-line}.gcn-grid--services .gcn-card{padding:40px}.gcn-footer{text-align:center}
@font-face{font-family:GTNAKalameh;src:url('assets/fonts/regular.ttf') format('truetype');font-weight:100 600;font-display:swap}@font-face{font-family:GTNAKalameh;src:url('assets/fonts/black.ttf') format('truetype');font-weight:700 900;font-display:swap}body.gcn-site{font-family:GTNAKalameh,GTNAYekan,Tahoma,sans-serif}

@media(max-width:1000px){.gcn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gcn-grid--faq{grid-template-columns:1fr}}@media(max-width:650px){.gcn-grid{grid-template-columns:1fr}.gcn-section--hero .gcn-intro{margin-inline:0;padding:35px 10px}.gcn-section--hero .gcn-split{min-height:560px}.gcn-grid--gallery .gcn-card:nth-child(3n+2){transform:none}.gcn-site h1{font-size:38px}.gcn-grid--profile .gcn-card{display:block}.gcn-grid--profile .gcn-card-image img{max-height:200px;object-fit:contain}.gcn-footer-grid{grid-template-columns:1fr 1fr}}

.gcn-site .gcn-button{color:var(--gcn-accent-on-light,#b30037)!important}

/* Inbio writer: the portrait, oversized introduction, and two tile groups are
   a view of the editable hero, social links, and profile records. */
body.gcn-site:has(.pw-hero){--gcn-bg:#ecf0f3;--gcn-surface:#ecf0f3;--gcn-text:#1f2228;--gcn-muted:#5f6269;--gcn-radius:8px}
.gcn-site:has(.pw-hero) .gcn-header-row{min-height:98px}
.gcn-site:has(.pw-hero) .gcn-section--hero{padding:48px 0 92px}
.gcn-site .pw-hero{display:grid;direction:ltr;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);align-items:stretch;gap:42px;min-height:490px}
.gcn-site .pw-hero>*{direction:rtl}
.gcn-site .pw-hero-copy{display:flex;flex-direction:column;align-items:flex-start;padding-block:22px 5px}
.gcn-site .pw-hero-eyebrow{color:var(--gcn-accent);font-weight:700;font-size:15px;letter-spacing:.01em}
.gcn-site .pw-hero h1{font-family:GTNAKalameh,GTNAYekan,Tahoma,sans-serif;font-weight:900;font-size:clamp(40px,4.1vw,67px);line-height:1.27;letter-spacing:-.035em;white-space:pre-line;margin:5px 0 24px}
.gcn-site .pw-hero h1 em{font-style:normal;color:var(--gcn-accent)}
.gcn-site .pw-hero-description{font-size:17px;line-height:2;color:var(--gcn-muted);max-width:630px;margin:0 0 35px}
.gcn-site .pw-hero-links{display:flex;gap:52px;justify-content:space-between;width:100%;margin-top:auto}
.gcn-site .pw-hero-links>div>span{display:block;font-size:13px;margin-bottom:20px}
.gcn-site .pw-hero-tiles{display:flex;gap:17px;flex-wrap:wrap}
.gcn-site .pw-hero-tiles a{width:64px;height:64px;display:grid;place-items:center;background:var(--gcn-bg);box-shadow:var(--gcn-shadow);border-radius:7px;color:#555b65;font-size:15px;font-weight:800;text-align:center;transition:transform .2s,color .2s}
.gcn-site .pw-hero-tiles a:hover{color:var(--gcn-accent);transform:translateY(-3px)}
.gcn-site .pw-hero-portrait{min-width:0;padding:14px;border-radius:8px;box-shadow:var(--gcn-shadow);background:var(--gcn-bg)}
.gcn-site .pw-hero-portrait img{display:block;width:100%;height:100%;min-height:470px;max-height:545px;object-fit:cover;border-radius:6px}
.gcn-site .pw-hero-portrait:empty{display:none}
@media(max-width:900px){.gcn-site .pw-hero{grid-template-columns:1fr 1fr;gap:24px}.gcn-site .pw-hero h1{font-size:clamp(34px,4vw,49px)}.gcn-site .pw-hero-links{gap:20px}.gcn-site .pw-hero-tiles a{width:52px;height:52px}}
@media(max-width:650px){.gcn-site:has(.pw-hero) .gcn-section--hero{padding:15px 0 45px}.gcn-site .pw-hero{grid-template-columns:1fr;gap:34px}.gcn-site .pw-hero-copy{padding:0}.gcn-site .pw-hero h1{font-size:clamp(35px,9vw,48px);margin-bottom:18px}.gcn-site .pw-hero-description{font-size:16px;margin-bottom:27px}.gcn-site .pw-hero-links{gap:20px;flex-wrap:wrap}.gcn-site .pw-hero-tiles{gap:12px}.gcn-site .pw-hero-tiles a{width:51px;height:51px}.gcn-site .pw-hero-portrait{grid-row:1;padding:10px}.gcn-site .pw-hero-portrait img{min-height:0;max-height:390px;aspect-ratio:1/1;object-position:center top}}
