
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */

:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-break:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style^=border-color],[style*=";border-color"],[style*="; border-color"]){border-style:solid}html :where([style^=border-top-color],[style*=";border-top-color"],[style*="; border-top-color"]){border-top-style:solid}html :where([style^=border-right-color],[style*=";border-right-color"],[style*="; border-right-color"]){border-right-style:solid}html :where([style^=border-bottom-color],[style*=";border-bottom-color"],[style*="; border-bottom-color"]){border-bottom-style:solid}html :where([style^=border-left-color],[style*=";border-left-color"],[style*="; border-left-color"]){border-left-style:solid}html :where([style^=border-width],[style*=";border-width"],[style*="; border-width"]){border-style:solid}html :where([style^=border-top-width],[style*=";border-top-width"],[style*="; border-top-width"]){border-top-style:solid}html :where([style^=border-right-width],[style*=";border-right-width"],[style*="; border-right-width"]){border-right-style:solid}html :where([style^=border-bottom-width],[style*=";border-bottom-width"],[style*="; border-bottom-width"]){border-bottom-style:solid}html :where([style^=border-left-width],[style*=";border-left-width"],[style*="; border-left-width"]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}

/*# sourceURL=/wp-includes/css/dist/block-library/common.min.css */

/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
/*# sourceURL=/wp-includes/css/classic-themes.min.css */

:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:where(body) { margin: 0; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration: none;text-transform: inherit;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
/*# sourceURL=global-styles-inline-css */
/*
Theme Name: CFG Theme
Theme URI: https://calligraphyfontgenerator.io
Author: Muse for Hamza Ali
Description: Lightweight custom theme for CalligraphyFontGenerator.io. No page builder. Translation-ready. Header and footer are rendered by the CFG Header Footer plugin through hooks, with a minimal fallback in this theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: cfg
*/

:root{
  --cfg-ivory:#FFFEF9;
  --cfg-paper:#FBF7EF;
  --cfg-ink:#1A1815;
  --cfg-ink-soft:#4A443B;
  --cfg-gold:#B8862B;
  --cfg-gold-dark:#96690F;
  --cfg-line:#E7DFD0;
  --cfg-card:#FFFFFF;
  --cfg-radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@font-face{font-family:"Playfair Display";src:url(/wp-content/uploads/fonts/playfair-latin.woff2) format("woff2");font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(/wp-content/uploads/fonts/inter-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Inter Fallback";src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0%;size-adjust:107.64%;font-display:swap}
@font-face{font-family:"Inter Fallback DJV";src:local("DejaVu Sans");ascent-override:83.54%;descent-override:21.23%;line-gap-override:0%;size-adjust:111.11%;font-display:swap}
body{margin:0;background:var(--cfg-ivory);color:var(--cfg-ink);font-family:Inter,"Inter Fallback DJV","Inter Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:17px;line-height:1.65}
h1,h2,h3,h4{font-family:"Playfair Display",Georgia,"Times New Roman",serif;line-height:1.2;color:var(--cfg-ink);margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,3.2rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.3rem)}
h3{font-size:1.3rem}
a{color:var(--cfg-gold-dark);text-decoration-color:rgba(184,134,43,.4)}
a:hover{text-decoration-color:var(--cfg-gold-dark)}
img{max-width:100%;height:auto}
.cfg-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.cfg-main{padding:28px 0 56px}
.cfg-btn{display:inline-block;background:var(--cfg-gold);color:#fff;border:0;border-radius:999px;padding:12px 26px;font-weight:600;cursor:pointer;font-size:1rem;line-height:1.2}
.cfg-btn:hover{background:var(--cfg-gold-dark);color:#fff}
.cfg-btn-ghost{background:transparent;color:var(--cfg-ink);border:1.5px solid var(--cfg-line)}
.cfg-btn-ghost:hover{border-color:var(--cfg-gold);color:var(--cfg-gold-dark);background:#fff}
.cfg-card{background:var(--cfg-card);border:1px solid var(--cfg-line);border-radius:var(--cfg-radius);padding:22px}
.cfg-section{padding:44px 0}
.cfg-section-alt{background:var(--cfg-paper)}
.cfg-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:700;color:var(--cfg-gold-dark);margin:0 0 8px}
.cfg-lead{font-size:1.12rem;color:var(--cfg-ink-soft)}
.cfg-fallback-header,.cfg-fallback-footer{border-bottom:1px solid var(--cfg-line);padding:16px 0}
.cfg-fallback-footer{border-top:1px solid var(--cfg-line);border-bottom:0;color:var(--cfg-ink-soft);font-size:.92rem}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:640px){body{font-size:16px}.cfg-section{padding:32px 0}}

@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/pinyonscript/v24/6xKpdSJbL9-e9LuoeQiDRQR8aOI.ttf) format('truetype');
}
/* CFG Header Footer — single source of truth for ALL header and footer CSS (plugin v1.1.0). Merged from this file and the CFG Theme stylesheet (style.css), which no longer carries any header/footer CSS, so the cascade cannot fight itself. Approved 3D design kept exactly: ivory #FFFEF9, ink #1A1815, gold #B8862B, 1760px bar, one-line desktop menu. */
/* (1) Base header bar + brand / logo */
.cfg-hf-header{position:sticky;top:0;z-index:80;background:linear-gradient(180deg,#FFFEF9 0%,#FFF9E6 58%,#FFFDF4 100%);border-bottom:1px solid #E7DFD0;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 1px 2px rgba(26,24,21,.05),0 10px 26px rgba(26,24,21,.08),0 22px 44px rgba(184,134,43,.07);transition:box-shadow .25s ease,background .25s ease}
.cfg-hf-header .cfg-wrap{max-width:1760px;padding:0 28px}
.cfg-hf-bar{display:flex;align-items:center;flex-wrap:nowrap;gap:14px;padding-top:12px;padding-bottom:12px}
.cfg-hf-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;white-space:nowrap;text-decoration:none;color:var(--cfg-ink,#1A1815)}
.cfg-hf-word{display:flex;flex-direction:column;line-height:1}
.cfg-hf-script{font-family:"Pinyon Script","Playfair Display",cursive;font-size:1.7rem;color:var(--cfg-gold-dark,#96690F)}
.cfg-hf-sub{font-size:.62rem;letter-spacing:.28em;text-transform:uppercase;font-weight:700;color:var(--cfg-ink,#1A1815)}
/* (2) 3D header design: gold hairline and stronger shadow once scrolled */
.cfg-hf-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent,rgba(184,134,43,.55) 25%,#B8862B 50%,rgba(184,134,43,.55) 75%,transparent);pointer-events:none}
.cfg-hf-header.cfg-hf-scrolled{background:linear-gradient(180deg,#FFFEF9 0%,#FFF6DA 60%,#FFFDF4 100%);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 2px 4px rgba(26,24,21,.07),0 16px 34px rgba(26,24,21,.14),0 28px 56px rgba(184,134,43,.10)}
/* (3) Nav menu + menu links: one line, no wrap */
.cfg-hf-nav{margin-left:auto;min-width:0}
.cfg-hf-menu{display:flex;flex-wrap:nowrap;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.cfg-hf-menu>li{flex:0 0 auto}
.cfg-hf-menu>li>a{display:inline-flex;align-items:center;white-space:nowrap;color:var(--cfg-ink,#1A1815);text-decoration:none;font-weight:500;font-size:.88rem;line-height:1.3;padding:9px 8px;border-radius:999px;transition:background .2s ease,color .2s ease}
.cfg-hf-menu>li>a:hover,.cfg-hf-menu>li>a:focus-visible{color:#96690F;background:rgba(184,134,43,.10)}
/* (4) Language dropdown: gold chevron on the parent, rounded panel with a slight rise; mobile accordion */
.cfg-hf-menu .pll-parent-menu-item,.cfg-hf-menu li.menu-item-has-children,.cfg-hf-menu-mobile .pll-parent-menu-item,.cfg-hf-menu-mobile li.menu-item-has-children{position:relative}
.cfg-hf-menu .pll-parent-menu-item>a,.cfg-hf-menu li.menu-item-has-children>a{padding-right:20px}
.cfg-hf-menu .pll-parent-menu-item::after,.cfg-hf-menu li.menu-item-has-children::after{content:"";position:absolute;right:7px;top:50%;width:7px;height:7px;margin-top:-5px;border-right:2px solid #B8862B;border-bottom:2px solid #B8862B;transform:rotate(45deg);pointer-events:none;transition:transform .2s ease}
.cfg-hf-menu .pll-parent-menu-item:hover::after,.cfg-hf-menu .pll-parent-menu-item:focus-within::after{transform:rotate(225deg);margin-top:-2px}
.cfg-hf-menu .pll-parent-menu-item>.sub-menu,.cfg-hf-menu li.menu-item-has-children>.sub-menu{display:block;position:absolute;top:100%;left:auto;right:0;z-index:100;min-width:230px;margin:0;padding:8px 0;list-style:none;background:linear-gradient(180deg,#FFFEF9,#FFF9E6);border:1px solid #E7DFD0;border-radius:14px;box-shadow:0 1px 2px rgba(26,24,21,.06),0 14px 30px rgba(26,24,21,.16),0 28px 52px rgba(184,134,43,.12);visibility:hidden;opacity:0;transform:translateY(8px);transform-origin:top right;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
.cfg-hf-menu .pll-parent-menu-item:hover>.sub-menu,.cfg-hf-menu .pll-parent-menu-item:focus-within>.sub-menu,.cfg-hf-menu li.menu-item-has-children:hover>.sub-menu,.cfg-hf-menu li.menu-item-has-children:focus-within>.sub-menu{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto;transition:opacity .22s ease,transform .22s ease,visibility 0s}
.cfg-hf-menu .sub-menu a,.cfg-hf-menu-mobile .sub-menu a{display:block;padding:12px 18px;color:#1A1815;text-decoration:none;font-weight:500;white-space:nowrap;line-height:1.4}
.cfg-hf-menu .sub-menu a:hover,.cfg-hf-menu .sub-menu a:focus,.cfg-hf-menu-mobile .sub-menu a:hover,.cfg-hf-menu-mobile .sub-menu a:focus{background:rgba(184,134,43,.12);color:#96690F}
.cfg-hf-menu .sub-menu a::after{display:none}
.cfg-hf-menu-mobile .pll-parent-menu-item>a,.cfg-hf-menu-mobile li.menu-item-has-children>a{padding-right:28px}
.cfg-hf-menu-mobile .pll-parent-menu-item::after,.cfg-hf-menu-mobile li.menu-item-has-children::after{content:"";position:absolute;right:8px;top:22px;width:8px;height:8px;border-right:2px solid #B8862B;border-bottom:2px solid #B8862B;transform:rotate(45deg);pointer-events:none;transition:transform .2s ease}
.cfg-hf-menu-mobile .pll-parent-menu-item.cfg-lang-open::after,.cfg-hf-menu-mobile li.menu-item-has-children.cfg-lang-open::after{transform:rotate(225deg);top:25px}
.cfg-hf-menu-mobile .pll-parent-menu-item>.sub-menu,.cfg-hf-menu-mobile li.menu-item-has-children>.sub-menu{position:static;display:block;min-width:0;margin:0;padding:4px 0 8px 16px;border:0;border-radius:0;box-shadow:none;background:transparent;list-style:none;visibility:visible;opacity:1;transform:none;pointer-events:auto}
.cfg-hf-menu-mobile .sub-menu a{padding:11px 16px;font-size:1rem}
.cfg-hf-lang-js .cfg-hf-menu-mobile .pll-parent-menu-item>.sub-menu,.cfg-hf-lang-js .cfg-hf-menu-mobile li.menu-item-has-children>.sub-menu{display:none}
.cfg-hf-lang-js .cfg-hf-menu-mobile .pll-parent-menu-item.cfg-lang-open>.sub-menu,.cfg-hf-lang-js .cfg-hf-menu-mobile li.menu-item-has-children.cfg-lang-open>.sub-menu{display:block}
/* (5) Try Free CTA button: 3D gold gradient, press-down :active effect */
.cfg-hf-header .cfg-hf-bar a.cfg-btn.cfg-hf-cta{flex:0 0 auto;white-space:nowrap;margin-left:4px;padding:11px 22px;font-size:.95rem;color:#fff !important;background:linear-gradient(180deg,#D9A441 0%,#B8862B 52%,#96690F 100%) !important;border:1px solid rgba(150,105,15,.55) !important;box-shadow:0 1px 0 rgba(255,255,255,.55) inset,0 2px 0 #7A5510,0 8px 18px rgba(184,134,43,.38),0 14px 28px rgba(26,24,21,.12) !important;text-shadow:0 1px 1px rgba(26,24,21,.25);transition:transform .15s ease,box-shadow .15s ease,background .2s ease}
.cfg-hf-header .cfg-hf-bar a.cfg-btn.cfg-hf-cta:hover{color:#fff !important;background:linear-gradient(180deg,#E3B45A 0%,#C9972F 52%,#A67C1A 100%) !important;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 2px 0 #7A5510,0 10px 22px rgba(184,134,43,.45),0 18px 34px rgba(26,24,21,.14) !important;transform:translateY(-1px)}
.cfg-hf-header .cfg-hf-bar a.cfg-btn.cfg-hf-cta:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 0 0 #7A5510,0 3px 8px rgba(184,134,43,.35) !important}
/* (6) Burger button */
.cfg-hf-burger{display:none;cursor:pointer;margin-left:auto}
.cfg-hf-burger span{display:block;width:24px;height:2px;background:var(--cfg-ink,#1A1815);margin:5px 0}
.cfg-hf-header .cfg-hf-burger{background:linear-gradient(180deg,#FFFEF9,#FFF3D6) !important;border:1px solid #E7DFD0 !important;border-radius:12px;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 3px 10px rgba(26,24,21,.12) !important;padding:10px 12px}
.cfg-hf-header .cfg-hf-burger:active{transform:translateY(1px);box-shadow:0 1px 4px rgba(26,24,21,.14) !important}
/* (7) Mobile panel */
.cfg-hf-mobile[hidden]{display:none}
.cfg-hf-mobile{border-top:1px solid #E7DFD0;background:linear-gradient(180deg,#FFFEF9,#FFF9E6);box-shadow:0 18px 30px rgba(26,24,21,.10) inset;overflow-x:hidden}
.cfg-hf-mobile .cfg-wrap{max-width:1760px;padding:0 28px}
.cfg-hf-menu-mobile{list-style:none;margin:0;padding:8px 0 16px}
.cfg-hf-menu-mobile>li{padding:0;border-bottom:1px solid rgba(231,223,208,.7)}
.cfg-hf-menu-mobile>li>a{display:block;padding:13px 4px;color:#1A1815;text-decoration:none;font-weight:500;font-size:1.05rem;white-space:normal}
/* (8) Footer */
.cfg-hf-footer{background:#171410;color:#EDE6D6;margin-top:0}
.cfg-hf-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-top:44px;padding-bottom:30px}
.cfg-hf-footer h4{color:#fff;font-family:Inter,system-ui,sans-serif;font-size:.95rem;letter-spacing:.06em;text-transform:uppercase}
.cfg-hf-footer ul{list-style:none;margin:0;padding:0}
.cfg-hf-footer li{padding:4px 0}
.cfg-hf-footer a{color:#EDE6D6;text-decoration:none}
.cfg-hf-footer a:hover{color:#D9A441}
.cfg-hf-brand-light .cfg-hf-script{color:#D9A441}
.cfg-hf-brand-light .cfg-hf-sub{color:#fff}
.cfg-hf-about p{color:#CFC5AE;font-size:.95rem;max-width:36ch}
.cfg-hf-bottom{border-top:1px solid #2E2820;padding:16px 0;font-size:.88rem;color:#B9AE97}
.cfg-hf-bottom .cfg-wrap{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between}
/* (9) Media queries */
@media (min-width:1401px) and (max-width:1750px){.cfg-hf-menu>li>a{font-size:.82rem;padding:9px 6px}.cfg-hf-script{font-size:1.5rem}.cfg-hf-bar{gap:10px}.cfg-hf-header .cfg-hf-bar a.cfg-btn.cfg-hf-cta{padding:10px 18px;font-size:.9rem}}
@media (max-width:1400px){.cfg-hf-nav,.cfg-hf-cta{display:none}.cfg-hf-header .cfg-hf-burger{display:block}}
@media (max-width:900px){.cfg-hf-nav,.cfg-hf-cta{display:none}.cfg-hf-header .cfg-hf-burger{display:block}.cfg-hf-cols{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.cfg-hf-cols{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.cfg-hf-header,.cfg-hf-menu .sub-menu,.cfg-hf-menu>li>a,.cfg-hf-header .cfg-hf-bar a.cfg-btn.cfg-hf-cta{transition:none}}.cfg-home-hero{padding-top:10px}
.cfg-home-hero h1{margin-bottom:10px}
.cfg-tool{margin-top:24px}
.cfg-tool-label{font-weight:600;display:block;margin-bottom:8px}
#cfg-input{width:100%;font-size:1.25rem;padding:14px 16px;border:1.5px solid var(--cfg-line,#E7DFD0);border-radius:12px;font-family:inherit;resize:vertical;background:#fff}
#cfg-input:focus{outline:2px solid var(--cfg-gold,#B8862B);border-color:transparent}
.cfg-tool-modes{display:flex;gap:10px;margin:16px 0;flex-wrap:wrap}
.cfg-mode{border:1.5px solid var(--cfg-line,#E7DFD0);background:#fff;border-radius:999px;padding:9px 18px;font-weight:600;cursor:pointer;font-size:.95rem}
.cfg-mode.is-active{background:var(--cfg-ink,#1A1815);color:#fff;border-color:var(--cfg-ink,#1A1815)}
.cfg-unicode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.cfg-unicode-card{text-align:left;background:#fff;border:1px solid var(--cfg-line,#E7DFD0);border-radius:12px;padding:12px 14px;cursor:pointer;display:flex;flex-direction:column;gap:4px}
.cfg-unicode-card:hover{border-color:var(--cfg-gold,#B8862B)}
.cfg-unicode-name{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#8a7d63;font-weight:700}
.cfg-unicode-text{font-size:1.3rem;word-break:break-word;line-height:1.35}
.cfg-tool-hint{color:var(--cfg-ink-soft,#4A443B);font-size:.92rem}
.cfg-copied{position:sticky;bottom:14px;background:var(--cfg-ink,#1A1815);color:#fff;text-align:center;border-radius:999px;padding:9px 0;font-weight:600}
.cfg-designer-controls{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.cfg-designer-controls label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.9rem}
.cfg-designer-controls select,.cfg-designer-controls input[type="color"]{padding:8px;border:1.5px solid var(--cfg-line,#E7DFD0);border-radius:9px;background:#fff}
.cfg-designer-controls input[type="color"]{padding:2px;height:40px;width:64px}
.cfg-preview{border:1px dashed var(--cfg-line,#E7DFD0);border-radius:12px;min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;overflow:hidden;line-height:1.3}
.cfg-downloads{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.cfg-steps li{margin-bottom:10px}
.cfg-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.cfg-link-card{text-decoration:none;color:inherit;display:block}
.cfg-link-card:hover{border-color:var(--cfg-gold,#B8862B)}
.cfg-table-wrap{overflow-x:auto}
.cfg-table{width:100%;border-collapse:collapse;background:#fff}
.cfg-table th,.cfg-table td{border:1px solid var(--cfg-line,#E7DFD0);padding:10px 12px;text-align:left}
.cfg-table th{background:var(--cfg-paper,#FBF7EF)}
.cfg-faq-item{background:#fff;border:1px solid var(--cfg-line,#E7DFD0);border-radius:12px;padding:14px 18px;margin-bottom:10px}
.cfg-faq-item summary{font-weight:600;cursor:pointer}
.cfg-wrap-inner{max-width:1180px;margin:0 auto}
@media (max-width:640px){.cfg-unicode-grid{grid-template-columns:1fr 1fr}.cfg-unicode-text{font-size:1.1rem}}@media print{@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/greatvibes/v21/RWmMoKWR9v4ksMfaWd_JN-XC.ttf) format('truetype');
}

}/*
 * CFG Design Enhance - animated 3D polish for calligraphyfontgenerator.io
 * Drop-in extra stylesheet. Load it AFTER the theme and plugin CSS.
 * It only overrides colours, shadows, transforms, opacity and
 * background-position. It never changes layout widths, font sizes,
 * text colours, or the tool input boxes, so the tools keep working
 * exactly as before.
 * Design tokens reused from the theme: ivory #FFFEF9, ink #1A1815,
 * gold #B8862B, gold-dark #96690F, paper #FBF7EF, line #E7DFD0.
 * All motion lives inside the prefers-reduced-motion media query
 * below, so users who prefer reduced motion get a static version.
 * The text input boxes (#cfg-input, .cfg-tool-input, .cfg-fonts-search)
 * are deliberately NOT styled here, so typing is never distracted.
 */

/* ------------------------------------------------------------------ */
/* 1. Static base: colours, shadows and shapes (no motion here)       */
/* ------------------------------------------------------------------ */

/* Hero area only: soft ivory to blush gradient. The animated sweep
   of background-position is added in the motion media query below. */
.cfg-home-hero {
  background: linear-gradient(120deg, #FFFEF9 0%, #FBF7EF 45%, #F7EEDD 75%, #FFFEF9 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
}

/* 3D depth for the hero tool card and for tool-page tool cards.
   .cfg-tool is the homepage tool wrapper; .cfg-tool-app is the
   tool-page wrapper from the CFG Tools plugin markup. */
.cfg-home-hero .cfg-tool,
.cfg-tool-app {
  position: relative;
  border: 1px solid var(--cfg-line, #E7DFD0);
  box-shadow:
    0 1px 2px rgba(26, 24, 21, 0.06),
    0 12px 32px rgba(26, 24, 21, 0.10),
    0 32px 64px rgba(184, 134, 43, 0.08);
}

/* Gold top accent line on tool cards, revealed on hover. The bar
   itself is static here; only its opacity is animated below. */
.cfg-home-hero .cfg-tool::before,
.cfg-tool-app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #B8862B, #D9A441, #B8862B, transparent);
  opacity: 0;
  pointer-events: none;
}

/* Shine sweep layer on tool cards. It is clipped to the card's
   rounded shape by clip-path, so it never spills over the page and
   never covers the tool: it sits above the card background only,
   pointer-events are off, and clicks pass straight through. */
.cfg-home-hero .cfg-tool::after,
.cfg-tool-app::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  clip-path: inset(0 round 14px);
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 0% 0%;
  opacity: 0;
  pointer-events: none;
}

/* Perspective parents for the card grids, so the small hover tilts
   read as real 3D depth instead of flat movement. */
.cfg-unicode-grid,
.cfg-fonts-grid,
.cfg-features {
  perspective: 900px;
}

/* Cards keep their existing colours and text. Only shadow and
   border are deepened here; the lift and tilt are in the motion
   media query below. */
.cfg-unicode-card,
.cfg-font-card,
.cfg-link-card {
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.05);
}

.cfg-unicode-card:hover,
.cfg-font-card:hover,
.cfg-link-card:hover {
  border-color: rgba(184, 134, 43, 0.55);
  box-shadow:
    0 2px 4px rgba(26, 24, 21, 0.06),
    0 14px 28px rgba(26, 24, 21, 0.12),
    0 24px 48px rgba(184, 134, 43, 0.10);
}

/* Buttons: gold gradient for primary buttons only. Ghost buttons
   keep their light style and only gain a gold border on hover.
   Text stays white on the same gold tones the theme already uses,
   so contrast is not reduced. */
.cfg-btn:not(.cfg-btn-ghost) {
  background: linear-gradient(180deg, #C99A3A 0%, #B8862B 55%, #96690F 100%);
  color: #fff;
}

.cfg-btn:not(.cfg-btn-ghost):hover {
  background: linear-gradient(180deg, #D9A441 0%, #B8862B 55%, #96690F 100%);
  color: #fff;
}

.cfg-btn-ghost:hover {
  border-color: #B8862B;
  background: #fff;
}

/* Header nav: animated gold underline. The underline element is
   defined here; its slide transition is in the motion media query.
   On hover or keyboard focus it scales in from the left. */
.cfg-hf-menu a,
.cfg-hf-menu-mobile a {
  position: relative;
}

.cfg-hf-menu a::after,
.cfg-hf-menu-mobile a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #B8862B, #D9A441);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Keep the underline visible for the current page link, if the
   theme or menu marks one. WordPress marks it current-menu-item. */
.cfg-hf-menu .current-menu-item > a::after,
.cfg-hf-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.cfg-hf-menu a:hover::after,
.cfg-hf-menu a:focus-visible::after,
.cfg-hf-menu-mobile a:hover::after,
.cfg-hf-menu-mobile a:focus-visible::after {
  transform: scaleX(1);
}

/* Logo nib: a small tilt on brand hover. Transform only, so it
   stays cheap to animate. The gold nib colour is unchanged. */
.cfg-hf-nib {
  transform-origin: 50% 80%;
}

.cfg-hf-brand:hover .cfg-hf-nib {
  transform: rotate(-8deg) scale(1.08);
}

/* Section headings: gold accent bar under each H2. The bar is
   fully drawn in the static version; the draw-in animation is
   added only inside the motion media query below. */
.cfg-section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #B8862B, rgba(184, 134, 43, 0));
  transform: scaleX(1);
  transform-origin: left center;
}

/* FAQ cards: soft shadow on hover, lift in the motion query. */
.cfg-faq-item:hover {
  box-shadow:
    0 2px 4px rgba(26, 24, 21, 0.05),
    0 10px 24px rgba(26, 24, 21, 0.08);
}

/* Keyboard focus stays clearly visible on interactive elements. */
.cfg-btn:focus-visible,
.cfg-mode:focus-visible,
.cfg-unicode-card:focus-visible,
.cfg-font-card:focus-visible,
.cfg-hf-menu a:focus-visible {
  outline: 2px solid #B8862B;
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* 2. Motion: only for users who have NOT asked for reduced motion.   */
/*    Animates transform, opacity, box-shadow and background-position */
/*    only. No layout properties are animated, so nothing shifts.     */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {

  /* Smooth transitions, limited to the four cheap properties. */
  .cfg-home-hero .cfg-tool,
  .cfg-tool-app,
  .cfg-unicode-card,
  .cfg-font-card,
  .cfg-link-card,
  .cfg-faq-item,
  .cfg-btn,
  .cfg-mode,
  .cfg-hf-nib {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, background-position 0.3s ease;
  }

  .cfg-hf-menu a::after,
  .cfg-hf-menu-mobile a::after {
    transition: transform 0.3s ease;
  }

    /* Hero card only: gentle float. Tool-page cards (.cfg-tool-app
     outside the hero) do not float, so long pages stay calm. */
  .cfg-home-hero .cfg-tool {
    animation: cfg-hero-float 6s ease-in-out infinite;
  }

  @keyframes cfg-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  /* Tool card hover: deeper shadow plus shine sweep. The shine
     moves by background-position and fades by opacity only. */
  .cfg-home-hero .cfg-tool:hover,
  .cfg-tool-app:hover {
    box-shadow:
      0 2px 4px rgba(26, 24, 21, 0.06),
      0 16px 40px rgba(26, 24, 21, 0.14),
      0 40px 80px rgba(184, 134, 43, 0.12);
  }

  .cfg-home-hero .cfg-tool:hover::before,
  .cfg-tool-app:hover::before {
    opacity: 1;
  }

  .cfg-home-hero .cfg-tool:hover::after,
  .cfg-tool-app:hover::after {
    opacity: 1;
    background-position: 100% 0%;
  }

  /* Cards: lift with a small 3D tilt. Cards stay fully clickable:
     no overlay is added to them, and the transform does not change
     their hit area in a way that blocks taps. */
  .cfg-unicode-card:hover,
  .cfg-font-card:hover,
  .cfg-link-card:hover {
    transform: perspective(700px) translateY(-4px) rotateX(2deg) rotateY(-2deg);
  }

  .cfg-faq-item:hover {
    transform: translateY(-2px);
  }

  /* Buttons: glow plus a slight scale on hover, pressed feel on
     active. The active state is a smaller scale, not a jump. */
  .cfg-btn:not(.cfg-btn-ghost):hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 24px rgba(184, 134, 43, 0.45);
  }

  .cfg-btn:not(.cfg-btn-ghost):active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(184, 134, 43, 0.35);
  }

  .cfg-btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(26, 24, 21, 0.10);
  }

  .cfg-btn-ghost:active {
    transform: translateY(0) scale(0.98);
  }

  /* Mode tabs: gentle lift on hover; the active tab keeps its ink
     background and only gains a soft gold glow. */
  .cfg-mode:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 24, 21, 0.10);
  }

  .cfg-mode.is-active {
    box-shadow: 0 4px 14px rgba(184, 134, 43, 0.25);
  }

  /* Section heading bars draw in from the left on page load. The
     transform does not move surrounding content, so there is no
     layout shift while the bar draws. */
  .cfg-section h2::after {
    animation: cfg-heading-draw 0.8s ease forwards;
  }

  @keyframes cfg-heading-draw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ------------------------------------------------------------------ */
/* 3. Mobile safety: under 640px, no tilt, float or shine. Only a     */
/*    simple lift and colour change remain, so phones stay fast.      */
/*    This block comes last so it wins over the motion block above.   */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .cfg-home-hero {
    animation: none;
    background-position: 0% 0%;
  }

  .cfg-home-hero .cfg-tool {
    animation: none;
    transform: none;
  }

  .cfg-home-hero .cfg-tool::after,
  .cfg-tool-app::after {
    opacity: 0;
  }

  .cfg-home-hero .cfg-tool:hover::after,
  .cfg-tool-app:hover::after {
    opacity: 0;
  }

  .cfg-unicode-card:hover,
  .cfg-font-card:hover,
  .cfg-link-card:hover {
    transform: translateY(-2px);
  }

  .cfg-faq-item:hover {
    transform: none;
  }

  .cfg-btn:not(.cfg-btn-ghost):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(184, 134, 43, 0.35);
  }

  .cfg-btn-ghost:hover {
    transform: none;
  }

  .cfg-mode:hover {
    transform: none;
  }

  .cfg-section h2::after {
    animation: none;
    transform: scaleX(1);
  }
}

/* CFG Design v2 - appended AFTER cfg-design-enhance.css, so these rules win on equal specificity.
   Goal: richer colour, less plain. Palette: ivory #FFFEF9, ink #1A1815, gold #B8862B, deep gold #8C6A1F,
   blush #F7EEDD, sage #EAF0E6, plum accent #4A2C3A for rare highlights. No em dashes in comments. */

/* Warm page background with a soft gold top border */
body {
  background: linear-gradient(180deg, #FFF8E7 0, #FFFEF9 220px) !important;
  border-top: 5px solid #B8862B;
}

/* Header: warm tint + gold rule */
.site-header, header.site-header, .cfg-header {
  background: #FFFBF0 !important;
  border-bottom: 2px solid #E8D5A3 !important;
  box-shadow: 0 2px 12px rgba(184, 134, 43, 0.12) !important;
}
.site-header a, header.site-header a, .cfg-header a { color: #1A1815 !important; }
.site-header a:hover, header.site-header a:hover { color: #8C6A1F !important; }

/* Hero: gold gradient band, ink text, soft glow */
.hero, .cfg-hero, .wp-block-cover {
  background: linear-gradient(135deg, #F7EEDD 0%, #FFF3D6 55%, #EAF0E6 100%) !important;
  border: 1px solid #E8D5A3 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(184, 134, 43, 0.18) !important;
  padding: 2rem 1.5rem !important;
}

/* Headings: ink with gold underline bar */
h1, h2, h3 {
  color: #1A1815 !important;
  letter-spacing: -0.01em;
}
h2 {
  border-bottom: 3px solid #E8D5A3 !important;
  padding-bottom: 0.35rem !important;
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #B8862B;
  margin-top: 6px;
  border-radius: 2px;
}

/* Buttons and links: solid gold, dark on hover */
a.wp-block-button__link, .wp-block-button__link, button, input[type="submit"], .cfg-btn {
  background: linear-gradient(135deg, #C9972F, #B8862B) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.4rem !important;
  box-shadow: 0 4px 14px rgba(184, 134, 43, 0.35) !important;
}
a.wp-block-button__link:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(135deg, #8C6A1F, #6E5318) !important;
  color: #FFFFFF !important;
}
a { color: #8C6A1F; }
a:hover { color: #B8862B; }

/* Content cards: white with gold edge and lift */
.wp-block-group, .tool-card, .style-card, .cfg-card, article {
  border-radius: 14px;
}
.tool-card, .style-card, .cfg-card {
  background: #FFFFFF !important;
  border: 1px solid #EDE3C8 !important;
  box-shadow: 0 3px 14px rgba(26, 24, 21, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.tool-card:hover, .style-card:hover, .cfg-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(184, 134, 43, 0.22) !important;
  border-color: #B8862B !important;
}

/* Tool input area: soft blush panel */
.cfg-generator, .cfg-tool, .generator-box {
  background: #FFF8E7 !important;
  border: 1px solid #E8D5A3 !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  box-shadow: inset 0 0 0 1px #FFFFFF, 0 6px 20px rgba(184, 134, 43, 0.12) !important;
}
.cfg-generator input[type="text"], .cfg-tool input[type="text"], input[type="text"] {
  border: 2px solid #E8D5A3 !important;
  border-radius: 10px !important;
  padding: 0.7rem 0.9rem !important;
}
.cfg-generator input[type="text"]:focus, .cfg-tool input[type="text"]:focus, input[type="text"]:focus {
  border-color: #B8862B !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(184, 134, 43, 0.25) !important;
}

/* FAQ answers: light sage panels */
.wp-block-group:has(strong) { background: transparent; }

/* Homepage tool links section: two-column link list on desktop */
.entry-content > ul, .wp-block-list {
  column-gap: 2rem;
}
@media (min-width: 768px) {
  .entry-content ul { columns: 2; }
  .entry-content ul li { break-inside: avoid; }

/* CFG Design v3 - appended AFTER cfg-design-enhance.css (which already carries v2), so these rules win on equal specificity.
   Goal: colourful, 3D, mobile friendly homepage. Keeps the ivory/gold base, adds cycling accent colours
   (plum, terracotta, teal, berry, sage) on cards and chips, 3D tilt on hover, and mobile fixes.
   No em dashes in comments. */

/* Hero: colourful gradient title + soft 3D panel */
.cfg-home-hero h1 {
  background: linear-gradient(100deg, #8C6A1F 0%, #B8862B 30%, #A63A6B 60%, #4A2C3A 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.cfg-home-hero {
  box-shadow: 0 14px 34px rgba(184, 134, 43, 0.20), inset 0 1px 0 #FFFFFF !important;
}

/* Mode tabs: colourful pills, active tab filled */
.cfg-tool-modes .cfg-mode,
.cfg-tool-modes button[role="tab"] {
  border-radius: 999px !important;
  border: 2px solid #E8D5A3 !important;
  background: #FFFFFF !important;
  color: #1A1815 !important;
  box-shadow: 0 3px 10px rgba(26, 24, 21, 0.08) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}
.cfg-tool-modes .cfg-mode[aria-selected="true"],
.cfg-tool-modes button[role="tab"][aria-selected="true"] {
  background: linear-gradient(135deg, #C9972F, #A63A6B) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(166, 58, 107, 0.35) !important;
}
.cfg-tool-modes .cfg-mode:hover,
.cfg-tool-modes button[role="tab"]:hover {
  transform: translateY(-2px) !important;
}

/* Tool panel: colourful top edge */
.cfg-tool {
  border-top: 4px solid transparent !important;
  border-image: linear-gradient(90deg, #B8862B, #A63A6B, #2E7D6B, #C0562F) 1 !important;
}

/* Unicode style cards: 3D tilt + cycling accent bar */
.cfg-unicode-grid {
  perspective: 900px;
}
.cfg-unicode-card {
  border-left: 4px solid #B8862B !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  will-change: transform;
}
.cfg-unicode-card:nth-child(5n+2) { border-left-color: #A63A6B !important; }
.cfg-unicode-card:nth-child(5n+3) { border-left-color: #2E7D6B !important; }
.cfg-unicode-card:nth-child(5n+4) { border-left-color: #C0562F !important; }
.cfg-unicode-card:nth-child(5n+5) { border-left-color: #5B7A4E !important; }
.cfg-unicode-card:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(-4deg) translateY(-3px) !important;
  box-shadow: 0 14px 26px rgba(26, 24, 21, 0.16) !important;
}
.cfg-unicode-card:active {
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0) scale(0.98) !important;
}
.cfg-unicode-name {
  color: #8C6A1F !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
}

/* Designer preview: colourful frame */
.cfg-preview {
  border: 2px solid #E8D5A3 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 2px 10px rgba(26, 24, 21, 0.06), 0 8px 22px rgba(184, 134, 43, 0.14) !important;
}

/* Show-all button: gradient pill */
#cfg-show-all {
  background: linear-gradient(135deg, #2E7D6B, #5B7A4E) !important;
  box-shadow: 0 6px 16px rgba(46, 125, 107, 0.35) !important;
}
#cfg-show-all:hover {
  background: linear-gradient(135deg, #23614F, #47603C) !important;
}

/* Homepage link cards: cycling pastel tints */
.cfg-link-card:nth-child(5n+1) { background: #FFF8E7 !important; }
.cfg-link-card:nth-child(5n+2) { background: #FDF0F4 !important; }
.cfg-link-card:nth-child(5n+3) { background: #EDF6F3 !important; }
.cfg-link-card:nth-child(5n+4) { background: #FDF1EC !important; }
.cfg-link-card:nth-child(5n+5) { background: #F0F4EC !important; }

/* Feature cards: soft 3D lift */
.cfg-features .cfg-card,
.cfg-features > div {
  box-shadow: 0 6px 18px rgba(26, 24, 21, 0.07) !important;
}

/* Mobile: grid, tap targets, no iOS zoom, tighter hero */
@media (max-width: 640px) {
  .cfg-unicode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }
  .cfg-unicode-card {
    min-height: 44px;
    padding: 0.65rem 0.6rem !important;
  }
  .cfg-unicode-text {
    font-size: 1.05rem !important;
    overflow-wrap: anywhere;
  }
  #cfg-input,
  .cfg-tool input[type="text"] {
    font-size: 16px !important;
    min-height: 48px !important;
  }
  .cfg-tool-modes .cfg-mode,
  .cfg-tool-modes button[role="tab"] {
    min-height: 44px !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.92rem !important;
  }
  #cfg-font-select,
  .cfg-designer-controls select,
  .cfg-designer-controls input {
    min-height: 44px !important;
    font-size: 16px !important;
  }
  .cfg-home-hero {
    padding: 1.4rem 1rem !important;
  }
  .cfg-home-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem) !important;
    line-height: 1.15 !important;
  }
  .cfg-tool {
    padding: 1rem 0.8rem !important;
  }
  .cfg-preview {
    overflow-x: auto;
  }
}
@media (max-width: 380px) {
  .cfg-unicode-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cfg-unicode-card,
  .cfg-tool-modes .cfg-mode,
  .cfg-tool-modes button[role="tab"] { transition: none !important; }
  .cfg-unicode-card:hover { transform: none !important; }
}
}

/* Footer: deep ink with gold links */
.site-footer, footer.site-footer, .cfg-footer {
  background: #1A1815 !important;
  color: #F7EEDD !important;
  border-top: 4px solid #B8862B !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
.site-footer a, footer.site-footer a, .cfg-footer a { color: #E8C87A !important; }
.site-footer a:hover, footer.site-footer a:hover { color: #FFFFFF !important; }

/* Images: soft gold frame */
.entry-content img, .wp-block-image img {
  border: 1px solid #EDE3C8 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(26, 24, 21, 0.10) !important;
}

@media (prefers-reduced-motion: reduce) {
  .tool-card, .style-card, .cfg-card { transition: none !important; }
  .tool-card:hover, .style-card:hover, .cfg-card:hover { transform: none !important; }
}