/*
Theme Name: NailFolios Editorial
Description: A photography-led nail art journal, built as an Astra child theme.
Template: astra
Version: 1.0.1
Text Domain: nailfolios
*/
:root {
	--nf-paper: #fcfaf7;
	--nf-ink: #292320;
	--nf-muted: #635750;
	--nf-rule: #d9cec6;
	--nf-blush: #f1dfd8;
	--nf-berry: #82474e;
	--nf-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	--nf-sans: "Helvetica Neue", Arial, sans-serif;
	--nf-width: min(90%, 1240px);
}
body.nf-site {
	margin: 0;
	background: var(--nf-paper);
	color: var(--nf-ink);
	font: 400 1rem/1.6 var(--nf-sans);
}
.nf-site *, .nf-site *::before, .nf-site *::after { box-sizing: border-box; }
.nf-site :where(h1,h2,h3,h4) { font-family: var(--nf-serif); color: var(--nf-ink); font-weight: 400; line-height: 1.1; }
.nf-site :where(a) { color: var(--nf-berry); text-underline-offset: .2em; }
.nf-site :is(a,button,input,summary):focus-visible { outline: 3px solid #854451; outline-offset: 3px; }
.nf-site img { max-width: 100%; }
.nf-screen-reader, .nf-skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.nf-skip:focus { position: fixed; z-index: 10001; left: 12px; top: 12px; background: white; padding: 10px 15px; }
.nf-shell, .nf-header-inner, .nf-footer-inner { width: var(--nf-width); margin-inline: auto; }
.nf-header { position: relative; z-index: 5; background: var(--nf-paper); border-bottom: 1px solid var(--nf-rule); }
.nf-header-inner { display: flex; align-items: center; gap: clamp(22px, 4vw, 68px); min-height: clamp(72px, 7.6vw, 98px); }
.nf-site a.nf-wordmark { color: var(--nf-ink); text-decoration: none; font: 500 clamp(2.35rem, 4.2vw, 3.65rem)/1 var(--nf-serif); letter-spacing: -.088em; white-space: nowrap; }
.nf-wordmark i { color: var(--nf-berry); font-weight: 400; }
.nf-header .nf-wordmark { margin-right: auto; }
.nf-header nav ul, .nf-footer nav ul { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 45px); margin: 0; padding: 0; }
.nf-header nav a, .nf-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nf-ink); font-size: .925rem; text-decoration: none; }
.nf-header nav a:hover, .nf-footer nav a:hover, .nf-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.nf-header-tools { display: flex; align-items: center; gap: 6px; }
.nf-disclosure { position: relative; padding: 0; border: 0; margin: 0; }
.nf-disclosure > summary { display: flex; align-items: center; justify-content: center; gap: .6rem; min-width: 44px; min-height: 44px; padding: 0 .2rem; list-style: none; cursor: pointer; color: var(--nf-ink); font: 400 .925rem/1.2 var(--nf-sans); }
.nf-disclosure > summary::-webkit-details-marker { display: none; }
.nf-disclosure > summary::marker { content: ""; }
.nf-search { border-left: 1px solid var(--nf-rule); padding-left: clamp(12px, 2vw, 36px); }
.nf-mobile-nav { display: none; }
.nf-popover { position: absolute; z-index: 3; right: 0; top: calc(100% + .5rem); width: min(420px, 90vw); padding: 1.05rem; background: var(--nf-paper); border: 1px solid var(--nf-rule); box-shadow: 0 12px 24px #39261e16; }
.nf-search-form { display: flex; width: min(100%, 520px); gap: .5rem; margin: 0; }
.nf-search-form label { flex: 1; min-width: 0; }
.nf-search-form input[type=search] { width: 100%; min-height: 46px; height: auto; padding: .65em .8em; background: #fff; color: var(--nf-ink); border: 1px solid #8b8078; border-radius: 0; font: 1rem var(--nf-sans); }
.nf-search-form button, .nf-home-hero .elementor-widget-button .elementor-button, .nf-site .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--nf-ink); border-radius: 0; background: var(--nf-ink); color: white; padding: .75rem 1.25rem; font: 500 .94rem/1.3 var(--nf-sans); text-decoration: none;
}
.nf-search-form button:hover, .nf-home-hero .elementor-widget-button .elementor-button:hover, .nf-site .wp-block-button__link:hover { background: var(--nf-berry); border-color: var(--nf-berry); color: #fff; }
.nf-home-hero, .nf-home-feed, .nf-home-tutorials, .nf-about { width: var(--nf-width); margin-inline: auto; }
.nf-site .nf-home-hero { margin-block: clamp(20px, 3vw, 42px) 0; background: var(--nf-blush); }
.nf-site .nf-home-hero > .elementor-container, .nf-site .nf-home-feed > .elementor-container, .nf-site .nf-home-tutorials > .elementor-container, .nf-site .nf-about > .elementor-container { max-width: none; }
.nf-site .nf-home-hero .elementor-column > .elementor-widget-wrap, .nf-site :is(.nf-home-feed,.nf-home-tutorials) .elementor-column > .elementor-widget-wrap { padding: 0; }
.nf-site .nf-home-hero .nf-hero-copy > .elementor-widget-wrap {
	align-content: center; gap: 1.1rem; padding: clamp(24px, 4.5vw, 70px);
}
.nf-hero-copy .elementor-widget, .nf-hero-copy .elementor-widget p { margin: 0; }
.nf-site .nf-hero-image .elementor-widget-image, .nf-site .nf-hero-image .elementor-widget-container, .nf-site .nf-hero-image .elementor-widget-image a { width: 100%; height: 100%; display: block; }
.nf-site .nf-hero-image img { width: 100%; height: 100%; min-height: 380px; max-height: 600px; object-fit: cover; object-position: center; display: block; }
.nf-site .nf-home-hero h1.elementor-heading-title, .nf-site .nf-about h1.elementor-heading-title {
	font: 400 clamp(2.45rem, 4.8vw, 4.8rem)/.99 var(--nf-serif); letter-spacing: -.052em; color: var(--nf-ink); margin: 0; text-wrap: balance;
}
.nf-site .nf-hero-copy .elementor-widget-text-editor { color: var(--nf-muted); font: 400 clamp(1rem, 1.3vw, 1.15rem)/1.55 var(--nf-sans); }
.nf-site .nf-eyebrow, .nf-site .nf-kicker, .nf-site .nf-kicker :is(p,span,h2,h3,.elementor-heading-title) {
	color: var(--nf-berry); font: 600 .77rem/1.4 var(--nf-sans); text-transform: uppercase; letter-spacing: .125em;
}
.nf-site .nf-kicker :is(p,.elementor-heading-title)::before { content: ''; display: inline-block; width: 1.8rem; height: 1px; margin-right: .65rem; vertical-align: middle; background: currentColor; }
.nf-site .nf-home-feed, .nf-site .nf-home-tutorials, .nf-related { margin-block: clamp(46px, 6vw, 88px); }
.nf-site :is(.nf-home-feed,.nf-home-tutorials) h2.elementor-heading-title, .nf-site .nf-related h2 {
	padding-bottom: .34em; border-bottom: 1px solid var(--nf-rule); color: var(--nf-ink); font: 400 clamp(2.15rem, 4.3vw, 3.65rem)/1.12 var(--nf-serif); letter-spacing: -.048em; margin: 0 0 .16em;
}
.nf-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px, 2.6vw, 40px); row-gap: 2.5rem; }
.nf-card { min-width: 0; }
.nf-card a.nf-card-link { text-decoration: none; color: var(--nf-ink); display: block; }
.nf-card-media { aspect-ratio: 4/3; background: var(--nf-blush); }
.nf-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nf-card-copy { padding-top: .9rem; }
.nf-site .nf-card-title { color: var(--nf-ink); font: 400 clamp(1.5rem, 2.25vw, 2.24rem)/1.13 var(--nf-serif); letter-spacing: -.035em; margin: .23em 0 0; }
.nf-card-link:hover .nf-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.nf-tutorial-list { display: grid; gap: 1.5rem; }
.nf-card-wide a.nf-card-link { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; background: #f4eee7; }
.nf-card-wide .nf-card-copy { padding: clamp(22px, 5vw, 70px); }
.nf-card-wide .nf-card-title { font-size: clamp(2rem, 3.5vw, 3.1rem); }
.nf-card-wide p { color: var(--nf-muted); margin: .8em 0 1em; }
.nf-site .nf-inline-cta { color: var(--nf-ink); min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-decoration: underline; text-underline-offset: .32em; }
.nf-archive { min-height: 52vh; margin-block: clamp(38px, 6vw, 86px); }
.nf-archive-header { border-bottom: 1px solid var(--nf-rule); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.nf-site :is(.nf-archive-header,.nf-prose) h1 { font: 400 clamp(2.5rem, 5.6vw, 5rem)/1.02 var(--nf-serif); letter-spacing: -.052em; margin: .14em 0 .25em; text-wrap: balance; }
.nf-archive-header p { margin: .5rem 0 0; color: var(--nf-muted); }
.nf-archive .pagination { margin-top: 2.5rem; }
.nf-archive .pagination a, .nf-archive .pagination .current { display: inline-flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.nf-prose { width: min(90%, 700px); margin-inline: auto; font-size: 1.075rem; line-height: 1.72; overflow-wrap: anywhere; }
.nf-article-heading { margin-block: clamp(38px, 5vw, 76px) 1.8rem; text-align: center; max-width: 820px; width: 90%; }
.nf-article-heading .nf-eyebrow a { color: inherit; text-decoration: none; }
.nf-article-heading .nf-eyebrow a:hover { text-decoration: underline; }
.nf-prose .nf-deck { margin: 1rem auto 0; max-width: 620px; color: var(--nf-muted); font-size: 1.12rem; line-height: 1.55; }
.nf-article-hero { width: min(90%, 860px); margin: 0 auto 1.8rem; }
.nf-article-hero img { display: block; width: 100%; height: auto; }
.nf-article-hero figcaption { text-align: right; margin-top: .3rem; }
.nf-site a.nf-save { display: inline-flex; align-items: center; min-height: 44px; gap: .4rem; color: var(--nf-berry); font: 600 .875rem var(--nf-sans); text-decoration: underline; }
.nf-prose h2, .nf-prose h3 { font: 400 clamp(1.85rem, 3.1vw, 2.7rem)/1.14 var(--nf-serif); letter-spacing: -.032em; margin: 1.4em 0 .48em; scroll-margin-top: 2rem; }
.nf-prose h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.nf-prose p { margin: 0 0 1.15em; }
.nf-prose :is(ul,ol) { padding-left: 1.35em; margin: 0 0 1.4em; }
.nf-prose li + li { margin-top: .45em; }
.nf-prose figure { margin: 1.4rem 0; }
.nf-prose figure img { width: 100%; height: auto; }
.nf-prose figcaption { font-size: .9rem; color: var(--nf-muted); }
.nf-prose .nf-tags { font-size: .9rem; margin-block: 2rem; }
.nf-related { border-top: 1px solid var(--nf-rule); padding-top: 1.5rem; }
.nf-related .nf-grid { margin-top: 1.5rem; }
.nf-page, .nf-site .nf-about { margin-block: clamp(36px, 6vw, 90px); }
.nf-page { min-height: 44vh; }
.nf-page .nf-search-form { margin-top: 1.2rem; }
.nf-footer { margin-top: clamp(45px,6vw,90px); border-top: 1px solid var(--nf-rule); background: #f5efe9; }
.nf-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.5rem; flex-wrap: wrap; }
.nf-footer .nf-wordmark { font-size: 2.45rem; }
.nf-footer nav ul { gap: 1.25rem; }
.nf-footer small { color: var(--nf-muted); font-size: .8rem; }
@media (max-width: 767px) {
	:root { --nf-width: min(91%, 700px); }
	.nf-header-inner { min-height: 68px; }
	.nf-desktop-nav, .nf-search-label { display: none; }
	.nf-mobile-nav { display: block; }
	.nf-header-tools .nf-search { border: 0; padding: 0; position: static; }
	.nf-search .nf-popover { top: 100%; right: 4.5%; }
	.nf-mobile-nav .nf-popover { width: min(260px, 85vw); }
	.nf-mobile-nav .nf-popover ul { display: grid; gap: 0; }
	.nf-mobile-nav .nf-popover a { width: 100%; }
	.nf-site .nf-home-hero .elementor-container { display: flex; flex-direction: column; }
	.nf-home-hero .elementor-column { width: 100% !important; }
	.nf-site .nf-hero-image img { min-height: 0; height: auto; max-height: none; aspect-ratio: 4/3; }
	.nf-site .nf-home-hero .nf-hero-copy > .elementor-widget-wrap { padding: 1.55rem 1.35rem 1.8rem; gap: .9rem; }
	.nf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.nf-footer-inner { align-items: flex-start; flex-direction: column; }
	.nf-footer nav ul { gap: .15rem 1rem; }
}
@media (max-width: 540px) {
	.nf-grid, .nf-card-wide a.nf-card-link { grid-template-columns: 1fr; }
	.nf-card-copy { padding-top: .7rem; }
	.nf-card-wide .nf-card-copy { padding: 1.45rem; }
	.nf-card .nf-card-title { font-size: 1.85rem; }
	.nf-site .nf-prose { font-size: 1rem; }
	.nf-article-heading { text-align: left; }
}
@media (min-width: 768px) {
	.nf-site .nf-home-hero .nf-hero-image, .nf-site .nf-about .elementor-column:first-child { width: 55%; }
	.nf-site .nf-home-hero .nf-hero-copy, .nf-site .nf-about .elementor-column:last-child { width: 45%; }
}
.nf-site .nf-about .elementor-widget-wrap { padding: 0; align-content: center; }
.nf-site .nf-about .elementor-column:first-child > .elementor-widget-wrap { padding: 1.5rem clamp(28px, 5vw, 90px) 1.5rem 0; }
.nf-site .nf-about .elementor-widget-text-editor { color: var(--nf-muted); font: 400 1.075rem/1.7 var(--nf-sans); }
.nf-site .nf-about .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.nf-site .nf-about .elementor-button { display: inline-flex; align-items: center; min-height: 46px; padding: .75rem 1.25rem; border-radius: 0; background: var(--nf-ink); color: #fff; font: 500 .94rem/1.3 var(--nf-sans); }
.nf-site .nf-about .elementor-button:hover { background: var(--nf-berry); }
.nf-site .nf-about img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
	.nf-site .nf-about .elementor-column { width: 100%; }
	.nf-site .nf-about .elementor-column:first-child > .elementor-widget-wrap { padding: 0 0 1.8rem; }
}

/* A small nail-inspired mark complements the existing editorial wordmark. */
.nf-site a.nf-wordmark { display: inline-flex; align-items: center; gap: .16em; }
.nf-wordmark .nf-mark { display: block; flex: none; width: .82em; height: .82em; }
