1095 lines
37 KiB
PHP
1095 lines
37 KiB
PHP
<?php
|
|
/**
|
|
* Template Name: کنار هم بمانیم
|
|
* Template Post Type: page
|
|
*
|
|
* @package Hesabix2
|
|
*/
|
|
if (!defined('ABSPATH')) { exit; }
|
|
|
|
$hx_brand = get_bloginfo('name');
|
|
$hx_logo = '';
|
|
$custom_logo_id = get_theme_mod('custom_logo');
|
|
if ($custom_logo_id) {
|
|
$logo_src = wp_get_attachment_image_src($custom_logo_id, 'medium');
|
|
if (!empty($logo_src[0])) {
|
|
$hx_logo = $logo_src[0];
|
|
}
|
|
}
|
|
if (!$hx_logo) {
|
|
$hx_logo = get_site_icon_url(96);
|
|
}
|
|
$hx_img = get_template_directory_uri() . '/assets/img';
|
|
?><!DOCTYPE html>
|
|
<html <?php language_attributes(); ?> dir="rtl">
|
|
<head>
|
|
<meta charset="<?php bloginfo('charset'); ?>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="در روزهای سخت، یک تن باشیم. همدلی، اتحاد، پرهیز از جدالهای سیاسی و ایمان به فردای روشن ایران.">
|
|
<meta name="theme-color" content="#0284c7">
|
|
<title><?php echo esc_html(wp_get_document_title()); ?></title>
|
|
<?php wp_head(); ?>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--brand: #0ea5e9;
|
|
--brand-deep: #0369a1;
|
|
--brand-mid: #0284c7;
|
|
--brand-soft: #38bdf8;
|
|
--brand-mist: #e0f2fe;
|
|
--brand-fog: #f0f9ff;
|
|
--ink: #0f172a;
|
|
--ink-2: #1e293b;
|
|
--mute: #64748b;
|
|
--mute-2: #94a3b8;
|
|
--line: rgba(15, 23, 42, 0.08);
|
|
--line-strong: rgba(15, 23, 42, 0.14);
|
|
--paper: #fbfdff;
|
|
--white: #ffffff;
|
|
--ease: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
--font: "Yekan Bakh FaNum", "Vazirmatn", Tahoma, Geneva, Verdana, sans-serif;
|
|
--read: 38rem;
|
|
--wide: 72rem;
|
|
--header-h: 4.5rem;
|
|
}
|
|
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
-webkit-text-size-adjust: 100%;
|
|
scroll-padding-top: calc(var(--header-h) + 0.75rem);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html { scroll-behavior: auto; }
|
|
*, *::before, *::after {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
}
|
|
.reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
|
|
.hero-photo { transform: none !important; animation: none !important; }
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
color: var(--ink-2);
|
|
background: var(--paper);
|
|
line-height: 1.85;
|
|
font-size: 1.0625rem;
|
|
font-weight: 400;
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
img, svg { display: block; max-width: 100%; }
|
|
a { color: inherit; text-decoration: none; }
|
|
::selection { background: rgba(14, 165, 233, 0.22); color: var(--ink); }
|
|
|
|
/* Noise / film grain */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9998;
|
|
pointer-events: none;
|
|
opacity: 0.035;
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
background-size: 180px;
|
|
mix-blend-mode: multiply;
|
|
}
|
|
|
|
/* Scroll progress */
|
|
.progress {
|
|
position: fixed;
|
|
top: 0;
|
|
inset-inline: 0;
|
|
height: 2px;
|
|
z-index: 10000;
|
|
transform-origin: right center;
|
|
transform: scaleX(0);
|
|
background: linear-gradient(90deg, var(--brand-soft), var(--brand-mid));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.skip-link {
|
|
position: absolute;
|
|
inset-inline-start: 1rem;
|
|
top: -120px;
|
|
z-index: 10001;
|
|
padding: 0.75rem 1.25rem;
|
|
background: var(--brand-mid);
|
|
color: #fff;
|
|
border-radius: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
.skip-link:focus { top: 1rem; outline: 3px solid rgba(14, 165, 233, 0.45); outline-offset: 3px; }
|
|
|
|
.wrap {
|
|
width: min(100% - 2.5rem, var(--wide));
|
|
margin-inline: auto;
|
|
}
|
|
.wrap-read {
|
|
width: min(100% - 2.5rem, var(--read));
|
|
margin-inline: auto;
|
|
}
|
|
@media (max-width: 640px) {
|
|
.wrap, .wrap-read { width: min(100% - 1.75rem, var(--wide)); }
|
|
}
|
|
|
|
/* ——— Header ——— */
|
|
.site-header {
|
|
position: fixed;
|
|
inset-inline: 0;
|
|
top: 0;
|
|
z-index: 9000;
|
|
height: var(--header-h);
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(251, 253, 255, 0.82);
|
|
backdrop-filter: blur(18px) saturate(1.35);
|
|
-webkit-backdrop-filter: blur(18px) saturate(1.35);
|
|
border-bottom: 1px solid rgba(15, 23, 42, 0.07);
|
|
box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
|
|
transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
|
|
}
|
|
.site-header.is-scrolled {
|
|
background: rgba(251, 253, 255, 0.94);
|
|
border-bottom-color: var(--line);
|
|
box-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
|
|
}
|
|
.site-header .wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
width: min(100% - 2.5rem, var(--wide));
|
|
}
|
|
|
|
.logo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
font-weight: 800;
|
|
font-size: 1.05rem;
|
|
letter-spacing: -0.03em;
|
|
color: var(--ink);
|
|
min-width: 0;
|
|
}
|
|
.logo-mark {
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
border-radius: 0.7rem;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
background: #fff;
|
|
border: 1px solid rgba(15, 23, 42, 0.08);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.9) inset,
|
|
0 6px 16px rgba(2, 132, 199, 0.14);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.logo-mark img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
.logo-name {
|
|
color: var(--ink);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
.header-link {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--mute);
|
|
padding: 0.5rem 0.95rem;
|
|
border-radius: 999px;
|
|
border: 1px solid transparent;
|
|
transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
|
|
}
|
|
.header-link:hover,
|
|
.header-link:focus-visible {
|
|
color: var(--brand-deep);
|
|
background: rgba(14, 165, 233, 0.08);
|
|
border-color: rgba(14, 165, 233, 0.18);
|
|
outline: none;
|
|
}
|
|
.header-link--primary {
|
|
color: #fff;
|
|
background: linear-gradient(145deg, var(--brand), var(--brand-deep));
|
|
border-color: transparent;
|
|
box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
|
|
}
|
|
.header-link--primary:hover,
|
|
.header-link--primary:focus-visible {
|
|
color: #fff;
|
|
background: linear-gradient(145deg, var(--brand-soft), var(--brand-mid));
|
|
border-color: transparent;
|
|
}
|
|
@media (max-width: 640px) {
|
|
.header-link:not(.header-link--primary) { display: none; }
|
|
.logo-name { font-size: 0.95rem; }
|
|
}
|
|
|
|
/* ——— Hero ——— */
|
|
.hero {
|
|
position: relative;
|
|
min-height: 100svh;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
overflow: hidden;
|
|
background: #0b1220;
|
|
}
|
|
|
|
.hero-photo {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center center;
|
|
z-index: 0;
|
|
transform: scale(1.02);
|
|
animation: hero-ken 18s var(--ease) forwards;
|
|
}
|
|
@keyframes hero-ken {
|
|
from { transform: scale(1.06); }
|
|
to { transform: scale(1); }
|
|
}
|
|
@media (max-width: 720px) {
|
|
.hero-photo { object-position: 28% center; }
|
|
}
|
|
|
|
.hero-scrim {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(180deg, rgba(6, 16, 24, 0.12) 0%, transparent 18%),
|
|
linear-gradient(0deg, rgba(6, 16, 24, 0.35) 0%, transparent 38%);
|
|
}
|
|
|
|
.hero-title-a11y {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.hero-fade {
|
|
position: absolute;
|
|
inset-inline: 0;
|
|
bottom: 0;
|
|
height: 6.5rem;
|
|
background: linear-gradient(to top, var(--paper), transparent);
|
|
z-index: 3;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.scroll-cue {
|
|
position: absolute;
|
|
bottom: 1.35rem;
|
|
inset-inline-start: 50%;
|
|
transform: translateX(50%);
|
|
z-index: 4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
|
|
}
|
|
.scroll-cue .mouse {
|
|
width: 1.25rem;
|
|
height: 2rem;
|
|
border: 1.5px solid rgba(255, 255, 255, 0.6);
|
|
border-radius: 999px;
|
|
position: relative;
|
|
}
|
|
.scroll-cue .mouse::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0.35rem;
|
|
inset-inline-start: 50%;
|
|
width: 0.28rem;
|
|
height: 0.28rem;
|
|
margin-inline-start: -0.14rem;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
animation: cue 1.8s var(--ease) infinite;
|
|
}
|
|
@keyframes cue {
|
|
0% { opacity: 1; transform: translateY(0); }
|
|
100% { opacity: 0; transform: translateY(0.9rem); }
|
|
}
|
|
|
|
/* ——— Shared sections ——— */
|
|
section { position: relative; }
|
|
|
|
.section {
|
|
padding: clamp(4.5rem, 10vw, 8.5rem) 0;
|
|
}
|
|
|
|
.kicker {
|
|
display: inline-block;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
color: var(--brand-mid);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-h {
|
|
font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.65rem);
|
|
font-weight: 800;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.35;
|
|
color: var(--ink);
|
|
margin-bottom: 1.25rem;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
/* ——— Article ——— */
|
|
.article {
|
|
background: var(--paper);
|
|
}
|
|
|
|
.article-body {
|
|
font-size: clamp(1.08rem, 1rem + 0.25vw, 1.175rem);
|
|
color: #475569;
|
|
line-height: 2.15;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
hyphens: auto;
|
|
}
|
|
.article-body p {
|
|
margin-bottom: 1.65rem;
|
|
}
|
|
.article-body p:last-child { margin-bottom: 0; }
|
|
.article-body strong {
|
|
color: var(--ink-2);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.lead {
|
|
font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
|
|
color: var(--ink-2);
|
|
font-weight: 500;
|
|
line-height: 2.05;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
padding: 0 0 0.25rem;
|
|
margin-bottom: 2.25rem !important;
|
|
position: relative;
|
|
}
|
|
.lead::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset-inline-start: -1.35rem;
|
|
top: 0.35rem;
|
|
bottom: 0.35rem;
|
|
width: 3px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, var(--brand-soft), var(--brand-deep));
|
|
}
|
|
@media (max-width: 640px) {
|
|
.lead::before { inset-inline-start: -0.85rem; }
|
|
}
|
|
|
|
/* ——— Quote monument ——— */
|
|
.quote-band {
|
|
position: relative;
|
|
padding: clamp(5rem, 12vw, 9rem) 0;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(ellipse 70% 80% at 50% 50%, rgba(14, 165, 233, 0.1), transparent 65%),
|
|
linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f8fbff 100%);
|
|
}
|
|
.quote-band::before,
|
|
.quote-band::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 40rem;
|
|
height: 40rem;
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
opacity: 0.4;
|
|
pointer-events: none;
|
|
}
|
|
.quote-band::before {
|
|
background: rgba(56, 189, 248, 0.45);
|
|
top: -20%;
|
|
inset-inline-end: -10%;
|
|
}
|
|
.quote-band::after {
|
|
background: rgba(2, 132, 199, 0.25);
|
|
bottom: -25%;
|
|
inset-inline-start: -15%;
|
|
}
|
|
|
|
.quote-inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(100% - 2.5rem, 52rem);
|
|
margin-inline: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.quote-mark {
|
|
width: 3.5rem;
|
|
height: 3.5rem;
|
|
margin: 0 auto 2rem;
|
|
color: var(--brand);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.quote-text {
|
|
font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.65rem);
|
|
font-weight: 800;
|
|
line-height: 1.65;
|
|
letter-spacing: -0.03em;
|
|
color: var(--ink);
|
|
text-wrap: balance;
|
|
}
|
|
.quote-cite {
|
|
display: block;
|
|
margin-top: 2rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
color: var(--mute);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* ——— Values ——— */
|
|
.values {
|
|
background: var(--white);
|
|
border-block: 1px solid var(--line);
|
|
}
|
|
|
|
.values-head {
|
|
text-align: center;
|
|
max-width: 36rem;
|
|
margin: 0 auto 3.5rem;
|
|
}
|
|
|
|
.values-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 1.75rem;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.9) inset,
|
|
0 24px 60px rgba(15, 23, 42, 0.05);
|
|
}
|
|
@media (max-width: 900px) {
|
|
.values-grid { grid-template-columns: 1fr 1fr; }
|
|
}
|
|
@media (max-width: 520px) {
|
|
.values-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.value {
|
|
padding: clamp(1.75rem, 3vw, 2.35rem);
|
|
border-inline-end: 1px solid var(--line);
|
|
border-bottom: 1px solid transparent;
|
|
background: linear-gradient(180deg, rgba(240, 249, 255, 0.35), transparent 60%);
|
|
transition: background 0.45s var(--ease);
|
|
position: relative;
|
|
}
|
|
.value:nth-child(4n) { border-inline-end: none; }
|
|
@media (max-width: 900px) {
|
|
.value:nth-child(2n) { border-inline-end: none; }
|
|
.value:nth-child(-n+2) { border-bottom-color: var(--line); }
|
|
}
|
|
@media (max-width: 520px) {
|
|
.value { border-inline-end: none; border-bottom: 1px solid var(--line); }
|
|
.value:last-child { border-bottom: none; }
|
|
}
|
|
.value:hover {
|
|
background: linear-gradient(180deg, rgba(224, 242, 254, 0.7), rgba(255, 255, 255, 0.4));
|
|
}
|
|
|
|
.value-icon {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border-radius: 0.9rem;
|
|
display: grid;
|
|
place-items: center;
|
|
margin-bottom: 1.35rem;
|
|
color: var(--brand-deep);
|
|
background: linear-gradient(145deg, #fff, var(--brand-fog));
|
|
border: 1px solid rgba(14, 165, 233, 0.18);
|
|
box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
|
|
transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
|
|
}
|
|
.value:hover .value-icon {
|
|
transform: translateY(-3px) scale(1.04);
|
|
box-shadow: 0 14px 28px rgba(2, 132, 199, 0.14);
|
|
}
|
|
.value-icon svg { width: 1.4rem; height: 1.4rem; }
|
|
|
|
.value h3 {
|
|
font-size: 1.2rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
margin-bottom: 0.65rem;
|
|
}
|
|
.value p {
|
|
font-size: 0.95rem;
|
|
color: var(--mute);
|
|
line-height: 1.8;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
|
|
/* ——— Letter / message ——— */
|
|
.letter {
|
|
background:
|
|
radial-gradient(ellipse 80% 50% at 50% 0%, rgba(224, 242, 254, 0.65), transparent 55%),
|
|
var(--paper);
|
|
}
|
|
|
|
.letter-card {
|
|
position: relative;
|
|
max-width: 48rem;
|
|
margin-inline: auto;
|
|
padding: clamp(2rem, 5vw, 3.25rem);
|
|
border-radius: 1.75rem;
|
|
background:
|
|
linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.75));
|
|
border: 1px solid rgba(186, 230, 253, 0.65);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.95) inset,
|
|
0 30px 80px rgba(2, 132, 199, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
.letter-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
inset-inline: 0;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, transparent, var(--brand), transparent);
|
|
}
|
|
|
|
.letter-top {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1.75rem;
|
|
padding-bottom: 1.5rem;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
@media (max-width: 520px) {
|
|
.letter-top { flex-direction: column; text-align: center; }
|
|
}
|
|
|
|
.letter-avatar {
|
|
width: 3.75rem;
|
|
height: 3.75rem;
|
|
border-radius: 1.15rem;
|
|
background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
|
|
display: grid;
|
|
place-items: center;
|
|
color: #fff;
|
|
font-weight: 900;
|
|
font-size: 1.15rem;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 14px 32px rgba(2, 132, 199, 0.35);
|
|
}
|
|
.letter-meta h2 {
|
|
font-size: 1.35rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
.letter-meta span {
|
|
font-size: 0.85rem;
|
|
color: var(--mute);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.letter-body p {
|
|
color: #475569;
|
|
margin-bottom: 1.15rem;
|
|
line-height: 2;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
.letter-body p:last-of-type { margin-bottom: 0; }
|
|
.letter-body strong { color: var(--ink-2); font-weight: 700; }
|
|
|
|
.letter-heart {
|
|
position: relative;
|
|
margin: 1.5rem 0 1.35rem;
|
|
padding: 1.35rem 1.4rem 1.35rem 1.5rem;
|
|
border-radius: 1.15rem;
|
|
background:
|
|
linear-gradient(145deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.75));
|
|
border: 1px solid rgba(14, 165, 233, 0.18);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
|
}
|
|
.letter-heart::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset-inline-start: 0;
|
|
top: 0.85rem;
|
|
bottom: 0.85rem;
|
|
width: 3px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, var(--brand-soft), var(--brand-deep));
|
|
}
|
|
.letter-heart .place {
|
|
display: inline-block;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
color: var(--brand-deep);
|
|
margin-bottom: 0.65rem;
|
|
}
|
|
.letter-heart p {
|
|
margin-bottom: 0.9rem;
|
|
color: var(--ink-2);
|
|
font-weight: 500;
|
|
line-height: 2.05;
|
|
}
|
|
.letter-heart p:last-child { margin-bottom: 0; }
|
|
|
|
.letter-sign {
|
|
margin-top: 1.75rem;
|
|
padding-top: 1.35rem;
|
|
border-top: 1px dashed var(--line-strong);
|
|
font-weight: 700;
|
|
color: var(--brand-deep);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* ——— CTA ——— */
|
|
.cta {
|
|
padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7.5rem);
|
|
text-align: center;
|
|
background: linear-gradient(180deg, var(--paper), #e8f5fc);
|
|
}
|
|
|
|
.cta-panel {
|
|
position: relative;
|
|
width: min(100% - 2.5rem, 40rem);
|
|
margin-inline: auto;
|
|
padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
|
|
border-radius: 2rem;
|
|
background: rgba(255, 255, 255, 0.65);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.85);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.9) inset,
|
|
0 28px 70px rgba(2, 132, 199, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
.cta-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 16rem;
|
|
height: 16rem;
|
|
border-radius: 50%;
|
|
background: rgba(56, 189, 248, 0.25);
|
|
filter: blur(50px);
|
|
top: -40%;
|
|
inset-inline-end: -20%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cta-panel .section-h { margin-bottom: 0.75rem; }
|
|
.cta-panel > p {
|
|
position: relative;
|
|
z-index: 1;
|
|
color: var(--mute);
|
|
margin-bottom: 2rem;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
.btn {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.65rem;
|
|
padding: 1rem 1.9rem;
|
|
border-radius: 1rem;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
color: #fff;
|
|
background: linear-gradient(145deg, var(--brand), var(--brand-deep));
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.25) inset,
|
|
0 14px 36px rgba(2, 132, 199, 0.38);
|
|
transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
|
|
}
|
|
.btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.25) inset,
|
|
0 20px 44px rgba(2, 132, 199, 0.45);
|
|
}
|
|
.btn:focus-visible {
|
|
outline: 3px solid rgba(14, 165, 233, 0.45);
|
|
outline-offset: 3px;
|
|
}
|
|
.btn:active { transform: translateY(-1px); }
|
|
.btn svg {
|
|
width: 1.15rem;
|
|
height: 1.15rem;
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
/* ——— Footer ——— */
|
|
.site-footer {
|
|
position: relative;
|
|
padding: 3.5rem 0 3.75rem;
|
|
background: #061018;
|
|
color: rgba(255, 255, 255, 0.68);
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
.site-footer::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset-inline: 0;
|
|
top: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
|
|
}
|
|
.footer-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
margin-bottom: 1.15rem;
|
|
color: #fff;
|
|
font-weight: 800;
|
|
font-size: 0.95rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.footer-brand .logo-mark {
|
|
width: 1.7rem;
|
|
height: 1.7rem;
|
|
border-radius: 0.45rem;
|
|
box-shadow: none;
|
|
border-color: rgba(255,255,255,0.15);
|
|
background: #fff;
|
|
}
|
|
.site-footer p {
|
|
font-size: 0.95rem;
|
|
line-height: 1.95;
|
|
max-width: 34rem;
|
|
margin-inline: auto;
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
/* ——— Reveal ——— */
|
|
.reveal {
|
|
opacity: 0;
|
|
transform: translateY(2rem);
|
|
transition: opacity 1s var(--ease), transform 1s var(--ease);
|
|
}
|
|
.reveal.is-in {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
.d1 { transition-delay: 0.08s; }
|
|
.d2 { transition-delay: 0.16s; }
|
|
.d3 { transition-delay: 0.24s; }
|
|
.d4 { transition-delay: 0.32s; }
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px; height: 1px;
|
|
padding: 0; margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0,0,0,0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body <?php body_class(); ?>>
|
|
<?php wp_body_open(); ?>
|
|
<div class="progress" id="progress" aria-hidden="true"></div>
|
|
<a class="skip-link" href="#main">پرش به محتوای اصلی</a>
|
|
|
|
<header class="site-header" id="header">
|
|
<div class="wrap">
|
|
<a class="logo" href="<?php echo esc_url(home_url('/')); ?>" aria-label="حسابیکس — صفحه اصلی">
|
|
<span class="logo-mark" aria-hidden="true">
|
|
<img src="<?php echo esc_url($hx_logo); ?>" alt="" width="36" height="36" decoding="async">
|
|
</span>
|
|
<span class="logo-name"><?php echo esc_html($hx_brand); ?></span>
|
|
</a>
|
|
<nav class="header-nav" aria-label="ناوبری صفحه">
|
|
<a class="header-link" href="#article">پیام همدلی</a>
|
|
<a class="header-link" href="#values">عهدها</a>
|
|
<a class="header-link header-link--primary" href="<?php echo esc_url(home_url('/')); ?>">بازگشت به سایت</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="main">
|
|
<!-- Hero -->
|
|
<section class="hero" aria-labelledby="hero-title">
|
|
<picture>
|
|
<source
|
|
type="image/webp"
|
|
srcset="<?php echo esc_url($hx_img . '/hamdeli-900.webp'); ?> 900w, <?php echo esc_url($hx_img . '/hamdeli-1600.webp'); ?> 1600w"
|
|
sizes="100vw"
|
|
>
|
|
<img
|
|
class="hero-photo"
|
|
src="<?php echo esc_url($hx_img . '/hamdeli-1600.jpg'); ?>"
|
|
srcset="<?php echo esc_url($hx_img . '/hamdeli-900.jpg'); ?> 900w, <?php echo esc_url($hx_img . '/hamdeli-1600.jpg'); ?> 1600w"
|
|
sizes="100vw"
|
|
alt="ایران، سرزمین ایستادگی و عشق — ما از خاک خود دفاع میکنیم، اما آیندهمان را با امید میسازیم"
|
|
width="1600"
|
|
height="1067"
|
|
decoding="async"
|
|
fetchpriority="high"
|
|
>
|
|
</picture>
|
|
<h1 id="hero-title" class="hero-title-a11y">در روزهای سخت، یک تن باشیم</h1>
|
|
<div class="hero-scrim" aria-hidden="true"></div>
|
|
<div class="hero-fade" aria-hidden="true"></div>
|
|
<div class="scroll-cue" aria-hidden="true">
|
|
<span class="mouse"></span>
|
|
ادامه
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Article -->
|
|
<section id="article" class="article section" aria-labelledby="article-title">
|
|
<div class="wrap-read">
|
|
<p class="kicker reveal">سخنی برای این روزها</p>
|
|
<h2 id="article-title" class="section-h reveal d1">یک ملت؛ یک قلب؛ یک سرنوشت</h2>
|
|
|
|
<div class="article-body">
|
|
<p class="lead reveal d2">
|
|
امروز ایران در برابر فشاری ایستاده که از مرز یک تهدید ساده فراتر رفته است. آمریکا و جمعی از کشورها در این تجاوز نقش دارند. در چنین لحظهای، آنچه بیش از هر چیز به ما نیرو میدهد، <strong>همدلی</strong>، <strong>اتحاد</strong> و ایستادن در کنار یکدیگر است — نه پراکندگی و نه جدال.
|
|
</p>
|
|
<p class="reveal">
|
|
این روزها جای دعواهای حزبی و گروهی نیست. هر نزاع درونی، هر تهمت و هر هیاهوی رسانهای که مردم را به جان هم بیندازد، دقیقاً همان چیزی است که دشمن میخواهد. بیایید <strong>بلندگوی دشمن</strong> نشویم؛ شایعه را بازنشر نکنیم، اختلاف را دامن نزنیم، و بهجای شکاف، پل بسازیم.
|
|
</p>
|
|
<p class="reveal">
|
|
ایمان داشته باشیم که از <strong>رهبر</strong> تا <strong>رئیسجمهور</strong>، تا آن جوانی که پشت لانچر موشک ایستاده و آن رزمندهای که پدافند را نگه میدارد، همه <strong>یک تن</strong> هستند. این پیکر واحد، با اعتماد مردم زنده میماند. هیاهوی رسانهای و بازیهای حزبی نباید ما را از این حقیقت دور کند.
|
|
</p>
|
|
<p class="reveal">
|
|
اختلاف سلیقه در روزهای عادی طبیعی است؛ اما در روز خطر، اولویت فقط یک چیز است: <strong>حفظ ایران و مردم آن</strong>. خودداری از جدال سیاسی، نشانهٔ ضعف نیست؛ نشانهٔ بصیرت و مسئولیت است. وقتی دشمن بیرون در میکوبد، خانه را از درون نباید آتش زد.
|
|
</p>
|
|
<p class="reveal">
|
|
<strong>فردا برای ما روشن است.</strong> ما به آیندهٔ این سرزمین ایمان داریم. و اگر در این راه نباشیم و به شهادت برسیم، بدانیم که این فداکاری برای فرزندانمان است — برای اینکه آنها در آرامش، عزت و امنیت زندگی کنند. امید، میراثی است که به نسل بعد میسپاریم.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Quote -->
|
|
<section class="quote-band" aria-labelledby="quote-heading">
|
|
<h2 id="quote-heading" class="visually-hidden">سخن برجسته</h2>
|
|
<div class="quote-inner reveal">
|
|
<svg class="quote-mark" viewBox="0 0 48 48" fill="currentColor" aria-hidden="true">
|
|
<path d="M14 34c-4.4 0-8-3.6-8-8 0-6.2 4.6-12.4 12-16l2.4 3.6C15.2 16.8 12 21 12 26c0 1.1.9 2 2 2h6v12H14zm22 0c-4.4 0-8-3.6-8-8 0-6.2 4.6-12.4 12-16l2.4 3.6C37.2 16.8 34 21 34 26c0 1.1.9 2 2 2h6v12h-8z"/>
|
|
</svg>
|
|
<blockquote>
|
|
<p class="quote-text">از رهبر تا رزمنده، همه یک تنیم.<br>به هیاهوی دشمن اعتنا نکنیم؛ فردا روشن است.</p>
|
|
<cite class="quote-cite">— با ایمان و مهر، از جانب حسابیکس</cite>
|
|
</blockquote>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Values -->
|
|
<section id="values" class="values section" aria-labelledby="values-title">
|
|
<div class="wrap">
|
|
<div class="values-head">
|
|
<p class="kicker reveal">آنچه ما را نگه میدارد</p>
|
|
<h2 id="values-title" class="section-h reveal d1">چهار عهد برای این روزها</h2>
|
|
</div>
|
|
|
|
<div class="values-grid">
|
|
<article class="value reveal">
|
|
<div class="value-icon" aria-hidden="true">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/>
|
|
</svg>
|
|
</div>
|
|
<h3>همدلی</h3>
|
|
<p>درد همسایه، درد ماست. در سختی، دست یکدیگر را بگیریم و دلها را گرم نگه داریم.</p>
|
|
</article>
|
|
|
|
<article class="value reveal d1">
|
|
<div class="value-icon" aria-hidden="true">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/>
|
|
<circle cx="9" cy="7" r="4"/>
|
|
<path d="M22 21v-2a4 4 0 0 0-3-3.87"/>
|
|
<path d="M16 3.13a4 4 0 0 1 0 7.75"/>
|
|
</svg>
|
|
</div>
|
|
<h3>اتحاد</h3>
|
|
<p>از رأس تا میدان، یک پیکریم. شکاف میان ما، همان فرصتی است که دشمن در پی آن است.</p>
|
|
</article>
|
|
|
|
<article class="value reveal d2">
|
|
<div class="value-icon" aria-hidden="true">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="9"/>
|
|
<path d="M12 8v4l2.5 2.5"/>
|
|
</svg>
|
|
</div>
|
|
<h3>بصیرت</h3>
|
|
<p>به هیاهوی رسانهای و بازی حزبی اعتنا نکنیم. بلندگوی دشمن نشویم؛ حقیقت را با آرامش بجوییم.</p>
|
|
</article>
|
|
|
|
<article class="value reveal d3">
|
|
<div class="value-icon" aria-hidden="true">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M12 3c-1.5 3-4 5-7 6 3 1 5.5 3 7 6 1.5-3 4-5 7-6-3-1-5.5-3-7-6z"/>
|
|
<path d="M5 19c1-.8 2.2-1.2 3.5-1.2"/>
|
|
<path d="M19 19c-1-.8-2.2-1.2-3.5-1.2"/>
|
|
<path d="M12 14v5"/>
|
|
</svg>
|
|
</div>
|
|
<h3>امید</h3>
|
|
<p>فردا روشن است. اگر در این راه فدا شویم، برای فرزندانمان است — برای فردایی امن و سربلند.</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Message -->
|
|
<section class="letter section" aria-labelledby="message-title">
|
|
<div class="wrap">
|
|
<div class="letter-card reveal">
|
|
<div class="letter-top">
|
|
<div class="letter-avatar" aria-hidden="true">ح</div>
|
|
<div class="letter-meta">
|
|
<h2 id="message-title">پیامی از تیم حسابیکس</h2>
|
|
</div>
|
|
</div>
|
|
<div class="letter-body">
|
|
<p>
|
|
ما بخشی از همین مردمیم. حسابیکس برای یاری کسبوکارها و نظمبخشیدن به کار روزانه ساخته شده؛ اما در روزهای سخت، پیش از هر ابزار، <strong>دلهای بههمپیوسته</strong> است که جامعه را نگه میدارد.
|
|
</p>
|
|
<div class="letter-heart">
|
|
<p>
|
|
ما خودمان در یکی از <strong>محرومترین مناطق ایران</strong> زندگی میکنیم؛ با کمترین امکانات، اما با دلی پر از مسئولیت. اینجا، در اسلامآباد غرب — شهر شهیدان مرصاد — آموختهایم که کمبود، بهانهٔ کوتاهآمدن نیست.
|
|
</p>
|
|
<p>
|
|
اوضاع امکانات خوب باشد یا نباشد، ما مسئولیت خودمان را انجام میدهیم: چه در <strong>توسعهٔ نرمافزار</strong> و طراحی سیستمها، و چه اگر لازم باشد، در <strong>میدان</strong> — برای دفاع از امید و آرزوی فرزندانمان.
|
|
</p>
|
|
</div>
|
|
<p>
|
|
باور داریم اقتصاد و زندگی مردم در سایهٔ <strong>اعتماد</strong>، <strong>همکاری</strong> و <strong>ثبات</strong> رشد میکند. همینطور ایمان داریم که ایستادگی این سرزمین، با اتحاد مردم و همراهی همهٔ ارکان — از تصمیمگیران تا مدافعان — معنا پیدا میکند.
|
|
</p>
|
|
<p>
|
|
از شما میخواهیم در این روزها مراقب کلام و رفتار خود باشید: همدل باشید، از جدال بپرهیزید، و اجازه ندهید فضای مجازی و هیاهوی رسانهای، شما را از صف ملت جدا کند. ما کنار شماییم — برای ایران، و برای فرزندان ایران.
|
|
</p>
|
|
</div>
|
|
<p class="letter-sign">با ایمان، مهر و احترام — تیم حسابیکس</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- CTA -->
|
|
<section class="cta" aria-labelledby="cta-title">
|
|
<div class="cta-panel reveal">
|
|
<h2 id="cta-title" class="section-h">کنار هم میمانیم</h2>
|
|
<p>هرگاه خواستید، میتوانید به صفحهٔ اصلی حسابیکس بازگردید.</p>
|
|
<a class="btn" href="<?php echo esc_url(home_url('/')); ?>">
|
|
بازگشت به حسابیکس
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
<path d="M5 12h14"/><path d="M12 5l7 7-7 7"/>
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="site-footer">
|
|
<div class="wrap">
|
|
<div class="footer-brand">
|
|
<span class="logo-mark" aria-hidden="true">
|
|
<img src="<?php echo esc_url($hx_logo); ?>" alt="" width="28" height="28" decoding="async" loading="lazy">
|
|
</span>
|
|
<?php echo esc_html($hx_brand); ?>
|
|
</div>
|
|
<p>فردا روشن است. با آرزوی عزت، امنیت و امید برای ایران و همهٔ فرزندان آن.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
(function () {
|
|
"use strict";
|
|
|
|
var reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
var progress = document.getElementById("progress");
|
|
var header = document.getElementById("header");
|
|
|
|
function onScroll() {
|
|
var y = window.scrollY || 0;
|
|
var max = document.documentElement.scrollHeight - window.innerHeight;
|
|
var p = max > 0 ? y / max : 0;
|
|
if (progress) progress.style.transform = "scaleX(" + p + ")";
|
|
if (header) header.classList.toggle("is-scrolled", y > 40);
|
|
}
|
|
window.addEventListener("scroll", onScroll, { passive: true });
|
|
onScroll();
|
|
|
|
var nodes = document.querySelectorAll(".reveal");
|
|
if (reduce || !("IntersectionObserver" in window)) {
|
|
nodes.forEach(function (n) { n.classList.add("is-in"); });
|
|
return;
|
|
}
|
|
|
|
var io = new IntersectionObserver(function (entries) {
|
|
entries.forEach(function (e) {
|
|
if (e.isIntersecting) {
|
|
e.target.classList.add("is-in");
|
|
io.unobserve(e.target);
|
|
}
|
|
});
|
|
}, { rootMargin: "0px 0px -10% 0px", threshold: 0.12 });
|
|
nodes.forEach(function (n) { io.observe(n); });
|
|
})();
|
|
</script>
|
|
<?php wp_footer(); ?>
|
|
</body>
|
|
</html>
|