/*
Theme Name: Ezeefit Blog
Theme URI: https://ezeefit.in/
Author: Wasim Baig
Description: Blog theme for Ezeefit Office Systems. Header, footer and styling match the main ezeefit.in website. Fully editable: header and footer menus (Appearance > Menus), logo and contact details (Appearance > Customize), sidebar widgets (Appearance > Widgets), and the block editor for posts.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ezeefit-blog
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* ==========================================================================
   Tokens (same palette as ezeefit.in)
   ========================================================================== */
:root {
	--ez-red: #d9232e;
	--ez-nav: #a31621;
	--ez-navdark: #7f1019;
	--ez-deep: #1a1815;
	--ez-dark: #2a2724;
	--ez-body: #4a423a;
	--ez-muted: #8b7f70;
	--ez-line: #d9cfc1;
	--ez-cream: #f5efe6;
	--ez-warm: #eee4d5;
	--ez-serif: Fraunces, Georgia, serif;
	--ez-sans: Inter, system-ui, sans-serif;
	--ez-max: 1400px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ez-cream);
	color: var(--ez-body);
	font-family: var(--ez-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	background: #fff; color: var(--ez-dark); padding: 12px 18px; z-index: 100000;
	left: 8px; top: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
:focus-visible { outline: 2px solid var(--ez-red); outline-offset: 2px; }

.ez-wrap { max-width: var(--ez-max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 1024px) { .ez-wrap { padding-left: 40px; padding-right: 40px; } }

/* Buttons (square, uppercase — same as site CTAs) */
.ez-btn,
.wp-block-button__link,
.wp-element-button,
.comment-form .submit,
.ez-search button {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--ez-red); color: #fff !important; border: 0; border-radius: 0;
	padding: 14px 28px; font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
	transition: background-color .2s; cursor: pointer; line-height: 1.2;
}
.ez-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.comment-form .submit:hover,
.ez-search button:hover { background: var(--ez-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.ez-header { position: relative; z-index: 50; }
.ez-top { background: #fff; }
.ez-top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.ez-logo { flex-shrink: 0; display: block; }
.ez-logo__img { height: 56px; width: auto; display: block; }
.ez-brand { display: none; flex: 1; flex-direction: column; justify-content: center; padding-left: 8px; }
.ez-brand__tag { font-size: 11px; font-style: italic; letter-spacing: .025em; color: var(--ez-muted); }
.ez-brand__name { margin-top: 2px; line-height: 1.3; }
.ez-brand__name strong { font-size: 17px; font-weight: 700; color: var(--ez-dark); }
.ez-brand__name span { font-size: 12px; color: var(--ez-body); }
.ez-top__right { display: none; align-items: center; gap: 16px; }
.ez-phones { display: none; flex-direction: column; align-items: flex-end; }
.ez-phones a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ez-dark); transition: color .2s; }
.ez-phones a:hover { color: var(--ez-red); }
.ez-phones svg { color: var(--ez-red); }
.ez-badges { display: none; align-items: center; gap: 8px; }
.ez-badges img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--ez-line); }
.ez-igbc {
	display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; overflow: hidden;
	border-radius: 50%; border: 1px solid var(--ez-line); background: #fff; padding: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.ez-igbc img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.ez-burger {
	display: grid; place-items: center; width: 44px; height: 44px; background: transparent;
	border: 1px solid var(--ez-line); color: var(--ez-dark); border-radius: 0; padding: 0;
}

@media (min-width: 768px) {
	.ez-logo__img { height: 72px; }
	.ez-brand { display: flex; }
	.ez-top__right { display: flex; }
	.ez-burger { display: none; }
}
@media (min-width: 1024px) {
	.ez-brand__name strong { font-size: 21px; }
	.ez-brand__name span { font-size: 15px; }
	.ez-phones, .ez-badges { display: flex; }
	.ez-igbc { width: 70px; height: 70px; }
}

/* Navigation bar */
.ez-nav { background: var(--ez-nav); display: none; }
.ez-nav.is-open { display: block; }
.ez-nav__in { display: flex; flex-direction: column; }
.ez-menu, .ez-menu ul { list-style: none; }
.ez-menu > li { position: relative; }
.ez-menu > li > a,
.ez-menu > li > .ez-nolink {
	display: flex; align-items: center; gap: 4px; padding: 14px 16px;
	font-size: 13px; font-weight: 500; letter-spacing: .025em; color: #fff; transition: background-color .2s;
}
.ez-menu > li > .ez-nolink { cursor: default; }
.ez-chev { opacity: .8; flex-shrink: 0; }
@media (min-width: 768px) {
	.ez-menu > li > a, .ez-menu > li > .ez-nolink, .ez-nav__cta { white-space: nowrap; }
	.ez-menu > li > a, .ez-menu > li > .ez-nolink { padding: 14px 12px; font-size: 12.5px; }
}
.ez-menu > li:hover > a,
.ez-menu > li:hover > .ez-nolink,
.ez-menu > li:focus-within > a,
.ez-menu > li.current-menu-item > a,
.ez-menu > li.current-menu-ancestor > a { background: var(--ez-navdark); }

.ez-menu .sub-menu {
	background: #fff; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1), 0 0 0 1px var(--ez-line);
}
.ez-menu .sub-menu a,
.ez-menu .sub-menu .ez-nolink {
	display: block; padding: 10px 16px; font-size: 13px; color: var(--ez-body);
	border-bottom: 1px solid var(--ez-cream); transition: background-color .15s, color .15s;
}
.ez-menu .sub-menu a:hover { background: var(--ez-warm); color: var(--ez-red); }
.ez-menu .sub-menu .ez-nolink { cursor: default; }

.ez-nav__cta {
	align-self: flex-start; margin: 10px 16px 16px; background: #fff; color: var(--ez-nav);
	padding: 8px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; transition: background-color .2s, color .2s;
}
.ez-nav__cta:hover { background: var(--ez-dark); color: #fff; }

/* Mobile menu */
@media (max-width: 767px) {
	.ez-nav .ez-wrap { padding-left: 0; padding-right: 0; }
	.ez-menu > li { border-top: 1px solid rgba(255, 255, 255, .12); }
	.ez-menu > li > a, .ez-menu > li > .ez-nolink { padding-right: 56px; }
	.ez-subtoggle {
		position: absolute; top: 0; right: 0; width: 52px; height: 46px; background: transparent; border: 0; color: #fff; display: grid; place-items: center;
	}
	.ez-subtoggle svg { transition: transform .2s; }
	li.is-open > .ez-subtoggle svg { transform: rotate(180deg); }
	.ez-menu .sub-menu { display: none; box-shadow: none; background: var(--ez-navdark); }
	li.is-open > .sub-menu { display: block; }
	.ez-menu .sub-menu a, .ez-menu .sub-menu .ez-nolink { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-left: 28px; }
	.ez-menu .sub-menu a:hover { background: rgba(0, 0, 0, .2); color: #fff; }
}

/* Desktop menu */
@media (min-width: 768px) {
	.ez-nav { display: block; }
	.ez-nav__in { flex-direction: row; align-items: center; justify-content: space-between; }
	.ez-menu { display: flex; align-items: stretch; flex-wrap: wrap; }
	.ez-menu > li > a, .ez-menu > li > .ez-nolink { padding: 14px 16px; }
	.ez-subtoggle { display: none; }
	.ez-menu .sub-menu {
		position: absolute; left: 0; top: 100%; z-index: 60; min-width: 240px;
		visibility: hidden; opacity: 0; transform: translateY(4px); transition: all .2s;
	}
	.ez-menu > li:hover > .sub-menu,
	.ez-menu > li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
	.ez-menu > li.ez-wide > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; width: 420px; padding: 4px; }
	.ez-menu > li.ez-wide > .sub-menu a, .ez-menu > li.ez-wide > .sub-menu .ez-nolink { border-bottom: 0; }
	.ez-nav__cta { margin: 8px 0; align-self: auto; display: none; }
}
@media (min-width: 1280px) {
	.ez-nav__cta { display: block; }
	.ez-menu > li > a, .ez-menu > li > .ez-nolink { padding: 14px 18px; font-size: 13px; }
}

/* ==========================================================================
   Page hero
   ========================================================================== */
.ez-pagehero { padding: 44px 0 36px; border-bottom: 1px solid var(--ez-line); }
.ez-pagehero h1 {
	font-family: var(--ez-serif); font-weight: 300; color: var(--ez-dark);
	font-size: 2.4rem; line-height: 1.08; letter-spacing: -.02em; max-width: 900px;
}
.ez-pagehero p, .ez-pagehero__desc { margin: 16px 0 0; max-width: 640px; font-size: 16px; color: var(--ez-body); }
.ez-pagehero--post h1 { font-size: 2.1rem; }
@media (min-width: 768px) {
	.ez-pagehero { padding: 64px 0 48px; }
	.ez-pagehero h1 { font-size: 3.4rem; }
	.ez-pagehero--post h1 { font-size: 2.8rem; }
}
.ez-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; color: var(--ez-muted); }
.ez-crumbs a:hover { color: var(--ez-red); }
.ez-crumbs em { font-style: normal; color: var(--ez-dark); }

.ez-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--ez-muted); margin-bottom: 10px; }
.ez-cat, .ez-flag {
	background: var(--ez-red); color: #fff; padding: 3px 9px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.ez-flag { background: var(--ez-dark); }
.ez-cat:hover { background: var(--ez-dark); }
.ez-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; font-size: 13px; color: var(--ez-muted); }
.ez-postmeta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ez-dark); font-weight: 600; }
.ez-postmeta__author img { border-radius: 50%; }

/* ==========================================================================
   Layout
   ========================================================================== */
.ez-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 1024px) {
	.ez-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; }
	.ez-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
}

/* Featured (latest) post */
.ez-featured { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--ez-line); margin-bottom: 36px; }
.ez-featured__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ez-warm); }
.ez-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.ez-featured:hover .ez-featured__img img { transform: scale(1.04); }
.ez-featured__body { padding: 28px 26px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.ez-featured h2 { font-family: var(--ez-serif); font-weight: 300; font-size: 1.9rem; line-height: 1.15; color: var(--ez-dark); margin-bottom: 14px; }
.ez-featured h2 a:hover { color: var(--ez-red); }
.ez-featured p { margin: 0 0 22px; }
@media (min-width: 768px) {
	.ez-featured { grid-template-columns: 1.15fr 1fr; }
	.ez-featured__img { aspect-ratio: auto; min-height: 340px; }
	.ez-featured__body { padding: 36px 36px 40px; justify-content: center; }
	.ez-featured h2 { font-size: 2.3rem; }
}

/* Card grid */
.ez-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 640px) { .ez-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ez-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ez-card { background: #fff; border: 1px solid var(--ez-line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ez-card:hover { box-shadow: 0 14px 30px -12px rgba(42, 39, 36, .25); transform: translateY(-2px); }
.ez-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ez-warm); }
.ez-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ez-card:hover .ez-card__img img { transform: scale(1.05); }
.ez-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ez-line); background: var(--ez-warm); }
.ez-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ez-card__title { font-family: var(--ez-serif); font-weight: 300; font-size: 1.4rem; line-height: 1.2; color: var(--ez-dark); margin-bottom: 10px; }
.ez-card__title a:hover { color: var(--ez-red); }
.ez-card__excerpt { margin: 0 0 18px; font-size: 14.5px; flex: 1; }
.ez-more { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ez-red); align-self: flex-start; }
.ez-more:hover { color: var(--ez-dark); }

/* Pagination */
.navigation.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center;
	background: #fff; border: 1px solid var(--ez-line); font-size: 13px; font-weight: 500; color: var(--ez-dark); transition: all .2s;
}
.pagination a.page-numbers:hover { border-color: var(--ez-red); color: var(--ez-red); }
.pagination .page-numbers.current { background: var(--ez-red); border-color: var(--ez-red); color: #fff; }
.pagination .dots { border-color: transparent; background: transparent; }

.ez-empty, .ez-notfound { background: #fff; border: 1px solid var(--ez-line); padding: 40px 30px; }
.ez-empty h2 { font-family: var(--ez-serif); font-weight: 300; font-size: 2rem; color: var(--ez-dark); margin-bottom: 10px; }
.ez-notfound { margin: 48px auto 72px; max-width: 640px; text-align: center; display: grid; gap: 22px; justify-items: center; }

/* ==========================================================================
   Sidebar & widgets
   ========================================================================== */
.ez-sidebar { display: grid; gap: 28px; align-content: start; }
.widget { background: #fff; border: 1px solid var(--ez-line); padding: 24px; }
.widget-title {
	font-family: var(--ez-serif); font-weight: 300; font-size: 1.35rem; color: var(--ez-dark); margin: 0 0 18px; padding-bottom: 14px; position: relative; border-bottom: 1px solid var(--ez-cream);
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px; background: var(--ez-red); }
.widget ul { list-style: none; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--ez-cream); font-size: 14px; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li:first-child { padding-top: 0; }
.widget a:hover { color: var(--ez-red); }
.widget select { width: 100%; padding: 10px; border: 1px solid var(--ez-line); background: #fff; font: inherit; }
.widget .tagcloud a { display: inline-block; margin: 0 6px 8px 0; padding: 4px 11px; border: 1px solid var(--ez-line); font-size: 12.5px !important; }
.widget .tagcloud a:hover { background: var(--ez-red); border-color: var(--ez-red); color: #fff; }

.ez-recent { display: grid; }
.ez-recent li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.ez-recent__thumb { display: block; width: 72px; height: 72px; overflow: hidden; background: var(--ez-warm); }
.ez-recent__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ez-recent__thumb .ez-noimg svg { width: 26px; height: 26px; }
.ez-recent__title { display: block; font-weight: 500; line-height: 1.35; color: var(--ez-dark); }
.ez-recent__date { display: block; margin-top: 3px; font-size: 12px; color: var(--ez-muted); }
.widget_recent_entries .post-date { display: block; font-size: 12px; color: var(--ez-muted); }

.ez-search { display: flex; }
.ez-search input[type="search"] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--ez-line); border-right: 0; background: #fff; font: inherit; font-size: 14px; border-radius: 0; color: var(--ez-dark); }
.ez-search button { padding: 12px 16px; }

.ez-sidecta { background: var(--ez-deep); border-color: var(--ez-deep); color: var(--ez-cream); }
.ez-sidecta h3 { font-family: var(--ez-serif); font-weight: 300; font-size: 1.6rem; margin-bottom: 10px; color: var(--ez-cream); }
.ez-sidecta p { margin: 0 0 20px; font-size: 14px; color: rgba(245, 239, 230, .75); }
@media (min-width: 1024px) { .ez-sidebar { position: sticky; top: 24px; } }

/* ==========================================================================
   Single post & page content
   ========================================================================== */
.ez-article { background: #fff; border: 1px solid var(--ez-line); padding: 24px; }
@media (min-width: 768px) { .ez-article { padding: 44px 48px; } }
.ez-article__thumb { margin: -24px -24px 28px; }
.ez-article__thumb img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) { .ez-article__thumb { margin: -44px -48px 36px; } }

.entry-content { font-size: 17px; line-height: 1.8; color: var(--ez-body); overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: var(--ez-serif); font-weight: 300; color: var(--ez-dark); line-height: 1.2; margin: 1.8em 0 .6em; letter-spacing: -.01em;
}
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; }
.entry-content h5, .entry-content h6 { font-size: 1.1rem; }
.entry-content a { color: var(--ez-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--ez-dark); }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--ez-red); }
.entry-content img { height: auto; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--ez-muted); margin-top: 8px; text-align: center; }
.entry-content blockquote, .wp-block-quote {
	margin: 2em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--ez-red); font-family: var(--ez-serif); font-size: 1.35rem; font-weight: 300; font-style: italic; color: var(--ez-dark); line-height: 1.5;
}
.entry-content blockquote cite { display: block; margin-top: 10px; font: 600 12px var(--ez-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ez-muted); font-style: normal; }
.entry-content hr { border: 0; border-top: 1px solid var(--ez-line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--ez-line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--ez-cream); color: var(--ez-dark); font-weight: 600; }
.entry-content pre { background: var(--ez-deep); color: var(--ez-cream); padding: 18px; overflow: auto; font-size: 14px; line-height: 1.6; }
.entry-content code { background: var(--ez-cream); padding: 2px 6px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-block-image img { display: block; }
.wp-block-separator { border: 0; border-top: 1px solid var(--ez-line); }
.wp-block-pullquote { border-top: 3px solid var(--ez-red); border-bottom: 3px solid var(--ez-red); padding: 28px 0; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--ez-red); color: var(--ez-red) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ez-red); color: #fff !important; }
.wp-block-group.has-background { padding: 24px; }
.ez-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 2em 0; }
.ez-embed iframe, .ez-embed video { position: absolute; inset: 0; width: 100%; height: 100%; }
.ez-pagelinks { margin-top: 24px; font-weight: 600; }
.ez-pagelinks a, .ez-pagelinks > span { display: inline-block; padding: 2px 10px; border: 1px solid var(--ez-line); margin: 0 3px; }

.ez-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ez-cream); }
.ez-tags a { border: 1px solid var(--ez-line); padding: 4px 12px; font-size: 12.5px; transition: all .2s; }
.ez-tags a:hover { background: var(--ez-red); border-color: var(--ez-red); color: #fff; }

.ez-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--ez-cream); border-bottom: 1px solid var(--ez-cream); font-size: 13px; }
.ez-share strong { color: var(--ez-dark); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-right: 6px; }
.ez-share a { padding: 6px 14px; background: var(--ez-cream); font-weight: 500; transition: all .2s; }
.ez-share a:hover { background: var(--ez-red); color: #fff; }

.ez-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 30px; padding: 22px; background: var(--ez-cream); }
.ez-author img { border-radius: 50%; flex-shrink: 0; }
.ez-author__label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ez-muted); }
.ez-author strong { font-family: var(--ez-serif); font-weight: 400; font-size: 1.2rem; color: var(--ez-dark); }
.ez-author p { margin: 6px 0 0; font-size: 14.5px; }

.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } }
.post-navigation a { display: block; background: #fff; border: 1px solid var(--ez-line); padding: 18px 20px; font-family: var(--ez-serif); font-weight: 300; font-size: 1.1rem; line-height: 1.3; color: var(--ez-dark); height: 100%; transition: border-color .2s; }
.post-navigation a:hover { border-color: var(--ez-red); color: var(--ez-red); }
.post-navigation a span { display: block; font: 600 11px var(--ez-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ez-muted); margin-bottom: 6px; }
.post-navigation .nav-next { text-align: right; }

.ez-related { margin-top: 56px; }
.ez-related > h2 { font-family: var(--ez-serif); font-weight: 300; font-size: 2rem; color: var(--ez-dark); margin-bottom: 24px; }

/* Comments */
.ez-comments { margin-top: 48px; background: #fff; border: 1px solid var(--ez-line); padding: 28px; }
@media (min-width: 768px) { .ez-comments { padding: 40px 48px; } }
.ez-comments__title, .comment-reply-title { font-family: var(--ez-serif); font-weight: 300; font-size: 1.7rem; color: var(--ez-dark); margin-bottom: 22px; }
.ez-commentlist, .ez-commentlist .children { list-style: none; }
.ez-commentlist .children { margin-left: 28px; }
.ez-commentlist .comment-body { padding: 18px 0; border-bottom: 1px solid var(--ez-cream); font-size: 15px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ez-dark); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--ez-muted); margin: 4px 0 10px 60px; }
.comment-content { margin-left: 60px; }
.reply { margin-left: 60px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.reply a { color: var(--ez-red); }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--ez-dark); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--ez-line); background: #fff; font: inherit; border-radius: 0; color: var(--ez-dark);
}
.comment-form input:focus, .comment-form textarea:focus, .ez-search input:focus { outline: 0; border-color: var(--ez-red); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.comment-form-cookies-consent label { margin: 0; }

/* ==========================================================================
   Footer (matches ezeefit.in)
   ========================================================================== */
.ez-footer { background: var(--ez-deep); color: var(--ez-cream); }
.ez-footer__main { padding-top: 56px; padding-bottom: 56px; }
.ez-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
@media (min-width: 768px) { .ez-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ez-footer__main { padding-top: 64px; padding-bottom: 64px; } }
@media (min-width: 1024px) { .ez-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ez-footer h5 { font-family: var(--ez-serif); font-size: 18px; font-weight: 300; color: var(--ez-cream); margin: 0 0 16px; line-height: 1.4; }
.ez-flinks { list-style: none; display: grid; gap: 10px; }
.ez-flinks a { font-size: 13px; color: rgba(245, 239, 230, .65); transition: color .15s; }
.ez-flinks a:hover, .ez-contact a:hover, .ez-footer__bar a:hover { color: var(--ez-red); }
.ez-social { display: flex; flex-wrap: wrap; gap: 12px; }
.ez-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(245, 239, 230, .08); transition: background-color .2s; }
.ez-social a:hover { background: var(--ez-red); }
.ez-social img { width: 20px; height: 20px; object-fit: contain; }
.ez-contact { margin-top: 24px; display: grid; gap: 6px; font-size: 13px; color: rgba(245, 239, 230, .65); }
.ez-contact a { transition: color .15s; }
.ez-footer__bar { border-top: 1px solid rgba(245, 239, 230, .12); }
.ez-footer__bar-in { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: rgba(245, 239, 230, .55); }
.ez-footer__bar a { transition: color .15s; }
@media (min-width: 640px) { .ez-footer__bar-in { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Floating WhatsApp */
.ez-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; display: grid; place-items: center;
	border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: transform .2s;
}
.ez-wa:hover { transform: scale(1.08); }

/* WP core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.sticky { }
.bypostauthor { }
.gallery-caption { font-size: 13px; color: var(--ez-muted); }
.admin-bar .ez-wa { bottom: 20px; }

/* Block-based widgets (default in WP 5.8+) */
.ez-sidebar { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ez-sidebar > * { min-width: 0; }
.widget .wp-block-group, .widget .wp-block-group__inner-container { min-width: 0; }
.widget h2, .widget .wp-block-heading {
	font-family: var(--ez-serif); font-weight: 300; font-size: 1.35rem; color: var(--ez-dark); margin: 0 0 18px; padding-bottom: 14px; position: relative; border-bottom: 1px solid var(--ez-cream);
}
.widget h2::after, .widget .wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px; background: var(--ez-red); }
.widget .wp-block-search__inside-wrapper { display: flex; max-width: 100%; }
.widget .wp-block-search__input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--ez-line); border-right: 0; border-radius: 0; font: inherit; font-size: 14px; background: #fff; }
.widget .wp-block-search__button { margin: 0; flex-shrink: 0; padding: 12px 16px; border-radius: 0; }
.widget .wp-block-search__label { display: none; }
.widget .wp-block-latest-posts__list, .widget .wp-block-latest-comments, .widget .wp-block-archives-list, .widget .wp-block-categories-list { list-style: none; margin: 0; padding: 0; }
.widget .wp-block-latest-posts__post-date { display: block; font-size: 12px; color: var(--ez-muted); }

.ez-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.ez-article__thumb .ez-fallback { height: auto; aspect-ratio: 16 / 9; }
