/*
Theme Name: ITECOM Art Design
Theme URI: https://www.itecom-artdesign.com
Author: ITECOM Art Design
Author URI: https://www.itecom-artdesign.com
Description: Thème WordPress officiel d'ITECOM Art Design — l'école du design et de la création digitale. Reprend l'identité visuelle (rose #ff004b sur fond clair, en-tête sticky blanc, pied de page sombre) et la structure de navigation du site itecom-artdesign.com.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Private
License URI: https://www.itecom-artdesign.com
Tags: education, school, blog, custom-menu, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready
Text Domain: itecom-artdesign
*/

/* =========================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================= */
:root {
	/* Brand colors — extraits du CSS original itecom-artdesign.com */
	--brand-pink:        #ff004b;
	--brand-dark-pink:   #ba0037;
	--brand-logo-pink:   #ff0089;
	--brand-light-pink:  #ffe5ec;

	/* Neutrals */
	--brand-black:       #0b0500;
	--ink:               #1a1a1a;
	--ink-soft:          #2a2a2a;
	--muted:             #696773;
	--line:              #d0ccd0;
	--line-soft:         #e0e0e0;
	--surface-alt:       #f2f2f2;
	--white:             #ffffff;

	/* Status colors (used on pages such as inscription / form successes) */
	--success:           #047857;
	--success-dark:      #065f46;

	/* Typography */
	--font-base:         system-ui, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
	--font-display:      system-ui, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

	--fs-xs:    0.78rem;
	--fs-sm:    0.9rem;
	--fs-base:  1rem;
	--fs-md:    1.125rem;
	--fs-lg:    1.35rem;
	--fs-xl:    1.65rem;
	--fs-2xl:   2.1rem;
	--fs-3xl:   2.5rem;
	--fs-4xl:   3.1rem;

	--lh-tight:   1.15;
	--lh-snug:    1.35;
	--lh-base:    1.6;

	/* Spacing scale */
	--space-1:  0.25rem;
	--space-2:  0.5rem;
	--space-3:  0.75rem;
	--space-4:  1rem;
	--space-5:  1.5rem;
	--space-6:  2rem;
	--space-7:  2.5rem;
	--space-8:  3rem;
	--space-10: 4.5rem;
	--space-12: 6rem;

	/* Layout */
	--container-max: 1200px;
	--container-pad: 1.5rem;
	--header-height: 80px;

	--radius-sm:  4px;
	--radius:     8px;
	--radius-lg:  14px;
	--radius-xl:  20px;

	--shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.04);
	--shadow:     0 6px 18px rgba(0, 0, 0, 0.06);
	--shadow-lg:  0 12px 36px rgba(0, 0, 0, 0.10);
	--shadow-pink:0 8px 24px rgba(255, 0, 75, 0.18);

	--ease:      cubic-bezier(.4, 0, .2, 1);
	--dur-fast:  0.15s;
	--dur:       0.25s;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--brand-pink);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease);
}

a:hover, a:focus { color: var(--brand-dark-pink); }
a:focus-visible { outline: 2px solid var(--brand-pink); outline-offset: 2px; border-radius: 2px; }

p { margin: 0 0 var(--space-4); }

ul, ol { padding-left: 1.25rem; }

hr {
	border: 0;
	border-top: 1px solid var(--line-soft);
	margin: var(--space-7) 0;
}

button { font-family: inherit; }

::selection { background: var(--brand-pink); color: var(--white); }

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--white);
	padding: var(--space-3) var(--space-4);
	z-index: 9999;
	font-weight: 700;
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); }

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: var(--lh-tight);
	color: var(--ink);
	margin: 0 0 var(--space-4);
	letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 720px) {
	h1 { font-size: 2.1rem; }
	h2 { font-size: 1.7rem; }
	h3 { font-size: 1.35rem; }
}

.eyebrow {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-pink);
	margin-bottom: var(--space-3);
}

/* =========================================================
   4. LAYOUT
   ========================================================= */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: var(--container-pad);
	padding-right: var(--container-pad);
}

.section { padding: var(--space-10) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-base);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 0.75rem 1.4rem;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--brand-pink);
	color: var(--white);
}
.btn--primary:hover { background: var(--brand-dark-pink); color: var(--white); box-shadow: var(--shadow-pink); }

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand-pink); color: var(--brand-pink); }

.btn--dark {
	background: var(--ink);
	color: var(--white);
}
.btn--dark:hover { background: #000; color: var(--white); }

.btn--sm { padding: 0.55rem 0.9rem; font-size: 0.78rem; }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 0.95rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   6. HEADER (sticky white, like itecom-artdesign.com)
   ========================================================= */
.site-header {
	background: var(--white);
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 0;
	z-index: 500;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0.75rem var(--container-pad);
}

.site-branding { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-branding a { display: flex; align-items: center; }
.site-logo { height: 48px; width: auto; }
.site-title-text {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.site-title-text .site-title-accent { color: var(--brand-pink); }

/* Primary navigation */
.primary-nav { display: flex; align-items: center; gap: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: inline-block;
	color: var(--ink);
	padding: 0.6rem 0.3rem;
	font-size: 0.92rem;
	font-weight: 700;
	border-radius: var(--radius-sm);
	transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current_page_item > a { color: var(--brand-pink); }

.primary-nav .menu-item-has-children > a::after,
.primary-nav .has-children > a::after {
	content: "";
	display: inline-block;
	width: 0; height: 0;
	margin-left: 0.4em;
	vertical-align: middle;
	border-top: 4px solid currentColor;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	transition: transform var(--dur-fast) var(--ease);
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .has-children:hover > a::after { transform: rotate(180deg); }

/* Submenu (dropdown) */
.primary-nav .sub-menu,
.primary-nav .submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--white);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0.5rem 0;
	margin: 0.4rem 0 0;
	display: none;
	flex-direction: column;
	gap: 0;
	z-index: 600;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:hover > .submenu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li:focus-within > .submenu { display: flex; }

.primary-nav .sub-menu a,
.primary-nav .submenu a {
	display: block;
	padding: 0.55rem 1rem;
	border-radius: 0;
	font-weight: 600;
	font-size: 0.9rem;
}
.primary-nav .sub-menu a:hover,
.primary-nav .submenu a:hover { background: var(--brand-light-pink); color: var(--brand-pink); }

/* Header CTAs */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
}
.site-header__cta {
	background: var(--brand-pink);
	color: var(--white);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 0.6rem 1rem;
	border-radius: var(--radius);
	transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-header__cta:hover { background: var(--brand-dark-pink); color: var(--white); transform: translateY(-1px); }
.site-header__cta--ghost {
	background: var(--white);
	color: var(--ink);
	border: 1.5px solid var(--line);
}
.site-header__cta--ghost:hover { background: var(--white); color: var(--brand-pink); border-color: var(--brand-pink); }

/* Hamburger */
.hamburger {
	background: none;
	border: 0;
	cursor: pointer;
	width: 30px;
	height: 24px;
	padding: 0;
	position: relative;
	display: none;
}
.hamburger span {
	background: var(--ink);
	border-radius: 2px;
	display: block;
	height: 3px;
	width: 100%;
	position: absolute;
	left: 0;
	transition: all var(--dur) var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
	display: none;
	position: fixed;
	inset: var(--header-height) 0 0 0;
	background: var(--white);
	z-index: 499;
	overflow-y: auto;
	padding: 1.5rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu a {
	display: block;
	padding: 0.85rem 0.25rem;
	color: var(--ink);
	font-weight: 700;
}
.mobile-menu .sub-menu, .mobile-menu .submenu {
	padding-left: 1rem;
	padding-bottom: 0.5rem;
}
.mobile-menu .sub-menu a,
.mobile-menu .submenu a {
	font-weight: 500;
	font-size: 0.92rem;
	color: var(--muted);
	padding: 0.5rem 0.25rem;
}
.mobile-menu a:hover { color: var(--brand-pink); }

@media (max-width: 1024px) {
	.primary-nav { display: none; }
	.site-header__actions .site-header__cta--secondary { display: none; }
	.hamburger { display: block; }
}
@media (max-width: 640px) {
	.site-logo { height: 38px; }
	.site-header__cta { font-size: 0.72rem; padding: 0.5rem 0.8rem; }
}

/* =========================================================
   7. HERO (top of pages, with pink left border)
   ========================================================= */
.hero {
	position: relative;
	padding: 3rem 0 2rem;
	background: linear-gradient(180deg, var(--white) 0%, var(--surface-alt) 100%);
	overflow: hidden;
}
.hero--dark {
	background: linear-gradient(135deg, var(--ink) 0%, #2a2a2a 100%);
	color: var(--white);
}
.hero--dark h1, .hero--dark .hero__subtitle { color: var(--white); }

.hero__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

.hero__title {
	border-left: 3px solid var(--brand-pink);
	padding: 0.25rem 0 0.25rem 1.25rem;
	margin-bottom: var(--space-4);
}

.hero--dark .hero__title { border-left-color: var(--brand-pink); }

.hero__subtitle {
	max-width: 720px;
	font-size: var(--fs-md);
	color: var(--muted);
	padding-left: 1.25rem;
	margin-bottom: var(--space-5);
}
.hero--dark .hero__subtitle { color: rgba(255,255,255,0.85); }

.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; padding-left: 1.25rem; }

.hero--big .hero__title {
	border-left: 0;
	padding-left: 0;
	font-size: var(--fs-4xl);
	font-weight: 800;
}
.hero--big .hero__subtitle { padding-left: 0; }

@media (max-width: 580px) {
	.hero { padding: 1.5rem 0 1.25rem; }
	.hero__title { font-size: 1.65rem; }
}

/* =========================================================
   8. ARTICLE CARDS (blog list)
   ========================================================= */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
}
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .posts-grid { grid-template-columns: 1fr; } }

.card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line-soft);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
	display: flex;
	flex-direction: column;
}
.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: var(--brand-pink);
}

.card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--surface-alt);
	overflow: hidden;
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.card__media-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--surface-alt) 0%, var(--line-soft) 100%);
	color: var(--muted);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
}

.card__body {
	padding: 1.25rem 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card__meta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}
.card__meta a { color: var(--brand-pink); }
.card__meta-sep { color: var(--line); }

.card__title {
	font-size: 1.2rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand-pink); }

.card__excerpt {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	flex-grow: 1;
}

.card__readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 800;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--brand-pink);
	margin-top: auto;
}
.card__readmore .arrow { transition: transform var(--dur) var(--ease); }
.card__readmore:hover .arrow { transform: translateX(4px); }

/* =========================================================
   9. SINGLE POST / PAGE CONTENT
   ========================================================= */
.entry-header {
	max-width: 820px;
	margin: 0 auto var(--space-6);
	padding: var(--space-7) 0 0;
	text-align: center;
}
.entry-header__meta {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}
.entry-header__meta a { color: var(--brand-pink); }
.entry-title { margin: 0 0 var(--space-4); }
.entry-header__lead {
	font-size: var(--fs-md);
	color: var(--muted);
	max-width: 720px;
	margin: 0 auto;
}

.entry-thumbnail {
	max-width: 1100px;
	margin: 0 auto var(--space-7);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.entry-thumbnail img { width: 100%; height: auto; display: block; }

.entry-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--ink-soft);
}
.entry-content > * + * { margin-top: var(--space-4); }

.entry-content h2 {
	font-size: 1.85rem;
	margin: var(--space-7) 0 var(--space-4);
	padding-left: 1rem;
	border-left: 3px solid var(--brand-pink);
}
.entry-content h3 {
	font-size: 1.35rem;
	margin: var(--space-6) 0 var(--space-3);
}
.entry-content h4 {
	font-size: 1.1rem;
	margin: var(--space-5) 0 var(--space-3);
}

.entry-content p { margin: 0 0 var(--space-4); }

.entry-content a {
	color: var(--brand-pink);
	border-bottom: 1px solid currentColor;
}
.entry-content a:hover { color: var(--brand-dark-pink); }

.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin: 0 0 var(--space-4); }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content ul li::marker { color: var(--brand-pink); }

.entry-content blockquote {
	margin: var(--space-6) 0;
	padding: var(--space-5) var(--space-6);
	background: var(--brand-light-pink);
	border-left: 4px solid var(--brand-pink);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	font-size: 1.1rem;
	color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite {
	display: block;
	margin-top: var(--space-3);
	font-size: 0.85rem;
	font-style: normal;
	font-weight: 700;
	color: var(--brand-dark-pink);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry-content code {
	background: var(--surface-alt);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	color: var(--brand-dark-pink);
}
.entry-content pre {
	background: var(--ink);
	color: var(--white);
	padding: var(--space-5);
	border-radius: var(--radius);
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.5;
}
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-content img,
.entry-content figure img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	margin: var(--space-5) auto;
}
.entry-content figure {
	margin: var(--space-6) 0;
	text-align: center;
}
.entry-content figcaption {
	font-size: 0.85rem;
	color: var(--muted);
	margin-top: 0.5rem;
	font-style: italic;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--space-5) 0;
	font-size: 0.95rem;
}
.entry-content th, .entry-content td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--line-soft);
	text-align: left;
}
.entry-content th {
	background: var(--surface-alt);
	font-weight: 700;
	color: var(--ink);
}

/* WP alignment */
.alignleft  { float: left; margin: 0 var(--space-5) var(--space-3) 0; max-width: 50%; }
.alignright { float: right; margin: 0 0 var(--space-3) var(--space-5); max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* WP misc */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	background: var(--brand-pink);
	color: var(--white);
	padding: 0.75rem 1.4rem;
	border-radius: var(--radius);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background var(--dur) var(--ease);
}
.wp-block-button__link:hover { background: var(--brand-dark-pink); color: var(--white); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--brand-pink);
	border: 2px solid var(--brand-pink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--brand-pink);
	color: var(--white);
}

/* =========================================================
   10. POST FOOTER (tags, share, pagination)
   ========================================================= */
.entry-footer {
	max-width: 760px;
	margin: var(--space-7) auto 0;
	padding-top: var(--space-5);
	border-top: 1px solid var(--line-soft);
}
.entry-tags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: var(--space-5);
}
.entry-tags a {
	background: var(--surface-alt);
	color: var(--ink);
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.entry-tags a:hover { background: var(--brand-pink); color: var(--white); }

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin-top: var(--space-7);
}
.post-navigation__item {
	background: var(--surface-alt);
	border-radius: var(--radius);
	padding: var(--space-4);
	transition: background var(--dur) var(--ease);
}
.post-navigation__item:hover { background: var(--brand-light-pink); }
.post-navigation__label {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--brand-pink);
	margin-bottom: 0.4rem;
}
.post-navigation__title {
	color: var(--ink);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
}
.post-navigation__item--next { text-align: right; }

@media (max-width: 580px) {
	.post-navigation { grid-template-columns: 1fr; }
	.post-navigation__item--next { text-align: left; }
}

/* =========================================================
   11. PAGINATION
   ========================================================= */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin: var(--space-8) 0;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.85rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-weight: 700;
	color: var(--ink);
	transition: all var(--dur) var(--ease);
}
.pagination .page-numbers:hover {
	background: var(--brand-pink);
	border-color: var(--brand-pink);
	color: var(--white);
}
.pagination .page-numbers.current {
	background: var(--brand-pink);
	border-color: var(--brand-pink);
	color: var(--white);
}
.pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}

/* =========================================================
   12. COMMENTS
   ========================================================= */
.comments-area {
	max-width: 760px;
	margin: var(--space-8) auto 0;
}
.comments-title {
	font-size: 1.5rem;
	margin-bottom: var(--space-5);
}
.comment-list { list-style: none; padding: 0; margin: 0 0 var(--space-7); }
.comment-list .comment {
	background: var(--white);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: var(--space-4);
	margin-bottom: var(--space-4);
}
.comment-list .children {
	list-style: none;
	padding-left: var(--space-5);
	margin-top: var(--space-4);
}
.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; color: var(--ink); }
.comment-metadata { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.comment-content { color: var(--ink-soft); line-height: 1.65; }

.comment-form {
	background: var(--surface-alt);
	padding: var(--space-5);
	border-radius: var(--radius);
}
.comment-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.4rem;
	color: var(--ink);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--white);
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--brand-pink);
	box-shadow: 0 0 0 3px rgba(255, 0, 75, 0.15);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .submit {
	background: var(--brand-pink);
	color: var(--white);
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: var(--radius);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}
.comment-form .submit:hover { background: var(--brand-dark-pink); }

/* =========================================================
   13. SIDEBAR / WIDGETS
   ========================================================= */
.widget {
	background: var(--white);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: var(--space-5);
	margin-bottom: var(--space-5);
}
.widget-title {
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 2px solid var(--brand-pink);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--line-soft);
}
.widget li:last-child { border-bottom: 0; }
.widget li a {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 500;
}
.widget li a:hover { color: var(--brand-pink); }

/* =========================================================
   14. FOOTER (dark, like itecom-artdesign.com)
   ========================================================= */
.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.75);
	padding: var(--space-8) 0 var(--space-5);
	margin-top: var(--space-10);
}

.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--brand-pink); }

.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--white); }

.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: var(--space-6);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad) var(--space-6);
}

.site-footer__brand img {
	height: 44px;
	margin-bottom: var(--space-4);
	filter: brightness(0) invert(1);
}
.site-footer__brand p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92rem;
	line-height: 1.55;
	max-width: 320px;
}

.site-footer__col h4 {
	font-size: 0.92rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--space-4);
	color: var(--white);
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 0.55rem; }
.site-footer__col a {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-5) var(--container-pad) 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
}

.social-links {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-links a:hover {
	background: var(--brand-pink);
	color: var(--white);
	transform: translateY(-2px);
}
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 900px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   15. LAYOUT TEMPLATES (with sidebar)
   ========================================================= */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--space-7);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-7) var(--container-pad);
}
.layout--full { grid-template-columns: 1fr; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

/* =========================================================
   16. UTILITIES
   ========================================================= */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
.text-center { text-align: center; }
.text-pink { color: var(--brand-pink); }
.bg-pink { background: var(--brand-pink); color: var(--white); }
.bg-dark { background: var(--ink); color: var(--white); }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: var(--space-3); }
.mb-5 { margin-bottom: var(--space-5); }

/* =========================================================
   17. 404 / SEARCH / EMPTY STATES
   ========================================================= */
.no-content {
	max-width: 640px;
	margin: var(--space-8) auto;
	text-align: center;
	padding: var(--space-7) var(--container-pad);
}
.no-content__title {
	font-size: 4rem;
	color: var(--brand-pink);
	line-height: 1;
	margin-bottom: var(--space-3);
}
.no-content__lead {
	font-size: 1.1rem;
	color: var(--muted);
	margin-bottom: var(--space-5);
}

/* =========================================================
   18. SEARCH FORM
   ========================================================= */
.search-form {
	display: flex;
	gap: 0.5rem;
	margin: 0 auto;
	max-width: 520px;
}
.search-form input[type="search"] {
	flex: 1;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 1rem;
	background: var(--white);
}
.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--brand-pink);
	box-shadow: 0 0 0 3px rgba(255, 0, 75, 0.15);
}
.search-form button {
	background: var(--brand-pink);
	color: var(--white);
	border: 0;
	padding: 0 1.2rem;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}
.search-form button:hover { background: var(--brand-dark-pink); }
