/*
Theme Name: Angular Glass
Author: Angular Glass Theme Project
Description: A lightweight, dark, squared-off WordPress theme with cyan/violet glass panels, geometric navigation, and a clean editorial layout.
Version: 1.0.0
Requires at least: 6.2
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: angular-glass
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar, block-styles
*/

/* ===== 01 / DESIGN TOKENS: customize these first ===== */
:root {
  color-scheme: dark;
  --ag-bg: #121620;
  --ag-bg-deep: #0d1119;
  --ag-panel: #29344b;
  --ag-text: #e5f2ff;
  --ag-muted: #a5b4ca;
  --ag-cyan: #65e7ff;
  --ag-blue: #458cff;
  --ag-violet: #a26eff;
  --ag-line: #93bcf149;
  --ag-glass: linear-gradient(122deg, #b9dbfc26 0%, #4e739a36 39%, #373956b5 76%, #684b8b50 100%);
  --ag-shadow: 6px 7px 0 -2px #101727, 11px 14px 0 -3px #222945, 16px 21px 26px #0009;
  --ag-font: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ag-content: 1180px;
}


*, *::before, *::after { box-sizing: border-box; }


html { scroll-behavior: smooth; }


body {
  margin: 0; min-width: 320px; color: var(--ag-text); font: 16px/1.7 var(--ag-font);
  background: radial-gradient(ellipse 720px 550px at 0% 0%, #293749b8, transparent 76%), radial-gradient(ellipse 700px 700px at 100% 35%, #271c4085, transparent 75%), linear-gradient(120deg, #1e2430, #10141d 72%);
}


body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(#99bfff0c 1px, transparent 1px), linear-gradient(90deg, #99bfff0c 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(#0009, transparent 87%); }


a { color: var(--ag-cyan); text-decoration: none; }
a:hover { color: #ecfbff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #dbfaff; outline-offset: 3px; }




button, input, select, textarea { font: inherit; }
button { cursor: pointer; }


img { max-width: 100%; height: auto; }
figure { margin: 0; }


h1, h2, h3, h4, h5, h6 { line-height: 1.18; letter-spacing: -.035em; overflow-wrap: break-word; }



p, li { overflow-wrap: break-word; }


button, input, textarea, select { border-radius: 0; }


::selection { background: #5c84bb; color: white; }




.ag-site-shell { min-height: 100vh; display: flex; flex-direction: column; overflow: clip; }

.ag-main { flex: 1; }

.ag-container { width: calc(100% - 72px); max-width: var(--ag-content); margin-inline: auto; }

.screen-reader-text, .ag-skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ag-skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 18px; background: #e5f2ff; color: #121620; }

[hidden] { display: none !important; }




/* ===== 02 / SHARED GLASS PIECES ===== */


.ag-panel, .wp-block-group.is-style-ag-panel {
  position: relative; isolation: isolate; border: 1px solid #92b8ec83; border-right-color: #9c77dc9e; border-radius: 0; background: var(--ag-glass);
  box-shadow: inset 0 1px 0 #edfcff45, inset 0 -2px 2px #46d8ff29, var(--ag-shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}


.ag-panel::before, .wp-block-group.is-style-ag-panel::before { content: ""; position: absolute; inset: 1px; z-index: -1; pointer-events: none; background: linear-gradient(121deg, #ffffff16, #ffffff06 37%, transparent 37.2%, #ffffff04 62%, transparent 62.2%); }
.ag-panel::after { content: ""; position: absolute; top: -1px; right: -1px; width: 33%; height: 2px; background: var(--ag-violet); box-shadow: 0 0 13px #985cffa6; pointer-events: none; }


.ag-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #9ccde6; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }


.ag-kicker-rule { width: 23px; height: 1px; background: var(--ag-cyan); box-shadow: 0 0 10px var(--ag-cyan); }


.ag-kicker-star { color: var(--ag-violet); }


.ag-button, .wp-block-button.is-style-ag-neon .wp-block-button__link, .wp-block-button.is-style-ag-neon .wp-element-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 52px; padding: 12px 21px; border: 1px solid #8acfff; border-radius: 0; color: #f1faff; background: linear-gradient(120deg, #a3edff88, #3586c6b7 43%, #5869c5ae 78%, #8069cb92);
  box-shadow: inset 0 1px 0 #ffffff88, inset 0 -2px 4px #287be278, 0 0 19px #36baff45, 6px 7px 0 -2px #22385b, 11px 13px 23px #0008;
  font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}


.ag-button:hover, .wp-block-button.is-style-ag-neon .wp-block-button__link:hover { transform: translateY(-2px); color: white; box-shadow: inset 0 1px 0 #ffffffb5, 0 0 25px #36baff70, 6px 9px 0 -2px #22385b, 11px 17px 23px #0009; }


.ag-button:active { transform: translateY(1px); }


.ag-button > span { color: #dcfaff; font-size: 18px; }


.ag-button-secondary { border-color: #a878ea9a; color: #e4d4ff; background: linear-gradient(115deg, #929cda36, #4a466b8c 72%, #76529a56); box-shadow: inset 0 1px 0 #ffffff45, inset 0 -2px 2px #a465ff51, 6px 7px 0 -2px #221d38, 11px 13px 24px #0008; }


.ag-button-secondary:hover { box-shadow: inset 0 1px 0 #ffffff55, 0 0 19px #985bff60, 6px 9px 0 -2px #221d38, 11px 17px 23px #0008; }


.ag-link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }


.ag-link-arrow span { font-size: 18px; }




/* ===== 03 / HEADER + MENU ===== */



.ag-site-header { z-index: 30; position: relative; border-bottom: 1px solid #91b5ef3a; background: #1118248c; backdrop-filter: blur(18px); }
.ag-header-inner { display: flex; align-items: center; gap: 30px; min-height: 87px; }
.ag-site-branding { flex-shrink: 0; }
.ag-brand-link { display: inline-flex; align-items: center; gap: 12px; color: #f2f9ff; }
.ag-brand-link:hover { color: #f2f9ff; }
.ag-brand-name { font-size: 17px; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.ag-brand-dot { color: var(--ag-cyan); text-shadow: 0 0 12px var(--ag-cyan); }
.ag-brand-mark { display: grid; grid-template-columns: repeat(2, 10px); gap: 3px; }
.ag-brand-mark i { width: 10px; height: 10px; display: block; background: var(--ag-cyan); box-shadow: 0 0 10px #3ddfff80; }
.ag-brand-mark i:nth-child(2), .ag-brand-mark i:nth-child(3) { background: #7785ee; }
.custom-logo { display: block; max-width: 270px; max-height: 68px; width: auto; height: auto; }
.ag-primary-nav { margin-left: auto; }
.ag-nav-list { display: flex; align-items: center; flex-wrap: wrap; list-style: none; gap: 5px 20px; margin: 0; padding: 0; }
.ag-nav-list li { position: relative; }
.ag-nav-list a { display: block; padding: 11px 2px; color: #aab8cc; font-size: 12px; font-weight: 600; }
.ag-nav-list a:hover, .ag-nav-list .current-menu-item > a, .ag-nav-list .current_page_item > a { color: var(--ag-cyan); }
.ag-nav-list .sub-menu, .ag-nav-list .children { display: none; position: absolute; top: 100%; left: 0; z-index: 50; width: 205px; background: #252d41f5; border: 1px solid #89b7ed81; box-shadow: 8px 10px 20px #0009; list-style: none; margin: 0; padding: 7px 12px; }
.ag-nav-list li:hover > .sub-menu, .ag-nav-list li:focus-within > .sub-menu, .ag-nav-list li:hover > .children, .ag-nav-list li:focus-within > .children { display: block; }



.ag-header-cta { display: inline-flex; flex-shrink: 0; align-items: center; gap: 16px; border: 1px solid #89d8ff7a; padding: 11px 13px; color: var(--ag-cyan); background: #4e8fce17; font-size: 11px; font-weight: 700; white-space: nowrap; box-shadow: inset 0 -1px #3cc5ff6a; }
.ag-header-cta:hover { color: white; border-color: var(--ag-cyan); }

                               .ag-menu-toggle { display: none; align-items: center; gap: 11px; border: 1px solid #82bee77f; background: #2d3e58; color: var(--ag-text); padding: 10px 12px; font-size: 12px; }
.ag-menu-lines { display: grid; gap: 4px; }
.ag-menu-lines i { display: block; width: 17px; height: 2px; background: var(--ag-cyan); }




/* ===== 04 / HOME HERO ===== */


.ag-hero { padding-top: 74px; }
.ag-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); align-items: center; gap: clamp(30px, 6vw, 90px); padding-bottom: 64px; }
.ag-hero-copy { min-width: 0; }
.ag-hero-title { margin: 0 0 22px; color: #a3e7fa; font-size: clamp(56px, 7.1vw, 104px); font-weight: 800; letter-spacing: -.085em; line-height: 1.03; overflow-wrap: anywhere; text-shadow: 0 0 45px #3789bc44; }
.ag-hero-title span, .ag-section-heading h2 span, .ag-page-header h1 > span, .ag-error-code span { color: var(--ag-violet); }
.ag-hero-desc { max-width: 600px; margin: 0 0 37px; color: #a9b8cc; font-size: 17px; line-height: 1.75; }
.ag-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.ag-hero-display { position: relative; display: flex; min-height: 355px; flex-direction: column; justify-content: space-between; padding: 19px; border: 1px solid #8ebceb9d; border-right: 1px solid #a36af8d6; background: linear-gradient(140deg, #a5d4ff32, #274b7199 30%, #272b50e8 73%, #644d9050); box-shadow: inset 0 2px 2px #ebfcff74, inset 0 -2px 2px #a97dff7b, 6px 7px 0 -2px #242e58, 12px 15px 0 -3px #161a38, 18px 25px 36px #000b, 0 0 27px #5f62ff2d; }
.ag-hero-display::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, #ffffff1f 0 38%, transparent 38.2%); }
.ag-hero-display::after { content: ""; position: absolute; inset: 14px; border: 1px solid #a6dfff22; pointer-events: none; }


.ag-tech-topline, .ag-tech-bottomline { z-index: 1; display: flex; justify-content: space-between; gap: 12px; color: #b4c3d9; font-size: 9px; font-weight: 700; letter-spacing: .16em; }

.ag-tech-online { color: #8fffe3; }
.ag-tech-symbol { width: 156px; height: 156px; margin: 15px auto; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 8px; transform: rotate(-5deg); filter: drop-shadow(0 0 27px #309bff8a); }
.ag-tech-symbol span { aspect-ratio: 1; border: 1px solid #cff5ffba; background: linear-gradient(130deg, #98eeffc9, #389cdebd 55%, #6046c4c9); box-shadow: inset 0 1px 3px #fff7, inset 0 -2px 8px #3341bdad, 0 0 19px #51cfff91; }
.ag-tech-symbol span:nth-child(2), .ag-tech-symbol span:nth-child(3) { background: linear-gradient(130deg, #6fbaffad, #7062dfc9 75%, #ab65edae); }
.ag-tech-symbol i { position: absolute; inset: 36px; border: 1px solid #e2fbffb0; transform: rotate(45deg); box-shadow: 0 0 20px #b9e8ff9a, inset 0 0 20px #86abff5e; }


.ag-hero-ticker { display: flex; align-items: center; gap: 25px; min-height: 65px; border-top: 1px solid #91b5ef3a; border-bottom: 1px solid #91b5ef3a; color: #97a4b9; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.ag-hero-ticker span:nth-child(2) { color: #7ad4f0; }
.ag-ticker-rule { flex: 1; height: 1px; background: linear-gradient(90deg, #87c7ff66, transparent); }


.ag-home-page-section { padding-top: 65px; }
.ag-home-page-section .ag-page-intro { max-width: none; padding: clamp(25px, 4vw, 48px); }




/* ===== 05 / POSTS + PANELS ===== */


.ag-home-posts { padding-top: 74px; }
.ag-section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #8fa8d037; }
.ag-section-heading h2 { margin: 0; font-size: clamp(28px, 3.3vw, 44px); letter-spacing: -.055em; }
.ag-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.ag-post-card { min-width: 0; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.ag-post-card:hover { transform: translateY(-4px); border-color: #8ce3ffbf; }
.ag-post-card--featured { grid-column: span 2; }
.ag-card-image, .ag-card-placeholder { display: block; width: 100%; height: 205px; overflow: hidden; border-bottom: 1px solid #88b9ef75; }
.ag-post-card--featured .ag-card-image, .ag-post-card--featured .ag-card-placeholder { height: 270px; }
.ag-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ag-post-card:hover .ag-card-image img { transform: scale(1.03); }
.ag-card-placeholder { display: grid; place-items: center; background: radial-gradient(ellipse at 55% 55%, #4ba5e167, transparent 40%), linear-gradient(137deg, #304862de, #272a53 66%, #5c3f79aa); position: relative; }
.ag-card-placeholder::before { content: ""; position: absolute; inset: 20px; border: 1px solid #a3cbf03b; background: linear-gradient(90deg, #b3c9ef0c 1px, transparent 1px), linear-gradient(#b3c9ef0c 1px, transparent 1px); background-size: 25px 25px; }
.ag-card-placeholder span { z-index: 1; font-size: 55px; line-height: 1; color: var(--ag-cyan); text-shadow: 0 0 27px #3de2ffc9, 2px 3px 0 var(--ag-violet); }
.ag-post-card-body { padding: 22px 24px 23px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.ag-card-labels { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 15px; }
.ag-card-category { color: #90e7ff; border-left: 2px solid var(--ag-cyan); padding-left: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ag-card-index { color: #91a0ba; font-size: 10px; letter-spacing: .02em; }
.ag-card-title { margin: 0 0 13px; font-size: clamp(20px, 2vw, 27px); line-height: 1.28; }
.ag-card-title a { color: #eff6ff; }
.ag-card-title a:hover { color: var(--ag-cyan); }
.ag-card-excerpt { color: #adbbcd; font-size: 13px; line-height: 1.8; }
.ag-card-excerpt p { margin: 0 0 20px; }
.ag-read-more { display: inline-flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid #a6c6ea40; font-size: 12px; font-weight: 750; }
.ag-read-more span { font-size: 18px; }
.ag-feed-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }


.ag-bottom-callout { padding-block: 77px 110px; }


.ag-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px 39px; }
.ag-callout h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 38px); }
.ag-callout p:last-child { margin: 0; color: #acb9ca; }
.ag-callout .ag-button { flex-shrink: 0; }




/* ===== 06 / ARCHIVES, CONTENT, SIDEBAR ===== */


.ag-page-header { padding-top: 73px; padding-bottom: 47px; }
.ag-page-header h1 { margin: 0 0 16px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.1; letter-spacing: -.07em; }
.ag-page-header > p:not(.ag-kicker), .ag-archive-description { margin: 0; color: var(--ag-muted); }
.ag-page-header .ag-archive-description p { margin: 0; }
.ag-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 49px; padding-bottom: 105px; }
.ag-content-column { min-width: 0; }


.ag-sidebar { display: grid; gap: 26px; min-width: 0; }


.ag-widget { min-width: 0; padding: 25px 23px; color: #b5c1d2; font-size: 13px; }
.ag-widget-title { margin: 0 0 18px; padding-bottom: 13px; border-bottom: 1px solid #9bb9df3c; color: #e8f4ff; text-transform: uppercase; font-size: 12px; letter-spacing: .09em; }
.ag-widget ul { list-style: none; padding: 0; margin: 0; }
.ag-widget li { padding-block: 8px; border-bottom: 1px solid #9bb9df1f; }
.ag-widget li:last-child { border: 0; }
.ag-widget a { color: #b4dced; }
.ag-widget a:hover { color: white; }
.ag-widget select, .ag-widget input[type="text"], .ag-widget input[type="email"] { max-width: 100%; }
.ag-widget .wp-block-latest-posts { padding-left: 0; }
.ag-field, .ag-widget input:not([type="checkbox"]):not([type="radio"]), .ag-widget select, .entry-content input:not([type="checkbox"]):not([type="radio"]), .entry-content select, .entry-content textarea, .ag-comments textarea, .ag-comments input:not([type="checkbox"]):not([type="radio"]) {
  display: block; min-width: 0; width: 100%; padding: 13px 14px; border: 1px solid #88b6e87f; border-radius: 0; color: #f0f8ff; background: linear-gradient(115deg, #668eaf46, #353f5dca 65%, #5041689c); box-shadow: inset 0 1px 3px #d2ecff20, inset 0 -2px 2px #26dfff56; }
.ag-field::placeholder, .ag-comments input::placeholder, .ag-comments textarea::placeholder { color: #adc1d5; opacity: 1; }
.ag-field:focus, .ag-widget input:focus, .entry-content input:focus, .ag-comments input:focus, .ag-comments textarea:focus { border-color: #80e9ff; }



.ag-search-form { position: relative; display: flex; min-width: 0; }
.ag-search-form .ag-field { padding-right: 45px; font-size: 12px; }
.ag-search-button { position: absolute; right: 3px; top: 3px; bottom: 3px; width: 39px; color: var(--ag-cyan); border: 0; background: transparent; font-size: 30px; line-height: 1; }
.ag-search-button:hover { color: white; }


.ag-empty { padding: 35px; }
.ag-empty h2, .ag-empty h3 { margin: 0 0 13px; font-size: 25px; }
.ag-empty p { color: var(--ag-muted); }
.ag-empty .ag-search-form { margin-top: 20px; max-width: 370px; }
.ag-singular-wrap { max-width: 900px; padding-bottom: 100px; }

.ag-entry { padding: clamp(25px, 5vw, 48px); }

.ag-single-header { max-width: var(--ag-content); }

.ag-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; }

.ag-meta-sep { color: var(--ag-violet); }

.ag-single-image { margin: -20px -20px 35px; }
.ag-single-image img { display: block; width: 100%; height: auto; }


.entry-content { color: #c3d0e1; font-size: 16px; line-height: 1.88; overflow-wrap: anywhere; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { color: #eff6ff; margin: 1.7em 0 .5em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote, .wp-block-quote { border-left: 3px solid var(--ag-cyan); margin: 24px 0; padding: 14px 24px; color: #d7e6f3; background: #4a6c9530; }
.entry-content pre, .entry-content code, .wp-block-code { font-family: Consolas, Monaco, monospace; }
.entry-content pre, .wp-block-code { padding: 18px; overflow: auto; background: #0c111be8; border: 1px solid #85b2ea67; }
.entry-content code { overflow-wrap: anywhere; }
.entry-content table, .wp-block-table table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td, .wp-block-table th, .wp-block-table td { border: 1px solid #8ba5ce73; padding: 10px 13px; }
.entry-content th, .wp-block-table th { background: #6a87b02b; }
.entry-content figure { max-width: 100%; }
.entry-content figcaption { text-align: center; color: #95a9c3; font-size: 12px; }
.entry-content ul, .entry-content ol { padding-left: 28px; }
.entry-content hr { border: 0; border-top: 1px solid #9dbbdf69; margin: 35px 0; }
.entry-content .alignwide { max-width: 110%; width: 110%; margin-left: -5%; }
.entry-content .alignfull { max-width: none; width: calc(100% + 2 * clamp(25px, 5vw, 48px)); margin-left: calc(-1 * clamp(25px, 5vw, 48px)); }
.entry-content .wp-block-button__link { border-radius: 0; }
.entry-content .wp-block-group.is-style-ag-panel, .ag-block-panel { padding: 27px; }


.ag-entry-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 30px; margin-top: 35px; border-top: 1px solid #91b5ef42; font-size: 12px; }
.ag-entry-tags span { color: #90a2ba; }


.ag-edit-link { font-size: 12px; }


.ag-page-links { margin-block: 18px; }


.ag-post-navigation { margin-top: 38px; }
.ag-post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ag-post-navigation .nav-previous, .ag-post-navigation .nav-next { min-width: 0; border: 1px solid #8eaada5f; padding: 15px 20px; background: #31405a6b; }
.ag-post-navigation a span { display: block; color: #90b3ce; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.ag-post-navigation a strong { display: block; color: #e4f2ff; font-size: 13px; }
.ag-post-navigation a:hover strong { color: var(--ag-cyan); }


.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.navigation.pagination .page-numbers { display: inline-flex; min-width: 39px; min-height: 39px; justify-content: center; align-items: center; padding: 8px 11px; border: 1px solid #84add47c; color: #c7dbed; background: #33436085; font-size: 12px; }
.navigation.pagination .page-numbers.current { border-color: var(--ag-cyan); color: #06212f; background: var(--ag-cyan); }
.navigation.pagination a:hover { border-color: var(--ag-cyan); color: white; }




/* ===== 07 / COMMENTS + FORMS ===== */


.ag-comments { margin-top: 42px; padding: 30px; }
.ag-comments-title, .comment-reply-title { color: #e9f7ff; font-size: 23px; margin: 0 0 20px; }
.ag-comment-list, .ag-comment-list .children { list-style: none; padding: 0; }
.ag-comment-list .children { margin-left: 25px; }
.ag-comment-list .comment-body { border-bottom: 1px solid #a2b7d540; padding: 20px 0; }
.ag-comment-list .comment-meta { color: #a9bacf; font-size: 12px; }
.ag-comment-list .comment-author { display: flex; gap: 10px; align-items: center; }
.ag-comment-list .avatar { width: 40px; height: 40px; border: 1px solid #8cd4f0; }
.ag-comments p { color: #aebfd0; }
.ag-comments label { display: block; margin: 5px 0 7px; font-size: 12px; }
.ag-comments .form-submit .submit, .entry-content button, .entry-content input[type="submit"], .ag-widget button:not(.ag-search-button), .ag-widget input[type="submit"] { width: auto; padding: 11px 18px; color: #effaff; background: linear-gradient(120deg, #3b94bda0, #5856a69c); border: 1px solid var(--ag-cyan); border-radius: 0; box-shadow: 0 0 12px #319be74d; }
.ag-comments .form-submit .submit:hover { background: #4075ab; }
.ag-comments .comment-notes, .ag-comments .logged-in-as { font-size: 13px; }
.ag-comments textarea { min-height: 130px; }

            
/* ===== 08 / FOOTER AND ERROR PAGES ===== */


.ag-site-footer { border-top: 1px solid #91b5ef3a; padding-top: 28px; background: #0e131cb3; }
.ag-footer-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 30px; }
.ag-footer-widgets .ag-widget { max-width: 100%; }
.ag-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; min-height: 75px; padding: 14px 0 25px; color: #90a0b7; font-size: 11px; letter-spacing: .05em; }
.ag-footer-bottom p { margin: 0; }
.ag-footer-slash { color: var(--ag-cyan); padding-inline: 5px; }
.ag-footer-status { display: flex; align-items: center; gap: 9px; color: #a5d8ed; }
.ag-footer-status span { width: 6px; height: 6px; background: var(--ag-cyan); box-shadow: 0 0 9px var(--ag-cyan); }
.ag-footer-menu { display: flex; flex-wrap: wrap; gap: 17px; list-style: none; padding: 0; margin: 0; }
.ag-footer-menu a { color: #a3bad1; }

 .ag-error-layout { display: grid; min-height: 70vh; place-items: center; padding-block: 80px 120px; }
.ag-error-panel { text-align: center; padding: 40px 45px 55px; width: min(100%, 650px); }
.ag-error-panel .ag-kicker { justify-content: center; }
.ag-error-code { color: #9be8ff; font-size: clamp(92px, 18vw, 190px); line-height: 1.1; font-weight: 800; letter-spacing: -.09em; margin: 5px 0; text-shadow: 0 0 45px #398ded55; }
.ag-error-panel h1 { font-size: 25px; }
.ag-error-panel > p:not(.ag-kicker):not(.ag-error-code) { color: #b7c6d8; margin-bottom: 24px; }



/* ===== 09 / WORDPRESS CORE BLOCKS + ACCESSIBILITY ===== */

.has-neon-cyan-color { color: #65e7ff !important; } .has-neon-cyan-background-color { background-color: #65e7ff !important; }
.has-electric-violet-color { color: #a26eff !important; } .has-electric-violet-background-color { background-color: #a26eff !important; }
.has-night-color { color: #121620 !important; } .has-night-background-color { background-color: #121620 !important; }
.has-slate-panel-color { color: #29344b !important; } .has-slate-panel-background-color { background-color: #29344b !important; }
.has-ice-white-color { color: #e5f2ff !important; } .has-ice-white-background-color { background-color: #e5f2ff !important; }

.wp-block-separator { opacity: .5; }
.wp-block-cover { color: white; }
.wp-block-image img { display: block; }
.wp-block-calendar table th { background: #2e3f54; }
.wp-block-calendar a { color: var(--ag-cyan); }
.wp-block-search__input { border-radius: 0; background: #202a3c; color: white; border: 1px solid #7896c9; }
.wp-block-search__button { border-radius: 0; background: #384f79; border: 1px solid var(--ag-cyan); color: white; }
.wp-block-file__button { border-radius: 0; }
.wp-block-pullquote { border-top: 2px solid var(--ag-cyan); border-bottom: 2px solid var(--ag-violet); }

.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: #9bacc4; font-size: 12px; }

.sticky { border-left: 2px solid var(--ag-cyan); }
.bypostauthor { border-left: 2px solid var(--ag-violet); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.entry-content::after { content: ""; display: table; clear: both; }



/* ===== 10 / MOBILE LAYOUT ===== */

@media (max-width: 1020px) {
  .ag-header-inner { gap: 16px; }
  .ag-nav-list { gap: 5px 13px; }
  .ag-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 38px; }
  .ag-hero-display { min-height: 310px; }
  .ag-content-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 35px; }
  .ag-post-grid { gap: 23px; }
}
@media (max-width: 850px) {
  .ag-container { width: calc(100% - 48px); }
  .ag-header-inner { min-height: 72px; }
  .ag-menu-toggle { display: inline-flex; margin-left: auto; }
  .ag-primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 15px 24px 22px; background: #1b2637f8; border-bottom: 1px solid #88d1ff8c; box-shadow: 0 15px 27px #0009; }
  .ag-primary-nav.ag-nav-open { display: block; }
  .ag-nav-list { display: block; }
  .ag-nav-list a { font-size: 14px; padding: 10px 4px; }
  .ag-nav-list .sub-menu, .ag-nav-list .children { position: static; display: block; width: auto; margin-left: 17px; border: 0; border-left: 1px solid #9cc3ff56; padding: 3px 14px; background: transparent; box-shadow: none; }
  .ag-header-cta { display: none; }
  .ag-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .ag-hero-display { min-height: 250px; }
  .ag-hero-title { font-size: clamp(54px, 9vw, 84px); }
  .ag-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ag-content-layout { grid-template-columns: minmax(0,1fr); }
  .ag-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 590px) {
  .ag-container { width: calc(100% - 36px); }
  .ag-hero { padding-top: 50px; }
  .ag-hero-grid { padding-bottom: 49px; }
  .ag-hero-title { font-size: clamp(46px, 12vw, 68px); }
  .ag-hero-desc { font-size: 15px; }
  .ag-hero-actions { align-items: stretch; }
  .ag-button { padding: 12px 16px; }
  .ag-hero-ticker { flex-wrap: wrap; gap: 8px 19px; padding-block: 17px; font-size: 9px; }
  .ag-ticker-rule { display: none; }
  .ag-home-posts { padding-top: 55px; }
  .ag-post-grid, .ag-feed-list { grid-template-columns: minmax(0,1fr); }
  .ag-post-card--featured { grid-column: auto; }
  .ag-post-card--featured .ag-card-image, .ag-post-card--featured .ag-card-placeholder { height: 205px; }
  .ag-callout { flex-direction: column; align-items: start; padding: 27px 23px; }
  .ag-bottom-callout { padding-block: 65px 90px; }
  .ag-page-header { padding-top: 55px; padding-bottom: 32px; }
  .ag-page-header h1 { font-size: clamp(35px, 9vw, 52px); }
  .ag-content-layout, .ag-singular-wrap { padding-bottom: 78px; }
  .ag-sidebar, .ag-footer-widgets { grid-template-columns: minmax(0,1fr); }
  .ag-entry { padding: 24px 20px; }
  .ag-comments { padding: 24px 18px; }
  .ag-post-navigation .nav-links { grid-template-columns: minmax(0,1fr); }
  .entry-content .alignwide { width: 100%; margin-left: 0; }
  .entry-content .alignfull { width: calc(100% + 40px); margin-left: -20px; }
  .alignright, .alignleft { float: none; margin: 1em auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
