* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::before,
*::after {
box-sizing: border-box;
} html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scroll-padding-top: 100px;
}
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
:root {
--thepexcel-font-base: var(--wp--preset--font-family--roboto, "Sarabun", "Noto Sans Thai", "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
--thepexcel-color-text: var(--wp--preset--color--black, #0A0A0A);
--thepexcel-color-bg: var(--wp--preset--color--white, #ffffff);
--thepexcel-color-surface-alt: #FAF0D6;
--thepexcel-color-soft-bg: #F5F5F5;
--thepexcel-color-soft-alt: #FAFAFA;
--thepexcel-color-panel: #F5F5F5;
--thepexcel-color-placeholder: #80775f;
--thepexcel-color-muted: var(--wp--preset--color--dark-gray, #4A4A4A);
--thepexcel-color-muted-text: #4A4A4A;
--thepexcel-color-border: var(--wp--preset--color--border-gray, #E0E0E0);
--thepexcel-color-border-muted: #E0E0E0;
--thepexcel-color-accent: var(--wp--preset--color--gold, #D4A84B);
--thepexcel-color-accent-dark: #B88E35; --thepexcel-color-red: #CD4631;
--thepexcel-color-red-dark: #A03824;
--thepexcel-color-red-light: #FADBD3;
--thepexcel-color-link: #B88E35;
--thepexcel-color-link-active: #8F6E29;
--thepexcel-color-tag-icon: var(--thepexcel-color-link, #b8860b);
--thepexcel-radius-sm: 4px;
--thepexcel-radius-md: 6px;
--thepexcel-radius-lg: 12px;
--thepexcel-radius-card: 8px;
--thepexcel-shadow-header: 0 2px 8px var(--thepexcel-dark-05);
--thepexcel-shadow-soft: 0 2px 8px var(--thepexcel-dark-08);
--thepexcel-shadow-card: 0 6px 18px rgba(17, 17, 17, 0.06);
--thepexcel-shadow-lift: 0 6px 16px var(--thepexcel-accent-40);
--thepexcel-shadow-pressed: 0 2px 8px var(--thepexcel-accent-20);
--thepexcel-space-xs: 0.5rem;
--thepexcel-space-sm: 0.75rem;
--thepexcel-space-md: 1rem;
--thepexcel-space-lg: 1.25rem;
--thepexcel-space-xl: 1.75rem;
--thepexcel-space-2xl: 2.25rem;
--thepexcel-card-padding: 1.5rem;
--thepexcel-gap-navigation: clamp(1rem, 2vw, 2rem);
--thepexcel-transition-base: 0.3s ease;
--thepexcel-focus-shadow: 0 0 0 5px rgba(0, 86, 179, 0.1); --thepexcel-accent-08: rgba(212, 168, 75, 0.08);
--thepexcel-accent-10: rgba(212, 168, 75, 0.10);
--thepexcel-accent-12: rgba(212, 168, 75, 0.12);
--thepexcel-accent-15: rgba(212, 168, 75, 0.15);
--thepexcel-accent-20: rgba(212, 168, 75, 0.20);
--thepexcel-accent-25: rgba(212, 168, 75, 0.25);
--thepexcel-accent-30: rgba(212, 168, 75, 0.30);
--thepexcel-accent-35: rgba(212, 168, 75, 0.35);
--thepexcel-accent-40: rgba(212, 168, 75, 0.40);
--thepexcel-accent-50: rgba(212, 168, 75, 0.50); --thepexcel-red-10: rgba(205, 70, 49, 0.10);
--thepexcel-red-15: rgba(205, 70, 49, 0.15);
--thepexcel-red-20: rgba(205, 70, 49, 0.20);
--thepexcel-red-30: rgba(205, 70, 49, 0.30); --thepexcel-white-80: rgba(255, 255, 255, 0.80);
--thepexcel-dark-05: rgba(0, 0, 0, 0.05);
--thepexcel-dark-08: rgba(17, 17, 17, 0.08);
--thepexcel-dark-10: rgba(0, 0, 0, 0.10);
}
body {
font-family: var(--thepexcel-font-base);
background-color: var(--thepexcel-color-bg);
color: var(--thepexcel-color-text);
line-height: 1.6;
font-size: 0.95rem;
font-weight: 400; --wp--preset--spacing--xs: var(--thepexcel-space-xs) !important;
--wp--preset--spacing--sm: var(--thepexcel-space-sm) !important;
--wp--preset--spacing--md: var(--thepexcel-space-md) !important;
--wp--preset--spacing--lg: var(--thepexcel-space-lg) !important;
--wp--preset--spacing--xl: var(--thepexcel-space-xl) !important;
--wp--preset--spacing--2xl: var(--thepexcel-space-2xl) !important;
}   body.page .wp-block-post-title {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
body.page-template .wp-block-post-title,
body.wp-template-page .wp-block-post-title,
body[class*="wp-template-page"] .wp-block-post-title,
body[class*="page-template"] .wp-block-post-title {
display: none !important;
visibility: hidden !important;
} .wp-block-query :is(.wp-block-post-title, h5.wp-block-post-title) {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
min-height: auto !important;
max-height: none !important;
overflow: visible !important;
color: var(--thepexcel-color-text) !important;
}
.wp-block-query :is(.wp-block-post-title, h5.wp-block-post-title) a {
color: var(--thepexcel-color-text) !important;
text-decoration: none;
} h5.wp-block-post-title {
color: var(--thepexcel-color-text) !important;
height: auto !important;
max-height: none !important;
min-height: 0 !important;
line-height: 1.2 !important;
font-size: 1.25rem !important;
overflow: visible !important;
padding: 0.5rem 0 !important;
} .wp-block-query .wp-block-post-title {
--wp--preset--color--white: var(--thepexcel-color-text);
--wp--preset--color--black: var(--thepexcel-color-text);
} .entry-content h5 {
margin-top: 0.5rem !important;
margin-bottom: 0.5rem !important;
}  header.wp-block-group,
.wp-block-group[class*="wp-block-group-is-layout"] header,
header.wp-block-group.is-content-justification-space-between {
padding-bottom: 8px !important;
margin-bottom: 12px !important;
} body header {
margin-bottom: 12px !important;
} h1, h2, h3, h4, h5, h6 {
font-family: var(--thepexcel-font-base);
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
margin-top: 1.5rem;
margin-bottom: 1rem;
color: var(--thepexcel-color-text);
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
.wp-block-post-title::after {
display: none !important;
}
footer :is(h2, h3, h4, h5)::after,
.wp-block-group.site-footer :is(h2, h3, h4, h5)::after,
.site-footer :is(h2, h3, h4, h5)::after {
display: none !important;
}
h3 {
font-size: 1.75rem;
}
h4 {
font-size: 1.35rem;
font-weight: 600;
}
h5 {
font-size: 1.15rem;
font-weight: 600;
}
h6 {
font-size: 1rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.entry-content h2,
.wp-block-post-content h2 {
position: relative;
padding-bottom: 0.75rem;
}
.entry-content h2::after,
.wp-block-post-content h2::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 4px;
background-color: var(--thepexcel-color-accent);
border-radius: 999px;
}
p {
margin-top: 0;
margin-bottom: 1.5rem;
line-height: 1.8;
font-family: var(--thepexcel-font-base);
font-size: 1rem;
}
strong,
b {
font-weight: 700;
}
em,
i {
font-style: italic;
} a {
color: var(--thepexcel-color-link);
text-decoration: none;
transition: color var(--thepexcel-transition-base), background-color var(--thepexcel-transition-base), box-shadow var(--thepexcel-transition-base);
cursor: pointer;
font-weight: 500;
}
a:hover {
color: var(--thepexcel-color-text);
text-decoration: underline;
}
a:focus-visible {
border-radius: var(--thepexcel-radius-sm);
}
a:active {
color: var(--thepexcel-color-link-active);
} img {
max-width: 100%;
height: auto;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
iframe {
max-width: 100%;
} ul,
ol {
margin-top: 1rem;
margin-bottom: 1.5rem;
padding-left: 2rem;
}
li {
margin-bottom: 0.5rem;
font-family: var(--thepexcel-font-base);
font-size: 1rem;
}
ul ul,
ol ol,
ul ol,
ol ul {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
dl {
margin-bottom: 1.5rem;
}
dt {
font-weight: 700;
margin-bottom: 0.25rem;
}
dd {
margin-left: 2rem;
margin-bottom: 1rem;
} blockquote {
border: none;
border-left: 6px solid var(--thepexcel-color-accent);
padding: 1.5rem 1.75rem 1.5rem 2rem;
margin: 2rem auto;
font-style: italic;
font-weight: 600;
font-size: 1rem;
color: var(--thepexcel-color-text);
background: linear-gradient(
120deg,
rgba(241, 196, 15, 0.18),
rgba(255, 255, 255, 0)
);
border-radius: var(--thepexcel-radius-card);
position: relative;
box-shadow: 0 8px 24px var(--thepexcel-dark-08);
}
blockquote::before {
content: "“";
font-family: "Georgia", serif;
font-size: 4rem;
position: absolute;
left: 0.65rem;
top: -0.25rem;
color: var(--thepexcel-accent-35);
line-height: 1;
}
blockquote p {
margin: 0;
padding-left: 1rem;
text-indent: 1rem;
}
code,
pre {
font-family: "Courier New", monospace;
font-size: 1.1rem;
background-color: var(--thepexcel-color-soft-bg);
padding: 0.25rem 0.5rem;
border-radius: 4px;
}
pre {
overflow-x: auto;
padding: 1rem;
margin: 1.5rem 0;
border-left: 4px solid var(--thepexcel-color-accent);
}
pre code {
background-color: transparent;
padding: 0;
} .code-block-wrapper {
position: relative;
}
.code-block-wrapper pre {
margin: 0;
}
.btn-copy-code {
position: absolute;
top: 0.5rem;
right: 0.5rem;
width: 2rem;
height: 2rem;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--thepexcel-dark-10);
border-radius: 6px;
color: var(--thepexcel-dark-60);
cursor: pointer;
transition: all 0.2s ease;
opacity: 0;
z-index: 10;
}
.code-block-wrapper:hover .btn-copy-code {
opacity: 1;
}
@media (hover: none) {
.btn-copy-code {
opacity: 1;
}
}
.btn-copy-code:hover {
background: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn-copy-code svg {
width: 16px;
height: 16px;
pointer-events: none;
}
.btn-copy-code.copied {
background: #2ecc71;
border-color: #27ae60;
color: white;
opacity: 1;
} button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button__link,
[role="button"] {
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border: none;
border-radius: var(--thepexcel-radius-md);
padding: var(--thepexcel-space-sm) var(--thepexcel-space-xl);
font-family: inherit;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color var(--thepexcel-transition-base), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
display: inline-block;
text-decoration: none;
line-height: 1;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.wp-block-button__link:hover,
[role="button"]:hover {
background-color: var(--thepexcel-color-accent-dark);
transform: translateY(-3px);
box-shadow: var(--thepexcel-shadow-lift);
text-decoration: none;
}
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
.wp-block-button__link:active,
[role="button"]:active {
transform: translateY(-1px);
box-shadow: var(--thepexcel-shadow-pressed);
}
button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled {
opacity: 0.5;
cursor: not-allowed;
} .function-program-nav {
display: flex;
gap: 12px;
margin-bottom: 24px;
flex-wrap: wrap;
overflow-x: auto;
padding-bottom: 6px;
}
.program-nav-item {
display: inline-block;
padding: 10px 24px;
border: 2px solid var(--thepexcel-color-border, #eeeeee);
border-radius: 24px;
background-color: var(--thepexcel-color-bg, #ffffff);
color: var(--thepexcel-color-text, #111111);
text-decoration: none;
font-size: 1rem;
font-weight: 500;
transition: all 0.2s ease;
cursor: pointer;
}
@media (max-width: 640px) {
.function-program-nav {
flex-wrap: nowrap;
}
}
.program-nav-item:hover {
border-color: var(--thepexcel-color-accent, #f1c40f);
background-color: var(--thepexcel-color-surface-alt, #fffbea);
transform: translateY(-2px);
}
.program-nav-item.active {
background-color: var(--thepexcel-color-text, #111111) !important;
color: var(--thepexcel-color-bg, #ffffff) !important;
border-color: var(--thepexcel-color-text, #111111) !important;
font-weight: 600 !important;
} input,
textarea,
select {
font-family: inherit;
font-size: 1rem;
line-height: 1.5;
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-sm);
padding: var(--thepexcel-space-sm);
width: 100%;
max-width: 100%;
transition: border-color var(--thepexcel-transition-base), box-shadow var(--thepexcel-transition-base);
}
input:focus,
textarea:focus,
select:focus {
border-color: var(--thepexcel-color-link);
box-shadow: var(--thepexcel-focus-shadow);
}
textarea {
resize: vertical;
min-height: 120px;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
font-size: 1rem;
color: var(--thepexcel-color-text);
}
input[type="checkbox"],
input[type="radio"] {
width: auto;
margin-right: 0.5rem;
} table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 1rem;
}
thead {
background-color: var(--thepexcel-color-border);
}
th,
td {
border: 1px solid var(--thepexcel-color-border);
padding: 0.75rem;
text-align: left;
}
th {
font-weight: 700;
background-color: var(--thepexcel-color-soft-bg);
}
tr:nth-child(even) {
background-color: var(--thepexcel-color-soft-alt);
} header,
.wp-block-group[role="region"] {
background-color: var(--thepexcel-color-bg);
border-bottom: 1px solid var(--thepexcel-color-border);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: var(--thepexcel-shadow-header);
}
.site-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: var(--thepexcel-space-md) var(--thepexcel-card-padding);
gap: var(--thepexcel-space-xl);
}
.site-logo {
max-width: 200px;
height: auto;
}
.site-title,
.wp-block-site-title {
font-size: 1.35rem;
font-weight: 600;
margin: 0;
line-height: 1.2;
}
.wp-block-site-title a {
color: inherit;
}
.site-tagline {
font-size: 0.875rem;
color: var(--thepexcel-color-muted);
margin: 0;
} nav,
.wp-block-navigation {
display: flex;
gap: var(--thepexcel-gap-navigation);
flex-wrap: wrap;
align-items: center;
font-size: var(--wp--preset--font-size--lg, 1.25rem);
}
nav a,
.wp-block-navigation a {
color: var(--thepexcel-color-text);
text-decoration: none;
font-weight: 500;
position: relative;
display: inline-block;
}
nav a::after,
.wp-block-navigation a::after {
content: "";
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background-color: var(--thepexcel-color-accent);
transition: width 0.3s ease;
}
nav a:hover,
.wp-block-navigation a:hover {
color: var(--thepexcel-color-text);
text-decoration: none;
}
nav a:hover::after,
.wp-block-navigation a:hover::after {
width: 100%;
}
.wp-block-navigation .wp-block-navigation__submenu-container {
padding: var(--thepexcel-space-md) var(--thepexcel-card-padding);
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
font-size: 1rem;
padding: 0.35rem 0;
} footer,
.wp-block-group.site-footer {
background-color: var(--thepexcel-color-text);
color: var(--thepexcel-color-bg);
margin-top: calc(var(--thepexcel-space-xl) + var(--thepexcel-space-2xl));
border-top: none;
}
.site-footer a {
color: var(--thepexcel-color-accent);
text-decoration: none;
}
.site-footer a:hover {
color: var(--thepexcel-color-bg);
}
.footer-newsletter {
display: flex;
align-items: center;
gap: var(--thepexcel-space-lg);
}
.footer-newsletter__form {
display: flex;
gap: var(--thepexcel-space-sm);
flex-wrap: wrap;
align-items: center;
}
.footer-newsletter__form input {
background-color: #111111;
border: 1px solid rgba(255, 255, 255, 0.2);
color: var(--thepexcel-color-bg);
padding: 0.85rem 1.25rem;
border-radius: 999px;
min-width: 280px;
}
.footer-newsletter__form input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.footer-newsletter__form button {
background: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border: none;
border-radius: 999px;
padding: 0.85rem 1.75rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-newsletter__form button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px var(--thepexcel-accent-35);
}
.footer-columns {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: var(--thepexcel-space-md);
}
.footer-columns .wp-block-column {
gap: var(--thepexcel-space-sm);
flex: 1 1 calc(25% - var(--thepexcel-space-md));
min-width: 220px;
}
.footer-columns .wp-block-column:first-child {
flex: 1.6 1 340px;
max-width: 360px;
}
.footer-columns .wp-block-column:last-child {
flex: 1.4 1 300px;
max-width: 340px;
}
.footer-columns ul {
list-style: none;
padding: 0;
margin: var(--thepexcel-space-sm) 0 0 0;
}
.footer-columns li {
margin-bottom: var(--thepexcel-space-xs);
}
.footer-columns li a {
color: rgba(255, 255, 255, 0.85);
}
.footer-columns li a:hover {
color: var(--thepexcel-color-accent);
}
footer a,
.site-footer a {
color: var(--thepexcel-color-accent);
text-decoration: none;
font-weight: 600;
}
footer a:hover,
.site-footer a:hover {
color: var(--thepexcel-color-bg);
text-decoration: underline;
}
footer h3,
footer h4,
.site-footer h3,
.site-footer h4 {
border: none;
margin-top: 0;
color: var(--thepexcel-color-bg);
}
.footer-content {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-xl);
padding: var(--thepexcel-space-xl) var(--thepexcel-card-padding);
}
.footer-column {
flex: 1;
min-width: 250px;
} main,
.wp-site-blocks {
min-height: 60vh;
}
:where(main, .wp-site-blocks, .entry-content, .wp-block-post-content):not(.alignfull):not(.alignwide) {
width: min(95%, 1280px);
margin-left: auto;
margin-right: auto;
}
.entry-content,
.wp-block-post-content {
margin: 2rem 0;
}
.entry-content > *,
.wp-block-post-content > * {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.entry-content > :first-child,
.wp-block-post-content > :first-child {
margin-top: 0;
} .wp-block-post,
.post-card,
article {
background-color: var(--thepexcel-color-bg);
border-radius: var(--thepexcel-radius-card);
overflow: hidden;
}
.wp-block-post-featured-image,
.featured-image {
overflow: hidden;
margin: 0 0 1rem 0;
aspect-ratio: 16 / 9;
height: auto !important;
border-radius: var(--thepexcel-radius-card);
} .wp-block-post .wp-block-post-title,
.wp-block-post .wp-block-post-excerpt,
.wp-block-post .wp-block-post-date,
.wp-block-post .wp-block-post-terms,
.wp-block-post .wp-block-group:not(:first-child),
.post-card > *:not(.featured-image),
article > *:not(.wp-block-post-featured-image):not(.featured-image) {
padding-left: var(--thepexcel-card-padding) !important;
padding-right: var(--thepexcel-card-padding) !important;
} .wp-block-post .wp-block-group:last-child,
.post-card > *:last-child,
article > *:last-child {
padding-bottom: var(--thepexcel-card-padding) !important;
}
.wp-block-post-featured-image img,
.featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
display: block;
}
.wp-block-post:hover .wp-block-post-featured-image img,
.post-card:hover .featured-image img,
article:hover .wp-block-post-featured-image img,
article:hover .featured-image img {
transform: scale(1.05);
} .wp-block-query .wp-block-post,
.wp-block-post-template .wp-block-post {
border: 1px solid var(--thepexcel-dark-08);
box-shadow: var(--thepexcel-shadow-card);
background-color: var(--thepexcel-color-bg);
transition: background-color 0.3s ease, border-color 0.3s ease;
}
.wp-block-query .wp-block-post:hover,
.wp-block-post-template .wp-block-post:hover {
border-color: var(--thepexcel-color-accent);
background-color: var(--thepexcel-color-surface-alt);
}
.post-title,
.wp-block-post-title {
font-size: 1.75rem;
font-weight: 700;
margin: 1rem 0;
color: var(--thepexcel-color-text);
display: block !important;
visibility: visible !important;
opacity: 1 !important;
line-height: 1.3;
letter-spacing: -0.01em;
} .wp-block-query .wp-block-post-title {
font-size: 1.5rem;
font-weight: 600;
margin: 1.5rem 0 0.75rem 0;
}
.post-meta,
.wp-block-post-meta {
font-size: 0.875rem;
color: var(--thepexcel-color-muted-text);
margin-bottom: 1rem;
font-weight: 500;
}
.post-excerpt,
.wp-block-post-excerpt {
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 1.5rem;
color: var(--thepexcel-color-muted-text);
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.post-meta-card {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
gap: var(--thepexcel-space-xl);
background-color: var(--thepexcel-color-border) !important;
padding: var(--thepexcel-card-padding) !important;
border-radius: var(--thepexcel-radius-card);
border-left: 4px solid var(--thepexcel-color-accent);
margin: var(--thepexcel-space-xl) auto !important;
max-width: 1200px;
width: 100%;
box-sizing: border-box;
}
.single .single-post-wrapper .post-meta-card {
max-width: min(1200px, calc(100% - 4rem)) !important;
width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
}
.post-meta-card .meta-left {
display: flex;
flex: 0 0 auto;
flex-direction: row;
align-items: center;
flex-wrap: wrap;
gap: 1.25rem !important;
column-gap: 1.25rem !important;
row-gap: 0.75rem !important;
} .post-meta-card .wp-block-post-author {
display: flex;
align-items: center;
gap: 0.5rem;
}
.post-meta-card .wp-block-post-date::before {
content: "📅 ";
margin-right: 0.25rem;
opacity: 0.7;
}
.post-meta-card .wp-block-post-author__name a {
color: var(--thepexcel-color-text);
text-decoration: none;
font-weight: 600;
transition: color 0.2s ease;
}
.post-meta-card .wp-block-post-author__name a:hover {
color: var(--thepexcel-color-link);
text-decoration: underline;
}
.post-meta-card h4 {
font-size: 0.875rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--thepexcel-color-muted);
margin: 0 !important;
}
.post-meta-card a {
color: var(--thepexcel-color-link);
text-decoration: none;
transition: color 0.2s ease;
}
.post-meta-card a:hover {
color: var(--thepexcel-color-link-active);
text-decoration: underline;
}
.post-meta-card .wp-block-post-terms a {
display: inline-flex;
align-items: center;
gap: 0.3rem;
}
.post-meta-card .wp-block-post-terms a::before {
font-size: 0.95rem;
opacity: 0.8;
}
.post-meta-card .taxonomy-category a::before {
content: "📂";
}
.post-meta-card .taxonomy-post_tag a::before {
content: "\f323";
font-family: "dashicons";
font-size: 1rem;
font-weight: 400;
font-style: normal;
line-height: 1;
color: var(--thepexcel-color-tag-icon);
opacity: 1;
}
.post-meta-card .wp-block-group:not(.meta-left):not(.meta-right),
.post-meta-card .wp-block-post-author,
.post-meta-card .wp-block-post-date,
.post-meta-card .wp-block-post-terms,
.post-meta-card .wp-block-post-author__avatar,
.post-meta-card .wp-block-post-author__content,
.post-meta-card .wp-block-post-author__content p,
.post-meta-card .wp-block-group.is-layout-flow,
.post-meta-card .wp-block-group.is-layout-flex {
margin: 0;
padding: 0;
gap: 0;
} .wp-block-columns {
display: grid;
gap: var(--thepexcel-space-xl);
margin: var(--thepexcel-space-xl) 0;
}
.wp-block-column {
min-width: 0;
}
.wp-block-columns.is-layout-flex {
display: flex;
gap: var(--thepexcel-space-xl);
}
@media (min-width: 768px) {
.wp-block-columns.has-2-columns {
grid-template-columns: 1fr 1fr;
}
.wp-block-columns.has-3-columns {
grid-template-columns: 1fr 1fr 1fr;
}
.wp-block-columns.has-4-columns {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
} .wp-block-group {
margin: var(--thepexcel-space-xl) 0;
}
.wp-block-group.has-background {
padding: var(--thepexcel-space-xl);
border-radius: var(--thepexcel-radius-card);
}
.wp-block-group.alignfull {
width: 100vw;
margin-left: calc(-50vw + 50%);
}
.hero-intro {
text-align: center;
background-color: var(--thepexcel-color-bg);
border-bottom: 1px solid rgba(17, 17, 17, 0.06);
box-shadow: 0 30px 55px rgba(17, 17, 17, 0.04);
border-radius: 0 0 40px 40px;
} .wp-block-search,
.search-form {
display: flex;
gap: var(--thepexcel-space-xs);
margin-bottom: var(--thepexcel-space-xl);
}
.wp-block-search__input,
.search-input {
flex: 1;
padding: var(--thepexcel-space-sm);
border: 1px solid var(--thepexcel-color-border);
border-radius: 3.125rem;
font-family: inherit;
font-size: 1rem;
}
.wp-block-search__input:focus,
.search-input:focus {
border-color: var(--thepexcel-color-link);
}
.wp-block-search__button,
.search-button {
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border: none;
border-radius: 3.125rem;
padding: 0.75rem 1.5rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.wp-block-search__button:hover,
.search-button:hover {
background-color: var(--thepexcel-color-accent-dark);
}
.hero-search,
.wp-block-search.is-style-hero-search {
max-width: 900px;
margin: 1.5rem auto 0 auto;
}
.hero-search .wp-block-search__label,
.wp-block-search.is-style-hero-search .wp-block-search__label {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
white-space: nowrap;
}
.hero-search .wp-block-search__inside-wrapper,
.wp-block-search.is-style-hero-search .wp-block-search__inside-wrapper {
border-radius: 99px;
border: 2px solid rgba(241, 196, 15, 0.45);
padding: 0.35rem 0.35rem 0.35rem 3.25rem;
position: relative;
background-color: var(--thepexcel-color-bg);
box-shadow: 0 12px 28px var(--thepexcel-dark-08);
}
.hero-search .wp-block-search__inside-wrapper::before,
.wp-block-search.is-style-hero-search .wp-block-search__inside-wrapper::before {
content: "🔍";
position: absolute;
left: 1.35rem;
top: 50%;
transform: translateY(-50%);
font-size: 1.25rem;
opacity: 0.75;
}
.hero-search .wp-block-search__input,
.wp-block-search.is-style-hero-search .wp-block-search__input {
border-radius: 99px;
border: none;
padding: 0.95rem 1.25rem;
font-size: 1.1rem;
background: transparent;
}
.hero-search .wp-block-search__input::placeholder,
.wp-block-search.is-style-hero-search .wp-block-search__input::placeholder {
color: var(--thepexcel-color-placeholder);
}
.hero-search .wp-block-search__button,
.wp-block-search.is-style-hero-search .wp-block-search__button {
border-radius: 99px;
font-size: 1rem;
padding: 0.95rem 2.5rem;
} .wp-block-social-links {
justify-content: center;
--thepexcel-social-size: 44px;
gap: 0.5rem;
}
.wp-block-social-links .wp-social-link {
width: var(--thepexcel-social-size);
height: var(--thepexcel-social-size);
}
.wp-block-social-links .wp-block-social-link-anchor {
width: 100%;
height: 100%;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background-color: var(--thepexcel-accent-15);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.wp-block-social-links .wp-block-social-link-anchor svg {
width: 22px;
height: 22px;
fill: currentColor;
}
.wp-block-social-links .wp-block-social-link-anchor:hover {
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(17, 17, 17, 0.15);
} .wp-block-query-pagination,
.pagination {
display: flex;
justify-content: center;
gap: var(--thepexcel-space-xs);
margin: var(--thepexcel-space-xl) 0;
flex-wrap: wrap;
}
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers,
.pagination a,
.pagination .page-numbers {
padding: var(--thepexcel-space-xs) calc(var(--thepexcel-space-sm) + 0.25rem);
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-sm);
color: var(--thepexcel-color-text);
text-decoration: none;
transition: background-color var(--thepexcel-transition-base), border-color var(--thepexcel-transition-base), color var(--thepexcel-transition-base);
display: inline-block;
}
.wp-block-query-pagination a:hover,
.pagination a:hover {
background-color: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
}
.wp-block-query-pagination .page-numbers.current,
.pagination .page-numbers.current {
background-color: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
font-weight: 700;
} hr,
.wp-block-separator {
border: none;
border-top: 2px solid rgba(17, 17, 17, 0.15);
margin: var(--thepexcel-space-xl) auto;
width: min(320px, 80%);
height: 0;
} .text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--thepexcel-space-xs); }
.mt-2 { margin-top: var(--thepexcel-space-sm); }
.mt-3 { margin-top: var(--thepexcel-space-md); }
.mt-4 { margin-top: var(--thepexcel-space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--thepexcel-space-xs); }
.mb-2 { margin-bottom: var(--thepexcel-space-sm); }
.mb-3 { margin-bottom: var(--thepexcel-space-md); }
.mb-4 { margin-bottom: var(--thepexcel-space-xl); }
.pt-2 { padding-top: var(--thepexcel-space-sm); }
.pb-2 { padding-bottom: var(--thepexcel-space-sm); }
.px-2 { padding-left: var(--thepexcel-space-sm); padding-right: var(--thepexcel-space-sm); }
.py-2 { padding-top: var(--thepexcel-space-sm); padding-bottom: var(--thepexcel-space-sm); } :where(
a,
button,
input,
textarea,
select,
.wp-block-button__link,
[role="button"]
):focus-visible {
outline: 2px solid var(--thepexcel-color-link);
outline-offset: 3px;
box-shadow: var(--thepexcel-focus-shadow);
}
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: var(--thepexcel-color-link);
color: var(--thepexcel-color-bg);
padding: var(--thepexcel-space-sm) var(--thepexcel-card-padding);
text-decoration: none;
z-index: 100;
font-weight: 600;
border-radius: var(--thepexcel-radius-sm);
}
.skip-link:focus {
top: 0;
}
.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.screen-reader-text:focus {
clip: auto;
width: auto;
height: auto;
margin: 0;
padding: 0.5rem;
background: var(--thepexcel-color-link);
color: var(--thepexcel-color-bg);
z-index: 1000;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
} @media (max-width: 768px) { :where(main, .wp-site-blocks, .entry-content, .wp-block-post-content):not(.alignfull):not(.alignwide) {
width: 100%;
padding-left: 0.25rem;
padding-right: 0.25rem;
box-sizing: border-box;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.5rem;
} .site-header,
header.wp-block-group {
flex-direction: row !important;
justify-content: space-between !important;
gap: 1rem !important;
flex-wrap: nowrap !important;
} .wp-block-site-title {
display: none !important;
} .wp-block-site-logo {
flex-shrink: 0;
}
.wp-block-site-logo img {
width: 50px !important;
height: 50px !important;
} .wp-block-navigation {
order: 2;
flex-grow: 0;
flex-shrink: 0;
} .wp-block-navigation__responsive-container-open {
display: flex !important;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
padding: 8px;
position: relative;
} .wp-block-navigation__responsive-container-open svg {
display: none !important;
} .wp-block-navigation__responsive-container-open::before {
content: "";
position: absolute;
width: 24px;
height: 2px;
background-color: var(--thepexcel-color-text);
box-shadow:
0 -7px 0 0 var(--thepexcel-color-text),
0 7px 0 0 var(--thepexcel-color-text);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} body header form[role="search"] .wp-block-search__button,
.hero-search .wp-block-search__button,
.wp-block-search.is-style-hero-search .wp-block-search__button {
min-width: unset !important;
padding: 0 !important;
border-radius: 50% !important;
background: var(--thepexcel-color-accent) !important;
position: relative !important;
overflow: hidden !important;
text-indent: -9999px !important;
}
body header form[role="search"] .wp-block-search__button::before,
.hero-search .wp-block-search__button::before,
.wp-block-search.is-style-hero-search .wp-block-search__button::before {
content: "🔍" !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
text-indent: 0 !important;
display: block !important;
} body header form[role="search"] .wp-block-search__button {
width: 40px !important;
height: 40px !important;
}
body header form[role="search"] .wp-block-search__button::before {
font-size: 20px !important;
}
.hero-search .wp-block-search__button,
.wp-block-search.is-style-hero-search .wp-block-search__button {
width: 50px !important;
height: 50px !important;
}
.hero-search .wp-block-search__button::before,
.wp-block-search.is-style-hero-search .wp-block-search__button::before {
font-size: 22px !important;
}
.wp-block-columns {
grid-template-columns: 1fr;
} .post-meta-card {
flex-direction: column !important;
gap: 1rem !important;
align-items: flex-start !important;
}
.post-meta-card .meta-left,
.post-meta-card .meta-right {
width: 100%;
}
.post-meta-card .meta-right {
text-align: left;
border-top: 1px solid var(--thepexcel-color-border-muted);
padding-top: 1rem;
}
.footer-content {
flex-direction: column;
gap: 1.5rem;
}
table {
font-size: 0.875rem;
}
th,
td {
padding: 0.5rem;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.25rem;
}
h3 {
font-size: 1.125rem;
}
body {
font-size: 0.95rem;
}
button,
.wp-block-button__link {
width: 100%;
padding: 12px 16px;
}
input,
textarea,
select {
font-size: 16px;
}
} .single-post-wrapper {
width: min(95%, 1280px);
margin-left: auto !important;
margin-right: auto !important;
padding-left: 1rem !important;
padding-right: 1rem !important;
}
.single-post-layout {
display: grid !important;
grid-template-columns: minmax(240px, 320px) 1fr !important;
grid-template-rows: min-content auto;
column-gap: 2rem !important;
row-gap: var(--thepexcel-space-xl);
margin-top: 2rem;
width: 100%;
align-items: start;
grid-auto-flow: row;
}
.single-post-side-column {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-xl);
grid-column: 1;
grid-row: 1 / span 2;
}
.single-post-layout > .single-post-toc-sidebar {
grid-column: 1;
grid-row: 1;
align-self: start;
}
.single-post-layout > .single-post-right-sidebar {
grid-column: 1;
grid-row: 2;
align-self: start;
margin-top: var(--thepexcel-space-xl);
}
.single-post-wrapper .alignfull {
max-width: 100% !important;
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
.single-post-layout .wp-block-post-content {
min-width: 0;
overflow-x: hidden;
}
.single-post-layout .wp-block-post-content img,
.single-post-layout .wp-block-post-content figure {
max-width: 100%;
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.single-post-content-wrapper .wp-block-post-content img {
max-height: 400px;
width: 100%;
height: auto;
object-fit: contain;
display: block;
margin-left: auto;
margin-right: auto;
}
.single-post-toc-sidebar {
position: static;
max-height: none;
overflow: visible;
padding: 1.5rem;
background-color: var(--thepexcel-color-panel);
border-radius: var(--thepexcel-radius-card);
border-left: 4px solid var(--thepexcel-color-accent);
font-size: 0.95rem;
line-height: 1.6;
min-height: 200px;
}
.single-post-content-wrapper {
min-width: 0;
overflow: hidden;
width: 100%;
grid-column: 2;
grid-row: 1 / span 2;
}
.single .single-post-wrapper .is-layout-constrained,
.single .single-post-wrapper .wp-block-group {
max-width: 100% !important;
width: 100% !important;
}
.single-post-content-wrapper .wp-block-post-content,
.single-post-content-wrapper .wp-block-post-content.is-layout-constrained,
.single-post-content-wrapper .entry-content,
.single-post-content-wrapper .entry-content.is-layout-constrained {
max-width: 100% !important;
width: 100% !important;
}
.single-post-right-sidebar {
position: static;
max-height: none;
overflow: visible;
}
.toc-container {
width: 100%;
}
.toc-container ul,
.toc-container ol {
list-style: none;
padding: 0;
margin: 0;
}
.toc-container li {
margin: 0.5rem 0;
}
.toc-container .toc-h3 {
margin-left: 1rem;
font-size: 0.95rem;
}
.toc-container a {
color: var(--thepexcel-color-link);
text-decoration: none;
transition: color 0.2s ease;
}
.toc-container a:hover {
color: var(--thepexcel-color-accent);
text-decoration: underline;
}
.toc-container ul ul,
.toc-container ol ol {
margin-left: 1.5rem;
margin-top: 0.25rem;
}
#ez-toc-container {
margin: 0;
padding: 0;
background-color: transparent;
border: none;
}
#ez-toc-container .ez-toc-title {
font-size: 1rem;
font-weight: 600;
color: var(--thepexcel-color-text);
margin: 0 0 1rem 0;
padding: 0;
border: none;
cursor: default !important;
}
#ez-toc-container ul,
#ez-toc-container ol {
list-style: none;
padding: 0;
margin: 0;
}
#ez-toc-container li {
margin: 0.5rem 0;
padding: var(--thepexcel-space-xs) 0;
border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}
#ez-toc-container li:last-child {
border-bottom: none;
}
#ez-toc-container li ul li {
border-bottom: none;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
#ez-toc-container a {
color: var(--thepexcel-color-link);
text-decoration: none;
font-size: 0.95rem;
transition: color 0.2s ease;
}
#ez-toc-container a:hover {
color: var(--thepexcel-color-accent);
text-decoration: underline;
}
#ez-toc-container ul ul,
#ez-toc-container ol ol {
margin-left: 1.5rem;
margin-top: 0.25rem;
}
#ez-toc-container .ez-toc-cssicon-toggle-label {
display: none;
}
#ez-toc-container input[type="checkbox"] {
display: none;
} @media (max-width: 768px) {
.single-post-wrapper {
width: 100% !important;
padding-left: 0.25rem !important;
padding-right: 0.25rem !important;
box-sizing: border-box !important;
}
.single-post-wrapper .wp-block-post-title {
font-size: 1.75rem !important;
line-height: 1.3 !important;
margin-bottom: var(--thepexcel-space-lg) !important;
}
.single-post-wrapper .wp-block-post-featured-image {
margin-bottom: var(--thepexcel-space-lg) !important;
border-radius: 6px !important;
}
.post-meta-card {
flex-direction: column;
gap: var(--thepexcel-space-lg);
padding: var(--thepexcel-space-lg);
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
.post-meta-card .meta-left {
flex-direction: column;
align-items: flex-start;
width: 100%;
gap: var(--thepexcel-space-md);
} .single-post-wrapper .wp-block-post-content,
.single-post-wrapper .entry-content,
.single-post-wrapper .is-layout-constrained {
max-width: 100% !important;
width: 100% !important;
overflow-x: hidden !important;
} .single-post-wrapper img,
.single-post-wrapper .wp-block-post-content img {
max-width: 100% !important;
height: auto !important;
}
.single-post-wrapper table,
.single-post-wrapper .wp-block-post-content table {
width: 100% !important;
font-size: 0.85rem !important;
overflow-x: auto !important;
display: block !important;
}
.single-post-wrapper table td,
.single-post-wrapper table th {
padding: 0.5rem !important;
}
.single-post-layout {
display: grid !important;
grid-template-columns: 1fr !important;
grid-template-rows: auto auto auto !important;
gap: 1.5rem;
width: 100%;
}
.single-post-side-column {
display: contents !important;
}
.single-post-toc-sidebar {
grid-column: 1 !important;
grid-row: 1 !important;
position: static;
max-height: none;
width: 100%;
}
.single-post-content-wrapper {
grid-column: 1 !important;
grid-row: 2 !important;
width: 100%;
}
.single-post-right-sidebar {
grid-column: 1 !important;
grid-row: 3 !important;
position: static;
width: 100%;
} .function-explainer-page {
padding-left: 0 !important;
padding-right: 0 !important;
} body.single-function-explainer main,
body.single-function-explainer .wp-site-blocks,
body.single-function-explainer .entry-content,
body.single-function-explainer .wp-block-post-content {
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
body.single-function-explainer .wp-block-group.alignfull {
width: 100% !important;
margin-left: 0 !important;
}
.function-explainer-layout {
grid-template-columns: 1fr; max-width: 100%; margin-left: 0; margin-right: 0; gap: var(--thepexcel-space-lg); }
.function-explainer-layout-main {
grid-column: auto; order: 1; }
.function-explainer-sidebar {
grid-column: auto; grid-row: auto; position: static; max-height: none; overflow-y: visible; padding-right: 0; order: 2; }
.function-explainer-main-card {
padding-left: 0 !important;
padding-right: 0 !important;
margin-top: 0; border-radius: 0; }
.function-explainer-shell {
padding: 0 !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
background: transparent;
}
.function-explainer-hero {
border-radius: 0; padding: clamp(1.5rem, 4vw, 2rem); }
} body.single-function-explainer {
background: #ffffff;
}
.function-explainer-page {
position: relative;
isolation: isolate;
animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulseGlow {
0%, 100% {
opacity: 0.6;
}
50% {
opacity: 0.4;
}
}
.function-explainer-layout {
display: grid;
gap: clamp(1.5rem, 3vw, 3rem);
grid-template-columns: minmax(200px, 240px) minmax(0, 2fr); align-items: start;
max-width: 1400px; margin-left: auto; margin-right: auto; }
.function-explainer-layout-main {
min-width: 0;
grid-column: 2;
}
.function-explainer-sidebar {
min-width: 0;
grid-column: 1;
grid-row: 1;
position: sticky;
top: 90px;
max-height: calc(100vh - 110px);
overflow-y: auto;
padding-right: 0.5rem;
}
.function-explainer-sidebar::-webkit-scrollbar {
width: 6px;
}
.function-explainer-sidebar::-webkit-scrollbar-track {
background: rgba(241, 196, 15, 0.05);
border-radius: 3px;
}
.function-explainer-sidebar::-webkit-scrollbar-thumb {
background: var(--thepexcel-accent-30);
border-radius: 3px;
transition: background 0.3s ease;
}
.function-explainer-sidebar::-webkit-scrollbar-thumb:hover {
background: var(--thepexcel-accent-50);
}
.function-explainer-aside-description {
color: var(--thepexcel-color-muted-text);
margin: 0;
}
.function-explainer-main-card {
margin-top: -40px;
z-index: 1;
}
.function-explainer-hero {
background: #ffffff;
border-radius: 32px;
box-shadow:
0 20px 60px var(--thepexcel-accent-30),
0 8px 20px var(--thepexcel-accent-15);
margin-top: var(--thepexcel-space-xl);
padding: clamp(2rem, 4vw, 4rem);
position: relative;
overflow: hidden;
border: 2px solid var(--thepexcel-accent-20);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.function-explainer-hero:hover {
transform: translateY(-4px);
box-shadow:
0 25px 70px var(--thepexcel-accent-40),
0 10px 25px var(--thepexcel-accent-20);
}
.function-explainer-verified-badge {
position: absolute;
top: 1.5rem;
right: 1.5rem;
width: 48px;
height: 48px;
background: linear-gradient(135deg, #4CAF50, #45a049);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
animation: slideInBadge 0.3s ease-out;
z-index: 10;
}
@keyframes slideInBadge {
from {
opacity: 0;
transform: scale(0.8) translateY(-10px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.function-explainer-verified-badge svg {
width: 28px;
height: 28px;
stroke-width: 3;
}
.function-explainer-hero-text {
position: relative;
z-index: 1;
}
.function-explainer-hero-text h1 {
margin: 0 0 var(--thepexcel-space-sm) 0;
letter-spacing: -0.02em;
}
.function-explainer-one-line {
font-size: 1.25rem;
color: var(--thepexcel-color-muted-text);
margin-bottom: var(--thepexcel-space-md);
}
.function-explainer-summary p {
font-size: 1.1rem;
}
.function-explainer-hero-media {
margin-top: var(--thepexcel-space-xl);
width: 100%;
}
.function-explainer-hero-media img {
width: 100%;
border-radius: 16px;
box-shadow: 0 8px 24px var(--thepexcel-dark-10);
object-fit: cover;
}
.function-explainer-pill-list {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-sm);
list-style: none;
padding: 0;
margin: 0 0 var(--thepexcel-space-sm) 0;
} .function-explainer-pill-list span,
.function-explainer-pill-list a,
.function-explainer-pill-list .function-explainer-version-badge {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.35rem;
padding: 0.4rem 1rem;
border-radius: 50px;
font-weight: 600;
font-size: 0.95rem;
line-height: 1;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} .function-explainer-pill-list span,
.function-explainer-pill-list a {
background: linear-gradient(135deg, var(--thepexcel-accent-15), var(--thepexcel-accent-08));
color: var(--thepexcel-color-link-active);
border: 1px solid var(--thepexcel-accent-25);
box-shadow: 0 2px 4px var(--thepexcel-accent-10);
}
.function-explainer-pill-list a:hover {
background: linear-gradient(135deg, var(--thepexcel-accent-25), var(--thepexcel-accent-15));
box-shadow: 0 2px 6px var(--thepexcel-accent-20);
border-color: var(--thepexcel-accent-40);
}
.function-explainer-pill-list.is-small a {
font-size: 0.85rem;
padding: 0.3rem 0.75rem;
}
.function-explainer-platform-badges {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-xs);
margin-bottom: var(--thepexcel-space-sm);
}
.function-explainer-platform-badges span {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border: 1px solid var(--thepexcel-dark-08);
padding: 0.2rem 0.75rem;
border-radius: 999px;
}
.function-explainer-hero-syntax {
margin: var(--thepexcel-space-lg) 0;
}
.function-explainer-hero-meta {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-md);
color: var(--thepexcel-color-muted);
font-size: 0.95rem;
margin-top: var(--thepexcel-space-md);
} .function-explainer-pill-list .function-explainer-version-badge {
background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(39, 174, 96, 0.1));
color: #27ae60;
border: 1px solid rgba(46, 204, 113, 0.25);
box-shadow: 0 2px 4px rgba(46, 204, 113, 0.1);
}
.function-explainer-pill-list .function-explainer-version-badge:hover {
background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(39, 174, 96, 0.15));
box-shadow: 0 2px 6px rgba(46, 204, 113, 0.2);
border-color: rgba(46, 204, 113, 0.4);
}
.function-explainer-version-notes,
.function-explainer-summary,
.function-explainer-note-card {
color: var(--thepexcel-color-muted-text);
}
.function-explainer-behaviors {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-xs);
margin-top: var(--thepexcel-space-md);
}
.function-explainer-behaviors span {
background-color: var(--thepexcel-dark-05);
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.04em;
} .function-explainer-scores {
margin: var(--thepexcel-space-lg) 0;
padding: var(--thepexcel-space-md);
background: linear-gradient(135deg, var(--thepexcel-accent-08), rgba(241, 196, 15, 0.03));
border: 1px solid var(--thepexcel-accent-12);
border-radius: var(--thepexcel-radius-lg);
}
.scores-title {
font-size: 0.95rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--thepexcel-color-text);
margin: 0 0 var(--thepexcel-space-sm) 0;
}
.scores-chip-row,
.function-card-scores {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-sm);
align-items: center;
}
.score-chip {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 0.8rem;
border-radius: 999px;
background-color: rgba(0, 0, 0, 0.04);
color: var(--thepexcel-color-text);
font-weight: 600;
font-size: 0.9rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.score-chip .chip-dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: #999;
box-shadow: 0 0 0 4px var(--thepexcel-dark-05);
}
.score-chip .chip-label {
text-transform: uppercase;
letter-spacing: 0.03em;
font-size: 0.8rem;
color: var(--thepexcel-color-muted-text);
}
.score-chip .chip-value {
font-weight: 700;
font-size: 0.95rem;
} .score-popularity .chip-dot {
background-color: #2196F3;
box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.15);
}
.score-difficulty .chip-dot {
background-color: #FF9800;
box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
}
.score-usefulness .chip-dot {
background-color: #4CAF50;
box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}
.function-explainer-shell {
background: #ffffff;
border-radius: 32px;
box-shadow: var(--thepexcel-shadow-card);
position: relative;
padding: clamp(1.5rem, 3vw, 3rem);
border: 1px solid rgba(17, 17, 17, 0.05);
overflow: hidden;
z-index: 0;
}
.function-explainer-shell::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
background: linear-gradient(135deg, rgba(241, 196, 15, 0.04), transparent 65%);
pointer-events: none;
z-index: -1;
}
.function-explainer-section {
padding-bottom: var(--thepexcel-space-2xl);
border-bottom: 1px solid var(--thepexcel-color-border-muted);
margin-bottom: var(--thepexcel-space-2xl);
scroll-margin-top: 120px;
}
.function-explainer-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.function-explainer-section-heading h2 {
margin-bottom: var(--thepexcel-space-lg);
display: inline-flex;
align-items: center;
gap: var(--thepexcel-space-md);
position: relative;
font-size: 2rem;
color: var(--thepexcel-color-text);
padding-left: 1rem;
}
.function-explainer-section-accordion {
margin: 0;
border-radius: 16px;
}
.function-explainer-section-heading--summary {
display: flex;
align-items: baseline;
gap: var(--thepexcel-space-md);
cursor: pointer;
list-style: none;
user-select: none;
}
.function-explainer-section-heading--summary::-webkit-details-marker {
display: none;
}
.function-explainer-section-heading--summary h2 {
margin-bottom: 0;
}
.function-explainer-section-heading-excerpt {
flex: 1 1 auto;
font-size: 0.95rem;
color: var(--thepexcel-color-muted-text);
max-width: 58ch;
}
.function-explainer-section-heading--summary::after {
content: '▾';
flex: 0 0 auto;
margin-left: auto;
font-size: 1.15rem;
line-height: 1;
color: var(--thepexcel-color-muted);
transition: transform 0.2s ease, color 0.2s ease;
}
.function-explainer-section-accordion[open] > .function-explainer-section-heading--summary::after {
transform: rotate(180deg);
color: var(--thepexcel-color-text);
}
.function-explainer-section-heading--summary:focus-visible {
outline: 3px solid var(--thepexcel-accent-35);
outline-offset: 4px;
border-radius: 16px;
}
.function-explainer-section-body {
padding-top: var(--thepexcel-space-lg);
}
.function-explainer-usage .function-explainer-scenario-grid,
.function-explainer-usage .function-explainer-note-grid {
margin-top: var(--thepexcel-space-lg);
gap: var(--thepexcel-space-lg);
}
.function-explainer-usage :where(.function-explainer-scenario-card, .function-explainer-note-card) {
padding: var(--thepexcel-space-lg);
}
.function-explainer-section-heading h2::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 80%;
border-radius: 999px;
background: linear-gradient(180deg, var(--thepexcel-color-accent), var(--thepexcel-color-accent-dark));
box-shadow: 0 2px 8px var(--thepexcel-accent-30);
}
.function-explainer-section-heading h2::after {
content: '';
position: absolute;
bottom: -0.5rem;
left: 1rem;
right: 0;
height: 2px;
background: linear-gradient(90deg, var(--thepexcel-accent-30), transparent);
} .function-argument-token {
display: inline;
border-bottom: 1px dashed rgba(241, 196, 15, 0.65);
border-radius: 0.4rem;
padding: 0 0.1rem;
margin: 0 0.05rem;
cursor: help;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.function-argument-token:hover {
background: var(--thepexcel-accent-15);
color: var(--thepexcel-color-text);
border-color: rgba(241, 196, 15, 0.9);
}
.function-argument-tooltip {
position: fixed;
z-index: 9999;
max-width: 280px;
padding: 0.65rem 0.85rem;
border-radius: 12px;
background: rgba(7, 7, 7, 0.95);
color: #ffffff;
font-size: 0.85rem;
line-height: 1.3;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
pointer-events: none;
opacity: 0;
transform: translate3d(0, 8px, 0);
transition: opacity 0.15s ease, transform 0.15s ease;
}
.function-argument-tooltip.is-visible {
opacity: 1;
transform: translate3d(0, 0, 0);
}
.function-argument-tooltip strong {
display: block;
font-size: 0.9rem;
margin-bottom: 0.25rem;
color: var(--thepexcel-color-accent, #f1c40f);
}
.function-argument-tooltip span {
display: block;
font-size: 0.78rem;
color: rgba(255, 255, 255, 0.85);
}
.function-explainer-syntax-variants {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: var(--thepexcel-space-lg);
margin-top: var(--thepexcel-space-lg);
}
.function-explainer-syntax-variant {
background: var(--thepexcel-color-panel);
padding: var(--thepexcel-space-lg);
border-radius: 16px;
box-shadow: var(--thepexcel-shadow-soft);
border-left: 4px solid var(--thepexcel-accent-40);
}
.function-explainer-argument-table-wrapper {
margin-top: var(--thepexcel-space-xl);
overflow-x: auto;
}
.function-explainer-argument-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: 0.95rem;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
border: 1px solid var(--thepexcel-accent-15);
}
.function-explainer-argument-table th,
.function-explainer-argument-table td {
border-bottom: 1px solid var(--thepexcel-color-border-muted);
padding: 1rem 1.25rem;
text-align: left;
vertical-align: top;
}
.function-explainer-argument-table th {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #5a5a5a;
background: linear-gradient(135deg, var(--thepexcel-accent-12), var(--thepexcel-accent-08));
font-weight: 700;
position: sticky;
top: 0;
z-index: 10;
border-bottom: 2px solid var(--thepexcel-accent-30);
}
.function-explainer-argument-table tbody tr {
transition: all 0.3s ease;
}
.function-explainer-argument-table tbody tr:nth-child(even) {
background: rgba(241, 196, 15, 0.02);
}
.function-explainer-argument-table tbody tr:hover {
background: var(--thepexcel-accent-08);
transform: scale(1.01);
box-shadow: 0 2px 8px var(--thepexcel-accent-15);
} .function-explainer-argument-table tbody tr.arg-optional {
background: #f9f9f9;
}
.function-explainer-argument-table tbody tr.arg-optional:nth-child(even) {
background: #f5f5f5;
}
.function-explainer-argument-table tbody tr.arg-optional:hover {
background: #efefef;
}
.function-explainer-argument-table tbody tr.arg-optional .arg-name {
font-style: italic;
color: #888888;
font-weight: 600;
}
.function-explainer-argument-table td:first-child {
font-weight: 600;
color: var(--thepexcel-color-text);
font-family: 'Courier New', monospace;
}
.function-explainer-argument-table td:last-child {
font-size: 0.85rem;
color: var(--thepexcel-color-muted-text);
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
max-width: 400px;
}
.function-explainer-argument-table tbody tr:last-child td {
border-bottom: none;
}
.function-explainer-usage-overview {
font-size: 1.05rem;
color: var(--thepexcel-color-text);
} :where(.function-explainer-scenario-card,
.function-explainer-note-card,
.function-explainer-example-card,
.function-explainer-aside-card) {
--_fx-card-bg: var(--fx-card-bg, linear-gradient(135deg, #ffffff 0%, #fffef9 100%));
--_fx-card-border: var(--fx-card-border, var(--thepexcel-accent-12));
--_fx-card-shadow: var(--fx-card-shadow, var(--thepexcel-shadow-card));
background: var(--_fx-card-bg);
border: 2px solid var(--_fx-card-border);
border-radius: 20px;
padding: var(--thepexcel-space-xl);
box-shadow: var(--_fx-card-shadow);
transition: box-shadow var(--thepexcel-transition-base), transform var(--thepexcel-transition-base);
}
:where(.function-explainer-scenario-card,
.function-explainer-note-card,
.function-explainer-example-card,
.function-explainer-aside-card):hover {
box-shadow: var(--fx-card-shadow-hover, var(--thepexcel-shadow-lift));
}
.function-explainer-scenario-grid {
margin-top: var(--thepexcel-space-xl);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: var(--thepexcel-space-lg);
}
.function-explainer-scenario-card {
--fx-card-bg: linear-gradient(135deg, #fffffe 0%, #fffef5 100%);
--fx-card-border: var(--thepexcel-accent-15);
--fx-card-shadow: 0 4px 12px var(--thepexcel-accent-08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
--fx-card-shadow-hover: 0 6px 20px var(--thepexcel-accent-15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
border-radius: 18px;
position: relative;
overflow: hidden;
}
.function-explainer-scenario-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--thepexcel-color-accent), transparent);
}
.function-explainer-scenario-card:hover {
border-color: var(--thepexcel-accent-30);
transform: translateY(-4px);
}
.function-explainer-scenario-card h3,
.function-explainer-scenario-card h4 {
color: var(--thepexcel-color-text);
margin-bottom: var(--thepexcel-space-sm);
}
.function-explainer-note-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: var(--thepexcel-space-xl);
margin-top: var(--thepexcel-space-xl);
}
.function-explainer-note-card {
--fx-card-border: var(--thepexcel-dark-08);
--fx-card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
--fx-card-shadow-hover: 0 6px 20px var(--thepexcel-accent-12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
border-left: 4px solid var(--thepexcel-accent-50);
border-radius: 16px;
}
.function-explainer-note-card:hover {
border-left-color: var(--thepexcel-color-accent);
transform: translateX(4px);
}
.function-explainer-note-card h4 {
color: var(--thepexcel-color-text);
font-size: 1.1rem;
margin-bottom: var(--thepexcel-space-sm);
display: flex;
align-items: center;
gap: 0.5rem;
}
.function-explainer-note-card h4::before {
content: 'ℹ';
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.5rem;
height: 1.5rem;
background: linear-gradient(135deg, var(--thepexcel-accent-20), var(--thepexcel-accent-10));
border-radius: 50%;
font-size: 0.9rem;
font-weight: bold;
color: var(--thepexcel-color-accent-dark);
}
.function-explainer-example-grid {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-xl);
}
.function-explainer-example-card {
--fx-card-border: var(--thepexcel-accent-15);
--fx-card-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
--fx-card-shadow-hover: 0 12px 32px var(--thepexcel-accent-15), 0 4px 16px var(--thepexcel-dark-05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
background: linear-gradient(to bottom, #ffffff, #fafafa);
border: 1px solid var(--fx-card-border);
border-radius: 24px;
padding: 0;
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
position: relative;
overflow: hidden;
}
.function-explainer-example-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--thepexcel-color-accent), var(--thepexcel-color-accent-dark));
opacity: 0.8;
}
.function-explainer-example-card:hover {
transform: translateY(-6px);
box-shadow: var(--fx-card-shadow-hover);
border-color: var(--thepexcel-accent-40);
}
.example-header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: var(--thepexcel-space-lg) var(--thepexcel-space-xl) var(--thepexcel-space-md);
border-bottom: 1px solid rgba(0,0,0,0.03);
background: #ffffff;
cursor: pointer;
list-style: none;
user-select: none;
position: relative;
flex-wrap: wrap;
padding-right: calc(var(--thepexcel-space-xl) + 1.75rem);
}
.example-header::-webkit-details-marker {
display: none;
}
.example-header:focus-visible {
outline: 3px solid var(--thepexcel-accent-35);
outline-offset: 4px;
border-radius: 16px;
}
.example-header::after {
content: '▾';
font-size: 1.1rem;
line-height: 1;
color: var(--thepexcel-color-muted);
transition: transform 0.2s ease, color 0.2s ease;
position: absolute;
right: var(--thepexcel-space-xl);
top: 50%;
transform: translateY(-50%);
}
.function-explainer-example-card[open] .example-header::after {
transform: translateY(-50%) rotate(180deg);
color: var(--thepexcel-color-text);
}
.example-title {
font-size: 1.25rem;
margin: 0;
position: relative;
padding-left: 2rem;
color: var(--thepexcel-color-text);
flex: 1 1 auto;
}
.example-title::before {
content: '✓';
position: absolute;
left: 0;
top: 0.1em;
width: 1.4rem;
height: 1.4rem;
background: linear-gradient(135deg, var(--thepexcel-accent-20), var(--thepexcel-accent-10));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
color: var(--thepexcel-color-accent-dark);
font-weight: bold;
}
.example-summary-formula {
flex: 1 1 100%;
display: block;
width: 100%;
margin-top: 0.4rem;
padding: 0.25rem 0.6rem;
border-radius: 10px;
border: 1px dashed rgba(17, 17, 17, 0.14);
background: rgba(17, 17, 17, 0.03);
color: var(--thepexcel-color-muted-text);
font-size: 0.78rem;
font-weight: 600;
line-height: 1.35;
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
}
.example-summary-formula code {
font-family: 'Courier New', monospace;
font-weight: 700;
color: inherit;
background: transparent;
padding: 0;
border: 0;
white-space: inherit;
}
.function-explainer-example-card[open] .example-summary-formula {
display: none;
}
.example-content {
padding: var(--thepexcel-space-xl);
}
.example-image {
margin: 0 0 var(--thepexcel-space-lg) 0;
border-radius: var(--thepexcel-radius-md);
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
border: 1px solid var(--thepexcel-dark-05);
}
.example-explanation {
margin-bottom: var(--thepexcel-space-lg);
color: var(--thepexcel-color-text);
font-size: 1rem;
}
.example-code-section {
background: #f8f9fa;
border: 1px solid var(--thepexcel-dark-05);
border-radius: 16px;
padding: var(--thepexcel-space-lg);
display: grid;
gap: var(--thepexcel-space-lg);
}
.example-block {
display: grid;
gap: 0.5rem;
}
.example-label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 700;
color: var(--thepexcel-color-muted);
}
.example-code-wrapper {
position: relative;
max-width: 100%;
min-width: 0;
}
.example-code-wrapper pre {
margin: 0;
background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%);
color: #f5f5f5;
border: 1px solid var(--thepexcel-accent-15);
border-left: 4px solid var(--thepexcel-color-accent);
border-radius: 12px;
padding: 1.5rem 3rem 1.5rem 1.5rem;
font-family: 'Courier New', 'Consolas', monospace;
font-size: 1.05rem;
font-weight: 500;
overflow-x: auto;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0,0,0,0.1);
white-space: pre-wrap;
word-break: break-word;
}
.example-code-wrapper pre code {
color: #4ec9b0; }
.function-explainer-syntax-code {
padding-right: 3rem !important; 
} .btn-copy-formula {
position: absolute;
top: 0.75rem;
right: 0.75rem;
width: 2rem;
height: 2rem;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
opacity: 0;
z-index: 10;
}
@media (hover: none) {
.btn-copy-formula {
opacity: 1;
}
}
.example-code-wrapper:hover .btn-copy-formula,
.function-explainer-syntax-code-wrapper:hover .btn-copy-formula {
opacity: 1;
}
.btn-copy-formula:hover {
background: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.btn-copy-formula svg {
width: 16px;
height: 16px;
pointer-events: none;
}
.btn-copy-formula.copied {
background: #2ecc71;
border-color: #2ecc71;
color: white;
box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
} .example-result-wrapper code {
display: block;
background: #1a202c;
border-left: 4px solid #2ecc71;
padding: 1rem 1.5rem;
border-radius: 8px;
color: #2ecc71;
font-weight: 600;
font-family: 'Courier New', monospace;
border: 1px solid rgba(255,255,255,0.1);
}
.function-explainer-syntax-code::after {
display: none;
}
.btn-copy-formula {
position: absolute;
top: 0.5rem;
right: 0.5rem;
width: 2rem;
height: 2rem;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.9);
color: var(--thepexcel-color-muted);
border: 1px solid rgba(0,0,0,0.1);
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
opacity: 0;
z-index: 10;
box-shadow: 0 2px 4px var(--thepexcel-dark-05);
}
@media (hover: none) {
.btn-copy-formula {
opacity: 1;
background: #f5f5f5;
}
}
.example-code-wrapper:hover .btn-copy-formula,
.function-explainer-syntax-code-wrapper:hover .btn-copy-formula {
opacity: 1;
}
.btn-copy-formula:hover {
background: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
transform: translateY(-2px);
box-shadow: 0 4px 8px var(--thepexcel-accent-30);
}
.btn-copy-formula svg {
width: 18px;
height: 18px;
pointer-events: none;
}
.btn-copy-formula.copied {
background: #2ecc71;
border-color: #27ae60;
color: white;
box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}
.example-result-wrapper code {
display: block;
background: linear-gradient(to right, rgba(46, 204, 113, 0.1), transparent);
border-left: 4px solid #2ecc71;
padding: 0.75rem 1rem;
border-radius: 4px;
color: #27ae60;
font-weight: 600;
font-family: 'Courier New', monospace;
} @media (max-width: 768px) {
.function-explainer-section-heading--summary {
flex-wrap: wrap;
}
.function-explainer-section-heading-excerpt {
max-width: 100%;
flex-basis: 100%;
order: 2;
}
.function-explainer-section-heading--summary::after {
order: 3;
}
.example-header {
padding: var(--thepexcel-space-md) var(--thepexcel-space-lg);
flex-wrap: wrap;
padding-right: calc(var(--thepexcel-space-lg) + 1.75rem);
}
.example-content {
padding: 0.9rem 0;
}
body.single-function-explainer .function-explainer-example-grid {
gap: 0;
}
body.single-function-explainer .function-explainer-example-card {
border: 0;
border-radius: 0;
box-shadow: none;
background: #ffffff;
}
body.single-function-explainer .function-explainer-example-card:hover {
transform: none;
}
body.single-function-explainer .function-explainer-example-card::before {
opacity: 0.45;
height: 3px;
}
body.single-function-explainer .example-header {
padding: 0.85rem 0 0.5rem;
padding-right: 2.5rem;
border-bottom: 0;
}
body.single-function-explainer .example-summary-formula {
margin-top: 0.35rem;
padding: 0.2rem 0.5rem;
}
.example-code-section {
padding: 0.75rem 0;
border-radius: 12px;
}
}
.function-explainer-faq-item {
border: 2px solid var(--thepexcel-dark-08);
border-radius: 16px;
padding: var(--thepexcel-space-md);
margin-bottom: var(--thepexcel-space-md);
background: linear-gradient(135deg, #fffffe 0%, #fffef8 100%);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.function-explainer-faq-item:hover {
border-color: var(--thepexcel-accent-30);
box-shadow: 0 4px 12px var(--thepexcel-accent-10);
}
.function-explainer-faq-item summary {
cursor: pointer;
font-weight: 600;
font-size: 1.05rem;
margin-bottom: 0;
padding: 0.5rem 0;
list-style: none;
position: relative;
padding-left: 2rem;
user-select: none;
}
.function-explainer-faq-item summary::before {
content: '?';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 1.5rem;
height: 1.5rem;
background: linear-gradient(135deg, var(--thepexcel-accent-20), var(--thepexcel-accent-10));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: var(--thepexcel-color-accent-dark);
font-size: 0.9rem;
transition: all 0.3s ease;
}
.function-explainer-faq-item summary::-webkit-details-marker {
display: none;
}
.function-explainer-faq-item summary::after {
content: '+';
position: absolute;
right: 0.5rem;
top: 50%;
transform: translateY(-50%);
font-size: 1.5rem;
font-weight: 300;
color: var(--thepexcel-color-muted);
transition: transform 0.3s ease, color 0.3s ease;
}
.function-explainer-faq-item[open] summary::after {
content: '−';
color: var(--thepexcel-color-accent-dark);
}
.function-explainer-faq-item[open] {
border-color: var(--thepexcel-accent-50);
box-shadow:
0 8px 24px var(--thepexcel-accent-15),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
background: linear-gradient(135deg, #ffffff 0%, #fffef5 100%);
}
.function-explainer-faq-item[open] summary::before {
background: linear-gradient(135deg, var(--thepexcel-color-accent), var(--thepexcel-color-accent-dark));
color: var(--thepexcel-color-text);
box-shadow: 0 2px 8px var(--thepexcel-accent-30);
}
.function-explainer-faq-item[open] summary {
margin-bottom: var(--thepexcel-space-sm);
padding-bottom: var(--thepexcel-space-sm);
border-bottom: 1px solid var(--thepexcel-accent-15);
}
.function-explainer-faq-item p {
margin-left: 2rem;
color: var(--thepexcel-color-muted-text);
line-height: 1.7;
}
.function-explainer-resource-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--thepexcel-space-xl);
}
.function-explainer-resource-list,
.function-explainer-related-list {
list-style: none;
padding: 0;
margin: 0;
}
.function-explainer-resource-list li,
.function-explainer-related-list li {
margin-bottom: var(--thepexcel-space-sm);
font-weight: 600;
position: relative;
padding-left: 1.25rem;
}
.function-explainer-resource-list li::before,
.function-explainer-related-list li::before {
content: '\2197';
position: absolute;
left: 0;
top: 0;
color: var(--thepexcel-color-accent);
}
.function-explainer-resource-list a {
color: var(--thepexcel-color-link);
text-decoration: none;
transition: color var(--thepexcel-transition-base);
}
.function-explainer-resource-list a:hover {
text-decoration: underline;
color: var(--thepexcel-color-link-active);
}
.function-explainer-resource-type {
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: 0.5rem;
padding: 0.15rem 0.65rem;
border-radius: 999px;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
background: var(--thepexcel-accent-12);
color: var(--thepexcel-color-muted-text);
}
.function-explainer-bottom-panels {
margin-top: var(--thepexcel-space-2xl);
}
.function-explainer-aside-card {
--fx-card-bg: linear-gradient(135deg, #fffffe 0%, #fffef8 100%);
--fx-card-border: var(--thepexcel-accent-12);
--fx-card-shadow: 0 4px 16px var(--thepexcel-accent-08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
--fx-card-shadow-hover: 0 6px 20px var(--thepexcel-accent-12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
flex: 1 1 320px;
width: 100%;
}
.function-explainer-aside-card:hover {
border-color: var(--thepexcel-accent-25);
transform: translateY(-2px);
}
.function-explainer-aside-card h4,
.function-explainer-aside-card h5 {
margin: 0 0 var(--thepexcel-space-sm) 0;
}
.function-explainer-latest .function-explainer-latest-item {
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--thepexcel-color-border-muted);
}
.function-explainer-latest .function-explainer-latest-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.function-explainer-latest .wp-block-post-title {
margin: 0 !important;
}
.function-explainer-latest .wp-block-post-title a {
color: var(--thepexcel-color-text);
text-decoration: none;
transition: color var(--thepexcel-transition-base);
}
.function-explainer-latest .wp-block-post-title a:hover {
color: var(--thepexcel-color-accent-dark);
}
.function-explainer-grid .wp-block-post-template {
gap: var(--thepexcel-space-xl);
}
.function-explainer-card {
border: 1px solid rgba(0, 0, 0, 0.03);
box-shadow: var(--thepexcel-shadow-card);
transition: transform 0.25s ease, box-shadow 0.25s ease;
min-height: 100%;
}
.function-explainer-card:hover {
transform: translateY(-6px);
box-shadow: var(--thepexcel-shadow-lift);
}
.function-explainer-card .wp-block-post-title {
margin-top: var(--thepexcel-space-sm);
}
.function-explainer-card .wp-block-post-title a {
color: inherit;
text-decoration: none;
}
.function-explainer-card .wp-block-post-excerpt {
margin-bottom: 0;
color: var(--thepexcel-color-muted-text);
}
.function-explainer-outline {
box-shadow: var(--thepexcel-shadow-soft);
}
@media (max-width: 1024px) {
.function-explainer-hero-inner {
flex-direction: column;
}
.function-explainer-hero-media {
max-width: 100%;
}
.function-explainer-sidebar {
position: static;
max-height: none;
overflow-y: visible;
grid-column: 1;
grid-row: 1;
}
.function-explainer-layout {
grid-template-columns: 1fr;
gap: var(--thepexcel-space-xl);
}
.function-explainer-layout-main {
grid-column: 1;
grid-row: 2;
}
.function-explainer-main-card {
margin-top: 0;
}
.function-explainer-argument-table {
font-size: 0.9rem;
}
.function-explainer-argument-table th,
.function-explainer-argument-table td {
padding: 0.75rem;
}
}
@media (max-width: 900px) {
.function-explainer-page::before {
opacity: 0.2;
}
}
@media (max-width: 768px) {
.function-explainer-argument-table thead {
display: none;
}
.function-explainer-argument-table tbody tr {
display: block;
padding: 0.85rem 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.function-explainer-argument-table tbody tr:last-child {
border-bottom: none;
}
.function-explainer-argument-table td {
display: block;
padding: 0.35rem 0;
}
.function-explainer-argument-table td:first-child {
font-size: 1rem;
margin-bottom: 0.25rem;
}
.function-explainer-argument-table td:nth-child(2),
.function-explainer-argument-table td:nth-child(3),
.function-explainer-argument-table td:nth-child(4) {
display: none;
}
.function-explainer-shell {
padding: var(--thepexcel-space-lg);
border-radius: 20px;
}
.function-explainer-hero {
padding: 1.5rem;
border-radius: 20px;
}
.function-explainer-hero:hover {
transform: none;
}
.function-explainer-main-card {
margin-top: 0;
}
.function-explainer-section {
padding-bottom: var(--thepexcel-space-xl);
margin-bottom: var(--thepexcel-space-xl);
}
.function-explainer-section-heading h2 {
font-size: 1.5rem;
}
.function-explainer-syntax-code {
padding: 1rem 1.25rem;
font-size: 0.95rem;
}
.function-explainer-example-card {
padding: var(--thepexcel-space-lg);
}
.function-explainer-example-card:hover {
transform: translateY(-4px);
}
.function-explainer-argument-table-wrapper {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.function-explainer-faq-item summary {
font-size: 1rem;
}
.function-explainer-pill-list span,
.function-explainer-pill-list a,
.function-explainer-pill-list .function-explainer-version-badge {
font-size: 0.85rem;
padding: 0.35rem 0.85rem;
}
.function-explainer-aside-card {
padding: var(--thepexcel-space-lg);
}
.function-explainer-page::before {
animation: none;
}
.function-explainer-hero::before {
animation: none;
}
} @media print {
body {
background: white;
color: black;
}
a,
a:visited {
text-decoration: underline;
}
a[href]::after {
content: " (" attr(href) ")";
}
img {
max-width: 100%;
}
@page {
margin: 2cm;
}
h1, h2, h3 {
page-break-after: avoid;
}
ul, ol {
page-break-inside: avoid;
}
}
.profile-gallery-wrapper {
width: 100%;
display: flex;
justify-content: center;
}
.profile-gallery-wrapper .wp-block-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
justify-items: center;
align-items: center;
gap: 2rem;
}
.profile-gallery-wrapper figure.wp-block-image {
margin: 0;
} .wp-block-gallery-3 {
display: flex !important;
justify-content: center !important;
gap: 2rem !important;
margin-left: auto !important;
margin-right: auto !important;
}
.wp-block-gallery-3 .wp-block-image {
flex: 0 0 auto !important;
margin: 0 !important;
width: auto !important;
} .wp-block-gallery.has-nested-images {
--wp--style--unstable-gallery-gap: 1rem;
flex-wrap: wrap !important;
gap: var(--wp--style--unstable-gallery-gap, 1rem) !important;
} .wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
max-width: calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
width: calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
flex-grow: 0 !important;
} .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#thepexcel-boost),
.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(33.333% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.667) !important;
max-width: calc(33.333% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.667) !important;
width: calc(33.333% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.667) !important;
flex-grow: 0 !important;
} .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(25% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.75) !important;
max-width: calc(25% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.75) !important;
width: calc(25% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.75) !important;
flex-grow: 0 !important;
} .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(20% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.8) !important;
max-width: calc(20% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.8) !important;
width: calc(20% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.8) !important;
flex-grow: 0 !important;
} .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(16.667% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.833) !important;
max-width: calc(16.667% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.833) !important;
width: calc(16.667% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.833) !important;
flex-grow: 0 !important;
} @media (max-width: 782px) {
.wp-block-gallery.has-nested-images[class*="columns-"] figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
max-width: calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
width: calc(50% - var(--wp--style--unstable-gallery-gap, 1rem) * 0.5) !important;
}
} @media (max-width: 600px) {
.wp-block-gallery.has-nested-images[class*="columns-"] figure.wp-block-image:not(#thepexcel-boost) {
flex: 0 0 100% !important;
max-width: 100% !important;
width: 100% !important;
}
}  .program-tiles-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--thepexcel-space-xl);
margin: var(--thepexcel-space-2xl) 0;
}
@media (max-width: 768px) {
.program-tiles-grid {
grid-template-columns: 1fr;
}
}
.program-tile {
background: white;
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-lg);
padding: var(--thepexcel-space-xl);
transition: transform var(--thepexcel-transition-base), box-shadow var(--thepexcel-transition-base);
}
.program-tile:hover {
transform: translateY(-4px);
box-shadow: var(--thepexcel-shadow-md);
}
.program-tile-title {
font-size: 1.75rem;
font-weight: 700;
margin: 0 0 var(--thepexcel-space-sm) 0;
color: var(--thepexcel-color-text);
}
.program-tile-description {
color: var(--thepexcel-color-text-muted);
margin: 0 0 var(--thepexcel-space-lg) 0;
line-height: 1.6;
}
.program-tile-button {
display: inline-block;
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
padding: var(--thepexcel-space-sm) var(--thepexcel-space-lg);
border-radius: var(--thepexcel-radius-md);
text-decoration: none;
font-weight: 600;
transition: background-color var(--thepexcel-transition-base), transform var(--thepexcel-transition-base);
}
.program-tile-button:hover {
background-color: var(--thepexcel-color-accent-dark);
transform: translateX(4px);
text-decoration: none;
} .function-directory-container {
margin: var(--thepexcel-space-xl) 0;
} .function-directory-layout {
display: grid;
grid-template-columns: minmax(260px, 340px) 1fr;
gap: var(--thepexcel-space-xl);
align-items: start;
}
.function-directory-filters {
position: sticky;
top: 110px;
max-height: calc(100vh - 130px);
overflow-y: auto;
padding-bottom: var(--thepexcel-space-md);
overscroll-behavior: contain;
}
.function-directory-results-header {
display: flex;
align-items: baseline;
gap: 8px;
color: var(--thepexcel-color-muted-text);
margin: 0 0 var(--thepexcel-space-md) 0;
}
@media (max-width: 960px) {
.function-directory-layout {
grid-template-columns: 1fr;
gap: var(--thepexcel-space-lg);
}
.function-directory-filters {
position: static;
max-height: none;
overflow: visible;
}
} .function-filter-bar-container {
margin-bottom: var(--thepexcel-space-xl);
position: static;
}
.active-filter-count {
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border-radius: 12px;
padding: 4px 12px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
}
.function-filter-bar {
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-lg);
padding: var(--thepexcel-space-md);
box-shadow: var(--thepexcel-shadow-soft);
backdrop-filter: blur(10px);
}
.function-filter-bar-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--thepexcel-space-md);
margin-bottom: var(--thepexcel-space-md);
}
.function-filter-bar-actions {
display: flex;
gap: var(--thepexcel-space-sm);
align-items: center;
justify-content: flex-end;
flex: 0 0 auto;
}
.function-filter-bar.is-sidebar .function-filter-bar-actions {
display: grid;
grid-template-columns: 2fr 1fr;
gap: var(--thepexcel-space-sm);
align-items: center;
min-width: 0;
}
.function-filter-bar.is-sidebar .function-filter-bar-actions > :where(a, button) {
width: 100%;
padding: 8px 10px;
font-size: 0.9rem;
}
.function-filter-bar.is-sidebar .function-filter-bar-actions .btn-apply-filters {
padding: 10px 12px;
font-size: 0.95rem;
}
.function-filter-bar.is-sidebar .function-filter-bar-actions .btn-clear-filters {
padding: 8px 10px;
font-size: 0.85rem;
}
.function-filter-title {
margin: 0;
font-size: 1.25rem;
line-height: 1.2;
}
.function-filter-bar-heading {
display: flex;
flex-direction: column;
gap: 6px;
}
.function-filter-bar-header .filter-results-count {
padding: 0;
margin: 0;
}
.function-filter-bar .btn-clear-filters {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 14px;
border-radius: var(--thepexcel-radius-md);
border: 1px solid var(--thepexcel-color-border-muted);
background: white;
color: var(--thepexcel-color-text);
font-weight: 600;
text-decoration: none;
white-space: nowrap;
}
.function-filter-bar .btn-clear-filters:hover {
border-color: var(--thepexcel-color-accent);
box-shadow: var(--thepexcel-shadow-soft);
text-decoration: none;
}
.function-filter-bar .filter-form {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-sm);
}
.function-filter-bar .filter-row {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-sm);
align-items: flex-end;
}
.function-filter-bar .filter-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.function-filter-bar label {
margin: 0;
font-size: 0.875rem;
font-weight: 700;
color: var(--thepexcel-color-muted-text);
}
.function-filter-bar .filter-search {
flex: 1 1 360px;
min-width: 240px;
}
.function-filter-bar .filter-sort {
flex: 0 0 220px;
min-width: 200px;
}
.function-filter-bar .filter-submit {
flex: 0 0 auto;
}
.function-filter-bar .btn-apply-filters {
white-space: nowrap;
}
.function-filter-bar .filter-advanced {
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-md);
padding: var(--thepexcel-space-sm) var(--thepexcel-space-md);
background: rgba(248, 249, 250, 0.7);
}
.function-filter-bar .filter-advanced[open] {
padding-bottom: var(--thepexcel-space-md);
}
.function-filter-bar .filter-advanced-summary {
display: inline-flex;
align-items: center;
gap: var(--thepexcel-space-sm);
cursor: pointer;
font-weight: 700;
list-style: none;
}
.function-filter-bar .filter-advanced-summary::-webkit-details-marker {
display: none;
}
.function-filter-bar .filter-version {
flex: 1 1 320px;
min-width: 260px;
}
.function-filter-bar .filter-category,
.function-filter-bar .filter-verified {
flex: 1 1 240px;
min-width: 220px;
}
.function-filter-bar .filter-version-mode {
margin: 8px 0 0;
padding: 0;
border: none;
display: grid;
gap: 6px;
}
.function-filter-bar .filter-radio {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.9rem;
color: var(--thepexcel-color-muted-text);
}
.function-filter-bar .filter-radio input[type="radio"] {
margin: 0;
}
.function-filter-bar.is-sidebar {
background: white;
backdrop-filter: none;
}
.function-filter-bar.is-sidebar .filter-row-main {
display: grid;
grid-template-columns: 1fr;
gap: var(--thepexcel-space-sm);
align-items: start;
}
.function-filter-bar.is-sidebar .filter-sort {
flex: unset;
min-width: 0;
}
.filter-panel {
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-md);
padding: var(--thepexcel-space-md);
background: #fafafa;
}
.filter-panel-title {
font-weight: 800;
margin-bottom: var(--thepexcel-space-md);
color: var(--thepexcel-color-text);
}
.filter-section {
border: none;
padding: 0;
margin: 0 0 var(--thepexcel-space-md);
}
.filter-section legend {
font-weight: 700;
font-size: 0.9rem;
margin-bottom: 8px;
color: var(--thepexcel-color-muted-text);
}
.filter-checklist {
display: flex;
flex-direction: column;
gap: 8px;
max-height: clamp(180px, 34vh, 320px);
overflow: auto;
padding-right: 6px;
}
.filter-check {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.95rem;
color: var(--thepexcel-color-text);
}
.filter-check input[type="radio"] {
width: 18px;
height: 18px;
margin: 0;
}
.filter-actions {
display: flex;
justify-content: flex-end;
}
@media (max-width: 640px) {
.function-filter-bar-container {
top: 120px;
}
.function-filter-bar .filter-sort {
flex: 1 1 220px;
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.search-input,
.sort-select,
.version-select,
.category-select,
.verified-select {
padding: var(--thepexcel-space-sm) var(--thepexcel-space-md);
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-md);
font-family: inherit;
font-size: 1rem;
background: white;
transition: border-color var(--thepexcel-transition-base), box-shadow var(--thepexcel-transition-base);
}
.version-mode-toggle.mode-first-available .mode-label-first {
display: inline;
}
.version-mode-toggle:hover {
transform: translateY(-2px);
box-shadow: 0 2px 4px var(--thepexcel-dark-10);
}
.search-input:focus,
.sort-select:focus,
.version-select:focus,
.category-select:focus {
outline: none;
border-color: var(--thepexcel-color-accent);
box-shadow: 0 0 0 3px var(--thepexcel-accent-10);
}
.btn-apply-filters,
.btn-clear-filters {
padding: var(--thepexcel-space-sm) var(--thepexcel-space-lg);
border-radius: var(--thepexcel-radius-md);
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all var(--thepexcel-transition-base);
text-decoration: none;
display: inline-block;
text-align: center;
}
.btn-apply-filters {
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border: none;
}
.btn-apply-filters:hover {
background-color: var(--thepexcel-color-accent-dark);
transform: translateY(-2px);
}
.btn-clear-filters {
background-color: transparent;
color: var(--thepexcel-color-text-muted);
border: 1px solid var(--thepexcel-color-border);
}
.btn-clear-filters:hover {
background-color: var(--thepexcel-color-background);
border-color: var(--thepexcel-color-text-muted);
text-decoration: none;
} .active-filters {
display: flex;
flex-wrap: wrap;
gap: var(--thepexcel-space-sm);
align-items: center;
margin-bottom: var(--thepexcel-space-md);
padding: var(--thepexcel-space-md) 0;
border-top: 1px solid var(--thepexcel-color-border);
}
.active-filters-label {
font-weight: 600;
color: var(--thepexcel-color-text-muted);
font-size: 0.875rem;
}
.filter-pill {
display: inline-flex;
align-items: center;
gap: var(--thepexcel-space-xs);
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
padding: 4px 12px;
border-radius: 999px;
font-size: 0.875rem;
text-decoration: none;
transition: all var(--thepexcel-transition-base);
}
.filter-pill:hover {
background-color: var(--thepexcel-color-accent-dark);
text-decoration: none;
}
.filter-pill span[aria-hidden="true"] {
font-weight: 700;
font-size: 1.125rem;
line-height: 1;
}
.filter-results-count {
padding: var(--thepexcel-space-sm) 0;
color: var(--thepexcel-color-text-muted);
font-size: 0.875rem;
}
.filter-score-section {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-md);
}
.filter-range {
display: flex;
flex-direction: column;
gap: 6px;
}
.filter-range-header {
display: flex;
align-items: center;
justify-content: space-between;
color: var(--thepexcel-color-text-muted);
font-size: 0.825rem;
font-weight: 600;
}
.filter-range-values {
font-variant-numeric: tabular-nums;
}
.filter-range-sliders {
position: relative;
height: 26px;
touch-action: none;
user-select: none;
}
.filter-range-sliders input[type="range"] {
width: 100%;
position: absolute;
top: 0;
left: 0;
height: 26px;
margin: 0;
background: transparent;
pointer-events: none;
accent-color: var(--thepexcel-color-accent);
-webkit-appearance: none;
appearance: none;
}
.filter-range .range-track {
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 4px;
transform: translateY(-50%);
background: rgba(15, 23, 42, 0.12);
border-radius: 999px;
pointer-events: none;
}
.filter-range .range-track::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: var(--range-min, 0%);
right: calc(100% - var(--range-max, 100%));
background: var(--thepexcel-color-accent);
border-radius: 999px;
}
.filter-range .range-slider {
z-index: 2;
cursor: pointer;
}
.filter-range .range-slider.range-max {
z-index: 3;
}
.filter-range .range-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--thepexcel-color-accent);
border: 2px solid #fff;
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
cursor: pointer;
pointer-events: auto;
}
.filter-range .range-slider::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--thepexcel-color-accent);
border: 2px solid #fff;
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
cursor: pointer;
pointer-events: auto;
}
.filter-range .range-slider::-webkit-slider-runnable-track {
height: 4px;
background: transparent;
}
.filter-range .range-slider::-moz-range-track {
height: 4px;
background: transparent;
} .function-cards-grid {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-sm);
margin: var(--thepexcel-space-md) 0;
} .function-card {
background: white;
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-md);
padding: 0.9rem 1rem;
transition: transform var(--thepexcel-transition-base), box-shadow var(--thepexcel-transition-base);
display: flex;
gap: var(--thepexcel-space-xs);
align-items: stretch;
}
.function-card:hover {
transform: translateY(-3px);
box-shadow: var(--thepexcel-shadow-md);
}
.function-card-title {
font-size: 1rem;
font-weight: 700;
margin: 0;
line-height: 1.25;
}
.function-card-title a {
color: var(--thepexcel-color-text);
text-decoration: none;
}
.function-card-title a:hover {
color: var(--thepexcel-color-accent);
}
.function-card-main {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.function-card-inline {
display: grid;
grid-template-columns: auto auto 1fr auto;
align-items: start;
gap: var(--thepexcel-space-xs);
}
.function-card-inline > p {
margin: 0;
display: contents;
}
.function-card-inline > p:empty {
display: none;
}
.function-card-side {
display: none;
}
.function-card-categories {
display: flex;
align-items: center;
gap: var(--thepexcel-space-xs);
flex-wrap: wrap;
}
.function-explainer-pill-list {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--thepexcel-space-sm);
margin-bottom: var(--thepexcel-space-lg);
}
.function-explainer-pill-list br {
display: none;
}
.function-explainer-pill-list p {
display: inline;
margin: 0;
padding: 0;
}
.category-pill,
.category-tag,
.version-badge,
.version-tag,
.program-tag {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 10px;
border-radius: var(--thepexcel-radius-sm);
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
height: 28px;
text-decoration: none;
cursor: pointer;
transition: all var(--thepexcel-transition-base);
line-height: 1;
}
.category-pill,
.category-tag {
background-color: var(--thepexcel-color-background);
color: var(--thepexcel-color-text);
border: 1px solid #ddd;
}
.category-pill:hover,
.category-tag:hover {
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
border-color: var(--thepexcel-color-accent);
box-shadow: 0 2px 6px var(--thepexcel-accent-20);
}
.version-badge,
.version-tag {
background-color: #e8f5e9;
color: #2e7d32;
border: 1px solid #c8e6c9;
}
.version-badge:hover,
.version-tag:hover {
background-color: #c8e6c9;
color: #1b5e20;
border-color: #a5d6a7;
box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
}
.program-tag {
background-color: #e3f2fd;
color: #1565c0;
border: 1px solid #bbdefb;
}
.program-tag:hover {
background-color: #bbdefb;
color: #0d47a1;
border-color: #90caf9;
box-shadow: 0 2px 6px rgba(21, 101, 192, 0.15);
}
.function-card-summary {
color: var(--thepexcel-color-text-muted);
line-height: 1.4;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.function-card-syntax {
margin-top: 0.5rem;
border-top: 1px solid var(--thepexcel-color-border);
padding-top: 0.5rem;
}
.function-card-syntax-toggle {
cursor: pointer;
font-weight: 700;
color: var(--thepexcel-color-link);
user-select: none;
display: inline-flex;
align-items: center;
gap: 8px;
list-style: none;
}
.function-card-syntax-toggle::-webkit-details-marker {
display: none;
}
.function-card-syntax-toggle::after {
content: "▾";
font-size: 0.9rem;
line-height: 1;
transform: translateY(-1px);
transition: transform var(--thepexcel-transition-base);
}
.function-card-syntax[open] .function-card-syntax-toggle::after {
transform: rotate(180deg) translateY(1px);
}
.function-card-syntax-code {
margin: 0.5rem 0 0;
padding: 0.75rem;
border-radius: var(--thepexcel-radius-md);
background: var(--thepexcel-color-soft-bg);
border-left: 4px solid var(--thepexcel-color-accent);
overflow-x: auto;
font-size: 0.95rem;
}
.function-card-syntax-code code {
background: transparent;
padding: 0;
}
@media (max-width: 640px) {
.function-card-inline {
grid-template-columns: 1fr;
align-items: start;
}
}
.function-card-actions,
.btn-view-function {
display: none;
} .function-card-scores {
margin: 0;
padding: 0;
background: transparent;
border-radius: 0;
} .no-functions-found {
text-align: center;
padding: var(--thepexcel-space-2xl);
background: white;
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-lg);
grid-column: 1 / -1;
}
.no-functions-found p {
color: var(--thepexcel-color-text-muted);
margin-bottom: var(--thepexcel-space-lg);
font-size: 1.125rem;
}  .function-directory-pagination {
display: flex;
justify-content: center;
gap: var(--thepexcel-space-xs);
margin: var(--thepexcel-space-xl) 0;
flex-wrap: wrap;
}
.function-directory-pagination a,
.function-directory-pagination .page-numbers {
padding: var(--thepexcel-space-xs) calc(var(--thepexcel-space-sm) + 0.25rem);
border: 1px solid var(--thepexcel-color-border);
border-radius: var(--thepexcel-radius-sm);
color: var(--thepexcel-color-text);
text-decoration: none;
transition: background-color var(--thepexcel-transition-base), border-color var(--thepexcel-transition-base), color var(--thepexcel-transition-base);
display: inline-block;
}
.function-directory-pagination a:hover {
background-color: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text);
}
.function-directory-pagination .page-numbers.current {
background-color: var(--thepexcel-color-accent);
border-color: var(--thepexcel-color-accent);
font-weight: 700;
} .function-hub-container {
max-width: 1200px;
margin: 0 auto;
} .function-hub-tabs {
display: flex;
gap: var(--thepexcel-space-sm);
margin-bottom: var(--thepexcel-space-2xl);
border-bottom: 2px solid var(--thepexcel-color-border);
overflow-x: auto;
}
.function-hub-tab {
padding: var(--thepexcel-space-md) var(--thepexcel-space-xl);
background: none;
border: none;
border-bottom: 3px solid transparent;
display: inline-flex;
align-items: center;
cursor: pointer;
font-size: 1.125rem;
font-weight: 600;
color: var(--thepexcel-color-text-muted);
text-decoration: none;
transition: all var(--thepexcel-transition-base);
white-space: nowrap;
}
.function-hub-tab:hover {
color: var(--thepexcel-color-text);
background-color: var(--thepexcel-accent-10);
}
.function-hub-tab.active {
color: var(--thepexcel-color-accent);
border-bottom-color: var(--thepexcel-color-accent);
} .function-hub-panels {
position: relative;
}
.function-hub-panel {
display: none;
}
.function-hub-panel.active {
display: block;
}
.function-hub-panel h2 {
font-size: 2rem;
font-weight: 700;
margin-bottom: var(--thepexcel-space-lg);
color: var(--thepexcel-color-text);
}
.function-hub-panel .program-description {
font-size: 1.125rem;
color: var(--thepexcel-color-text-muted);
margin-bottom: var(--thepexcel-space-2xl);
} .function-list {
list-style: disc;
padding-left: var(--thepexcel-space-2xl);
margin-bottom: var(--thepexcel-space-2xl);
columns: 3;
column-gap: var(--thepexcel-space-2xl);
}
.function-list li {
margin-bottom: var(--thepexcel-space-sm);
break-inside: avoid;
}
.function-list a {
color: var(--thepexcel-color-link);
text-decoration: none;
transition: all var(--thepexcel-transition-base);
}
.function-list a:hover {
color: var(--thepexcel-color-accent);
text-decoration: underline;
}
.function-count {
font-size: 0.875rem;
color: var(--thepexcel-color-text-muted);
font-weight: 600;
} @media (max-width: 768px) {
.function-hub-container {
max-width: 100%;
padding-left: 1rem;
padding-right: 1rem;
box-sizing: border-box;
}
.function-hub-tabs {
gap: 0;
}
.function-hub-tab {
padding: var(--thepexcel-space-sm) var(--thepexcel-space-md);
font-size: 1rem;
}
.function-list {
columns: 2;
}
}
@media (max-width: 480px) {
.function-list {
columns: 1;
}
} .function-explainer-comments {
margin-top: var(--thepexcel-space-3xl);
padding-top: var(--thepexcel-space-3xl);
border-top: 1px solid var(--thepexcel-color-border);
} .wp-block-comments__title {
font-size: 1.75rem;
font-weight: 700;
color: var(--thepexcel-color-text);
margin-bottom: var(--thepexcel-space-2xl);
} .wp-block-comments__list {
list-style: none;
padding: 0;
margin: 0 0 var(--thepexcel-space-2xl) 0;
} .wp-block-comment {
margin-bottom: var(--thepexcel-space-2xl);
padding: var(--thepexcel-space-lg);
background-color: var(--thepexcel-color-background-alt);
border-left: 4px solid var(--thepexcel-color-accent);
border-radius: 4px;
}
.wp-block-comment__meta {
font-size: 0.875rem;
color: var(--thepexcel-color-text-muted);
margin-bottom: var(--thepexcel-space-md);
display: flex;
align-items: center;
gap: var(--thepexcel-space-sm);
}
.wp-block-comment__author-name {
font-weight: 600;
color: var(--thepexcel-color-text);
}
.wp-block-comment__time {
color: var(--thepexcel-color-text-muted);
}
.wp-block-comment__content {
font-size: 1rem;
color: var(--thepexcel-color-text);
line-height: 1.6;
}
.wp-block-comment__content > p {
margin-bottom: var(--thepexcel-space-md);
}
.wp-block-comment__content > p:last-child {
margin-bottom: 0;
} .wp-block-comment__nested {
margin-top: var(--thepexcel-space-lg);
margin-left: var(--thepexcel-space-2xl);
list-style: none;
padding-left: 0;
} .wp-block-comments__form-submit {
margin-top: var(--thepexcel-space-lg);
}
.wp-block-post-comments-form {
margin-top: var(--thepexcel-space-2xl);
padding: var(--thepexcel-space-2xl);
background-color: var(--thepexcel-color-background-alt);
border-radius: 4px;
}
.wp-block-post-comments-form form {
display: flex;
flex-direction: column;
gap: var(--thepexcel-space-lg);
}
.wp-block-post-comments-form label {
display: block;
font-weight: 600;
color: var(--thepexcel-color-text);
margin-bottom: var(--thepexcel-space-sm);
font-size: 0.95rem;
}
.wp-block-post-comments-form input[type="text"],
.wp-block-post-comments-form input[type="email"],
.wp-block-post-comments-form input[type="url"],
.wp-block-post-comments-form textarea {
width: 100%;
padding: var(--thepexcel-space-md);
border: 1px solid var(--thepexcel-color-border);
border-radius: 4px;
font-family: inherit;
font-size: 1rem;
color: var(--thepexcel-color-text);
background-color: var(--thepexcel-color-background);
transition: border-color var(--thepexcel-transition-base);
}
.wp-block-post-comments-form input[type="text"]:focus,
.wp-block-post-comments-form input[type="email"]:focus,
.wp-block-post-comments-form input[type="url"]:focus,
.wp-block-post-comments-form textarea:focus {
outline: none;
border-color: var(--thepexcel-color-accent);
box-shadow: 0 0 0 2px var(--thepexcel-accent-10);
}
.wp-block-post-comments-form textarea {
resize: vertical;
min-height: 120px;
}
.wp-block-post-comments-form button[type="submit"] {
align-self: flex-start;
padding: var(--thepexcel-space-md) var(--thepexcel-space-2xl);
background-color: var(--thepexcel-color-accent);
color: var(--thepexcel-color-text-dark);
border: none;
border-radius: 4px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all var(--thepexcel-transition-base);
}
.wp-block-post-comments-form button[type="submit"]:hover {
background-color: #d4a40f;
transform: translateY(-2px);
box-shadow: 0 4px 12px var(--thepexcel-accent-20);
} @media (max-width: 768px) {
.function-explainer-comments {
padding-left: 0;
padding-right: 0;
}
.wp-block-comment__nested {
margin-left: var(--thepexcel-space-lg);
}
.wp-block-post-comments-form {
padding: var(--thepexcel-space-lg);
}
} .function-name-highlight {
font-weight: 700 !important;
color: #ffffff !important;
text-shadow: 0 0 1px rgba(255,255,255,0.3);
}
.function-paren-highlight {
font-weight: 700 !important;
color: #ffffff !important;
text-shadow: 0 0 1px rgba(255,255,255,0.3);
} .batch-hero {
background: linear-gradient(135deg, #FFF8E7 0%, #FAEBC8 100%);
border: 1px solid var(--color-gold-200, #E8C47A);
border-radius: 12px;
padding: 1.5rem 1.75rem;
margin: 1rem 0 2rem;
display: grid;
gap: 1rem;
}
.batch-hero__badge {
display: inline-flex;
gap: 0.5rem;
align-items: center;
font-size: 0.95rem;
}
.batch-hero__cohort {
background: var(--color-onyx, #0A0A0A);
color: #fff;
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-weight: 600;
}
.batch-hero__status {
background: rgba(212, 168, 75, 0.2);
color: var(--color-onyx, #0A0A0A);
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-weight: 500;
}
.batch-hero__badge--sold_out .batch-hero__status,
.batch-hero__badge--completed .batch-hero__status {
background: rgba(74, 74, 74, 0.15);
color: var(--color-charcoal, #4A4A4A);
}
.batch-hero__schedule {
display: grid;
gap: 0.5rem;
font-size: 1rem;
}
.batch-hero__schedule > div {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: baseline;
}
.batch-hero__icon {
font-size: 1.1rem;
}
.batch-hero__time {
color: var(--color-charcoal, #4A4A4A);
font-size: 0.95rem;
}
.batch-hero__location-detail {
color: var(--color-charcoal, #4A4A4A);
font-size: 0.95rem;
}
.batch-hero__pricing {
border-top: 1px dashed rgba(74, 74, 74, 0.3);
padding-top: 1rem;
}
.batch-hero__price-active {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.75rem;
}
.batch-hero__price-label {
background: var(--color-rosy-copper, #CD4631);
color: #fff;
padding: 0.2rem 0.65rem;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.batch-hero__price-amount {
font-size: 2rem;
font-weight: 700;
color: var(--color-onyx, #0A0A0A);
}
.batch-hero__price-countdown {
color: var(--color-rosy-copper, #CD4631);
font-size: 0.9rem;
font-weight: 500;
}
.batch-hero__price-active--regular .batch-hero__price-label {
background: var(--color-charcoal, #4A4A4A);
}
.batch-hero__group-discount {
margin: 0.75rem 0 0;
color: var(--color-charcoal, #4A4A4A);
font-size: 0.95rem;
}
.batch-hero__cta {
margin-top: 0.5rem;
}
.batch-hero__cta-button {
display: inline-block;
background: var(--color-gold-500, #D4A84B);
color: var(--color-onyx, #0A0A0A);
padding: 0.85rem 2rem;
border-radius: 8px;
font-weight: 700;
text-decoration: none;
font-size: 1.05rem;
transition: background-color 0.15s ease;
}
.batch-hero__cta-button:hover {
background: var(--color-gold-600, #C09740);
color: var(--color-onyx, #0A0A0A);
text-decoration: none;
}
.batch-hero__cta-button--disabled {
background: rgba(74, 74, 74, 0.2);
color: var(--color-charcoal, #4A4A4A);
cursor: not-allowed;
}
.batch-hero__divider {
border: 0;
border-top: 2px solid rgba(212, 168, 75, 0.3);
margin: 0 0 2rem;
} .batch-section {
margin: 2.5rem 0;
}
.batch-section + .batch-section {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px dashed rgba(74, 74, 74, 0.2);
}
.batch-section__title {
font-size: 1.6rem;
font-weight: 700;
margin: 0 0 1.25rem;
color: var(--color-onyx, #0A0A0A);
}
.batch-section--extra .batch-section__title {
font-size: 1.2rem;
color: var(--color-charcoal, #4A4A4A);
} .batch-detail {
display: grid;
gap: 1.5rem;
}
.batch-detail__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.25rem;
}
.batch-detail__item {
background: #FAF7F0;
border: 1px solid rgba(212, 168, 75, 0.3);
border-radius: 10px;
padding: 1.25rem;
}
.batch-detail__item-title {
font-size: 1.05rem;
font-weight: 700;
margin: 0 0 0.75rem;
color: var(--color-onyx, #0A0A0A);
display: flex;
align-items: center;
gap: 0.4rem;
}
.batch-detail__item p {
margin: 0.35rem 0;
font-size: 0.95rem;
color: var(--color-charcoal, #4A4A4A);
}
.batch-detail__status {
display: inline-block;
margin-top: 0.5rem;
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 500;
background: rgba(212, 168, 75, 0.2);
color: var(--color-onyx, #0A0A0A);
}
.batch-detail__status--sold_out,
.batch-detail__status--completed {
background: rgba(74, 74, 74, 0.15);
color: var(--color-charcoal, #4A4A4A);
}
.batch-detail__pricing {
background: #FFFCF5;
border: 1px solid rgba(212, 168, 75, 0.3);
border-radius: 10px;
padding: 1.25rem;
}
.batch-pricing-table {
width: 100%;
border-collapse: collapse;
margin-top: 0.5rem;
}
.batch-pricing-table th,
.batch-pricing-table td {
padding: 0.75rem 0.5rem;
text-align: left;
border-bottom: 1px solid rgba(212, 168, 75, 0.2);
font-size: 0.95rem;
}
.batch-pricing-table th {
font-weight: 600;
color: var(--color-charcoal, #4A4A4A);
background: rgba(212, 168, 75, 0.1);
}
.batch-pricing-table__row--active {
background: rgba(205, 70, 49, 0.08);
}
.batch-pricing-table__row--active td:first-child,
.batch-pricing-table__row--active td:nth-child(2) {
font-weight: 700;
}
.batch-pricing-table__active-badge {
display: inline-block;
margin-left: 0.5rem;
padding: 0.15rem 0.5rem;
background: var(--color-rosy-copper, #CD4631);
color: #fff;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.batch-detail__group-discount {
margin: 1rem 0 0;
padding: 0.75rem 1rem;
background: #FFF8E7;
border-left: 3px solid var(--color-gold-500, #D4A84B);
color: var(--color-charcoal, #4A4A4A);
font-size: 0.95rem;
}
.batch-detail__cta {
text-align: center;
margin-top: 0.5rem;
}
.batch-detail__cta-button {
display: inline-block;
background: var(--color-gold-500, #D4A84B);
color: var(--color-onyx, #0A0A0A);
padding: 0.85rem 2.5rem;
border-radius: 8px;
font-weight: 700;
text-decoration: none;
font-size: 1.05rem;
transition: background-color 0.15s ease;
}
.batch-detail__cta-button:hover {
background: var(--color-gold-600, #C09740);
color: var(--color-onyx, #0A0A0A);
text-decoration: none;
} .course-batches {
margin: 3rem 0 0;
}
.course-batches__title {
font-size: 1.5rem;
font-weight: 700;
margin: 2rem 0 1.25rem;
color: var(--color-onyx, #0A0A0A);
display: flex;
align-items: center;
gap: 0.5rem;
}
.course-batches__title--featured {
margin-top: 0;
}
.course-batches__count {
font-size: 1rem;
font-weight: 400;
color: var(--color-charcoal, #4A4A4A);
margin-left: 0.25rem;
} .featured-batch-card {
background: linear-gradient(135deg, #FFF8E7 0%, #FAEBC8 100%);
border: 1px solid var(--color-gold-200, #E8C47A);
border-radius: 12px;
padding: 1.5rem 1.75rem;
display: grid;
gap: 1rem;
}
.featured-batch-card__header {
display: flex;
justify-content: flex-start;
}
.featured-batch-card__badge {
display: inline-flex;
gap: 0.5rem;
align-items: center;
font-size: 0.95rem;
}
.featured-batch-card__cohort {
background: var(--color-onyx, #0A0A0A);
color: #fff;
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-weight: 600;
}
.featured-batch-card__status {
background: rgba(212, 168, 75, 0.2);
color: var(--color-onyx, #0A0A0A);
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-weight: 500;
}
.featured-batch-card__badge--sold_out .featured-batch-card__status,
.featured-batch-card__badge--completed .featured-batch-card__status {
background: rgba(74, 74, 74, 0.15);
color: var(--color-charcoal, #4A4A4A);
}
.featured-batch-card__body {
display: grid;
gap: 0.75rem;
}
.featured-batch-card__row {
display: flex;
gap: 0.75rem;
align-items: flex-start;
}
.featured-batch-card__icon {
font-size: 1.2rem;
flex-shrink: 0;
}
.featured-batch-card__row > div {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.featured-batch-card__sub {
color: var(--color-charcoal, #4A4A4A);
font-size: 0.9rem;
}
.featured-batch-card__pricing {
border-top: 1px dashed rgba(74, 74, 74, 0.3);
padding-top: 1rem;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.75rem;
}
.featured-batch-card__price-label {
background: var(--color-rosy-copper, #CD4631);
color: #fff;
padding: 0.2rem 0.65rem;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.featured-batch-card__pricing--regular .featured-batch-card__price-label {
background: var(--color-charcoal, #4A4A4A);
}
.featured-batch-card__price-amount {
font-size: 2rem;
font-weight: 700;
color: var(--color-onyx, #0A0A0A);
}
.featured-batch-card__price-countdown {
color: var(--color-rosy-copper, #CD4631);
font-size: 0.9rem;
font-weight: 500;
}
.featured-batch-card__footer {
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: center;
justify-content: space-between;
margin-top: 0.25rem;
}
.featured-batch-card__cta {
display: inline-block;
background: var(--color-gold-500, #D4A84B);
color: var(--color-onyx, #0A0A0A);
padding: 0.85rem 2rem;
border-radius: 8px;
font-weight: 700;
text-decoration: none;
font-size: 1.05rem;
transition: background-color 0.15s ease;
}
.featured-batch-card__cta:hover {
background: var(--color-gold-600, #C09740);
color: var(--color-onyx, #0A0A0A);
text-decoration: none;
}
.featured-batch-card__cta--disabled {
background: rgba(74, 74, 74, 0.2);
color: var(--color-charcoal, #4A4A4A);
cursor: not-allowed;
}
.featured-batch-card__detail-link {
color: var(--color-rosy-copper, #CD4631);
font-weight: 500;
text-decoration: none;
}
.featured-batch-card__detail-link:hover {
text-decoration: underline;
} .course-batches__list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.5rem;
}
.batch-list-item {
margin: 0;
background: #FAFAFA;
border: 1px solid #E5E7EB;
border-radius: 8px;
transition: border-color 0.15s ease, background-color 0.15s ease;
}
.batch-list-item:hover {
border-color: var(--color-gold-200, #E8C47A);
background: #FFFCF5;
}
.batch-list-item__link {
display: grid;
grid-template-columns: minmax(80px, max-content) 1fr minmax(120px, max-content) minmax(80px, max-content) auto;
gap: 1rem;
align-items: center;
padding: 0.85rem 1rem;
text-decoration: none;
color: var(--color-onyx, #0A0A0A);
}
.batch-list-item__link:hover {
text-decoration: none;
color: var(--color-onyx, #0A0A0A);
}
.batch-list-item__cohort {
font-weight: 600;
color: var(--color-onyx, #0A0A0A);
}
.batch-list-item__date {
color: var(--color-charcoal, #4A4A4A);
font-size: 0.95rem;
}
.batch-list-item__status {
display: inline-block;
padding: 0.2rem 0.65rem;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 500;
background: rgba(212, 168, 75, 0.2);
color: var(--color-onyx, #0A0A0A);
text-align: center;
}
.batch-list-item__status--sold_out,
.batch-list-item__status--completed {
background: rgba(74, 74, 74, 0.15);
color: var(--color-charcoal, #4A4A4A);
}
.batch-list-item__price {
color: var(--color-charcoal, #4A4A4A);
font-weight: 600;
text-align: right;
}
.batch-list-item__arrow {
color: var(--color-charcoal, #4A4A4A);
font-size: 1.1rem;
}
@media (max-width: 640px) {
.batch-list-item__link {
grid-template-columns: 1fr auto;
gap: 0.5rem;
}
.batch-list-item__date,
.batch-list-item__price {
grid-column: 1 / -1;
font-size: 0.9rem;
}
.batch-list-item__status {
grid-column: 2;
grid-row: 1;
}
.batch-list-item__arrow {
display: none;
}
} .batch-section--siblings {
margin-top: 3rem;
}
.batch-back-link {
margin: 1.5rem 0 0;
text-align: center;
}
.batch-back-link a {
display: inline-block;
padding: 0.6rem 1.5rem;
border: 1px solid var(--color-gold-200, #E8C47A);
border-radius: 8px;
color: var(--color-onyx, #0A0A0A);
text-decoration: none;
font-weight: 500;
transition: background-color 0.15s ease;
}
.batch-back-link a:hover {
background: #FFFCF5;
color: var(--color-onyx, #0A0A0A);
text-decoration: none;
}