/*
Theme Name: Elmofan Glass
Theme URI: https://elmofaneiran.com/
Author: Elm-o-Fan Iranian
Author URI: https://elmofaneiran.com/
Description: قالب شیشه‌ای (Glassmorphism) اختصاصی آموزشگاه فنی و حرفه‌ای علم و فن ایرانیان. راست‌چین، ریسپانسیو، سازگار با گوتنبرگ، ووکامرس، فرم‌های ثبت‌نام وردپرس و سیستم بلاگ. رنگ برند: سرمه‌ای #123f8f و قرمز #e8232f.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elmofan
Tags: rtl-language-support, education, glassmorphism, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, woocommerce
*/

/* استایل‌های اصلی در assets/css/main.css قرار دارند و از طریق functions.php بارگذاری می‌شوند. */

/* ---- WordPress core classes ---- */
.alignnone{margin:5px 20px 20px 0}
.aligncenter,div.aligncenter{display:block;margin:5px auto}
.alignright{float:right;margin:5px 0 20px 20px}
.alignleft{float:left;margin:5px 20px 20px 0}
.wp-caption{max-width:100%;border-radius:16px;overflow:hidden}
.wp-caption-text{font-size:.82rem;color:var(--txt-soft);text-align:center;padding:8px}
.sticky{position:relative}
.sticky::after{content:"سنجاق شده";position:absolute;top:12px;inset-inline-start:12px;background:var(--red-500);color:#fff;padding:4px 12px;border-radius:99px;font-size:.7rem;z-index:3}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery-columns-2{grid-template-columns:repeat(2,1fr)}
.gallery-columns-4{grid-template-columns:repeat(4,1fr)}
.gallery img{border-radius:14px}
.bypostauthor{}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.wp-block-image img{border-radius:16px}
.wp-block-quote{border-inline-start:4px solid var(--red-500);padding:14px 20px;background:rgba(232,35,47,.06);border-radius:12px}
.wp-block-button__link{border-radius:99px!important;background:var(--grad-red)!important}
.has-text-align-center{text-align:center}
.entry-content > *{max-width:100%}

/* ---- Comments ---- */
.comment-list{margin:0;padding:0;list-style:none}
.comment-list li{margin-bottom:18px}
.comment-list .children{list-style:none;padding-inline-start:26px;margin-top:18px}
.comment-body{padding:18px;border-radius:18px;background:var(--glass-bg);border:1px solid var(--glass-brd);backdrop-filter:var(--glass-blur)}
.comment-author{display:flex;align-items:center;gap:10px;font-weight:700;font-size:.9rem;margin-bottom:8px}
.comment-author img{border-radius:50%;width:42px;height:42px}
.comment-metadata{font-size:.76rem;color:var(--txt-soft);margin-bottom:8px}
.comment-reply-link{font-size:.8rem;font-weight:700;color:var(--red-500)}
.comment-respond{padding:24px;border-radius:22px;background:var(--glass-bg);border:1px solid var(--glass-brd);backdrop-filter:var(--glass-blur);margin-top:24px}
.comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font-size:.82rem}
.comment-form-cookies-consent input{width:auto}
.form-submit .submit{display:inline-flex;padding:12px 28px;border-radius:99px;border:0;cursor:pointer;font-weight:700;background:var(--grad-red);color:#fff}
