/*
Theme Name: GT_Design
Theme URI: https://gtd.ro
Author: Grig
Author URI: https://grig.blog
Description: Temă WordPress modernă, inspirată din stilul dark/glass GTD, cu șablon de home pe secțiuni și șablon de articol cu accent pe lizibilitate.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
Version: 1.4
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: gtdesign
*/

:root{
    --radius:24px;
    --radius-sm:16px;
    --container:1180px;
    --brand-logo-width:56px;
    --brand-logo-height:56px;
    --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    --font-headings:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    --font-size-base:16px;

    --surface-soft:color-mix(in srgb, var(--card) 88%, var(--bg) 12%);
    --surface-strong:color-mix(in srgb, var(--card-solid) 94%, var(--bg) 6%);
    --surface-hover:color-mix(in srgb, var(--card) 80%, var(--bg) 20%);
    --shadow:0 24px 60px color-mix(in srgb, var(--text) 14%, transparent);
    --link:var(--accent);
    --link-hover:var(--heading);
    --line-soft: color-mix(in srgb, var(--line) 35%, transparent);
    --line-strong: color-mix(in srgb, var(--line) 85%, transparent);
}

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

html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:var(--font-body);
    font-size:var(--font-size-base);
    line-height:1.72;
    color:var(--text);
    background:var(--bg);
}

img{max-width:100%;height:auto;display:block}

a{
    color:var(--link);
    text-decoration:none;
    transition:color .2s ease, opacity .2s ease;
}

a:hover{color:var(--link-hover)}

p{margin:0 0 1rem}

h1,h2,h3,h4,h5,h6{
    margin:0 0 1rem;
    line-height:1.15;
    color:var(--heading);
    font-family:var(--font-headings);
}

h1{font-size:clamp(2.1rem,5vw,4rem);letter-spacing:-.04em}
h2{font-size:clamp(1.6rem,3vw,2.8rem);letter-spacing:-.03em}
h3{font-size:1.35rem}

ul,ol{margin:0 0 1.2rem 1.3rem;padding:0}
li{margin:.45rem 0}

blockquote{
    margin:1.5rem 0;
    padding:1.25rem 1.25rem 1.25rem 1rem;
    border-left:4px solid var(--accent);
    border-radius:0 var(--radius-sm) var(--radius-sm) 0;
    background:var(--surface-soft);
    color:var(--card-text);
}

pre,code,kbd{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

pre{
    overflow:auto;
    padding:1rem;
    border:1px solid var(--line-soft);
    border-radius:var(--radius-sm);
    background:var(--surface-strong);
    color:var(--card-text);
}

code{
    padding:.15rem .35rem;
    border-radius:8px;
    background:var(--surface-soft);
    color:inherit;
}

table{
    width:100%;
    margin:1.2rem 0;
    border-collapse:collapse;
    border:1px solid var(--line-soft);
    border-radius:var(--radius-sm);
    overflow:hidden;
}

th,td{
    padding:.9rem 1rem;
    text-align:left;
    border-bottom:1px solid var(--line-soft);
}

th{background:var(--surface-soft)}

.container{
    width:min(var(--container), calc(100% - 2rem));
    margin:0 auto;
}

/* Accessibility */
.screen-reader-text,
.skip-link,
.sr-only{
    position:absolute!important;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.skip-link:focus,
.screen-reader-text:focus{
    width:auto;
    height:auto;
    clip:auto;
    margin:1rem;
    padding:.75rem 1rem;
    border-radius:999px;
    background:var(--card);
    color:var(--heading);
    z-index:9999;
}

/* Shared surfaces */
.content-area,
.sidebar-inner,
.comments-wrap,
.post-card,
.section-card,
.hero-glass-panel,
.gt-home-panel,
.article-focus-card,
.toc-card,
.info-card{
    background:var(--surface-soft);
    border:1px solid var(--line-soft);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    color:var(--card-text);
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6,
.sidebar-inner h1,
.sidebar-inner h2,
.sidebar-inner h3,
.sidebar-inner h4,
.sidebar-inner h5,
.sidebar-inner h6,
.comments-wrap h1,
.comments-wrap h2,
.comments-wrap h3,
.comments-wrap h4,
.comments-wrap h5,
.comments-wrap h6,
.post-card h1,
.post-card h2,
.post-card h3,
.post-card h4,
.post-card h5,
.post-card h6,
.section-card h1,
.section-card h2,
.section-card h3,
.section-card h4,
.section-card h5,
.section-card h6,
.hero-glass-panel h1,
.hero-glass-panel h2,
.hero-glass-panel h3,
.hero-glass-panel h4,
.hero-glass-panel h5,
.hero-glass-panel h6,
.gt-home-panel h1,
.gt-home-panel h2,
.gt-home-panel h3,
.gt-home-panel h4,
.gt-home-panel h5,
.gt-home-panel h6,
.article-focus-card h1,
.article-focus-card h2,
.article-focus-card h3,
.article-focus-card h4,
.article-focus-card h5,
.article-focus-card h6,
.toc-card h1,
.toc-card h2,
.toc-card h3,
.toc-card h4,
.toc-card h5,
.toc-card h6,
.info-card h1,
.info-card h2,
.info-card h3,
.info-card h4,
.info-card h5,
.info-card h6{
    color:var(--card-heading);
}

.section-card,
.comments-wrap,
.sidebar-inner,
.toc-card,
.info-card,
.gt-home-panel{padding:1.35rem}

.post-card,
.article-focus-card{padding:1.45rem}

.post-card + .post-card{margin-top:1.25rem}

.reading-progress-bar{
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:2px;
    background:var(--surface-soft);
}

.reading-progress-bar span{
    display:block;
    width:0;
    height:100%;
    background:var(--accent);
}

/* Text helpers */
.lead,
.archive-meta,
.entry-meta,
.entry-summary,
.entry-summary p,
.widget-container,
.widget-container p,
.widget-container li,
.comment-meta,
.comment-notes,
.logged-in-as,
.footer-branding p,
.footer-bottom,
.entry-footer,
.comment-content,
.home-hero-note,
.article-focus-meta,
.article-focus-lead{
    color:var(--muted);
}

/* Header */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:color-mix(in srgb, var(--header-bg) 90%, transparent);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line-soft);
    transition:background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled{
    box-shadow:0 10px 30px color-mix(in srgb, var(--text) 10%, transparent);
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    min-height:75px;
}

.site-branding,
.site-branding .brand,
.site-nav{
    display:flex;
    align-items:center;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:.85rem;
    min-width:0;
}

.brand-logo .custom-logo,
.brand-mark{
    width:var(--brand-logo-width);
    height:var(--brand-logo-height);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:0;
    transition:width .25s ease, height .25s ease;
}

.brand-logo .custom-logo{
    max-width:none;
    object-fit:contain;
}

.brand-mark{
    background:linear-gradient(135deg, var(--accent), var(--accent-2));
    color:var(--button-text);
    font-size:1.1rem;
    font-weight:800;
}

.brand-text{display:grid;gap:.12rem}
.brand-text strong{font-size:1rem;letter-spacing:.02em;color:var(--card-heading)}
.brand-text span{font-size:.92rem;color:var(--muted)}

.site-branding .brand-text{display:none}

.site-nav{gap:1rem}
.nav-checkbox{display:none}

.nav-toggle{
    display:none;
    width:48px;
    height:48px;
    padding:.8rem;
    border:1px solid var(--line-soft);
    border-radius:0;
    background:var(--surface-soft);
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:100%;
    height:2px;
    background:var(--menu-active-text);
}

.nav-toggle span + span{margin-top:.32rem}

.menu,
.menu ul{
    margin:0;
    padding:0;
    list-style:none;
}

.menu{
    display:flex;
    align-items:stretch;
    gap:0;
}

.menu li{
    position:relative;
    margin:0;
}

.menu > li{
    display:flex;
    align-items:stretch;
}

.menu > li > a{
    display:inline-flex;
    align-items:center;
    min-height:74px;
    padding:0 14px;
    color:var(--menu-text);
    font-weight:600;
    border:1px solid transparent;
    border-bottom:0;
    transition:color .2s ease, background .2s ease, border-color .2s ease;
    position:relative;
}

.site-header.is-scrolled .header-inner{min-height:50px}

.site-header.is-scrolled .brand-logo .custom-logo,
.site-header.is-scrolled .brand-mark{
    width:calc(var(--brand-logo-width) * .72);
    height:calc(var(--brand-logo-height) * .72);
}

.site-header.is-scrolled .menu > li > a{
    min-height:49px;
    padding:0 12px;
}

@media (min-width:861px){
    .menu > li > a:hover,
    .menu > li.current-menu-item > a,
    .menu > li.current_page_item > a,
    .menu > li.current-menu-ancestor > a{
        color:var(--menu-active-text);
        background:var(--menu-active-bg);
        border-color:var(--line-soft);
        margin-bottom:-1px;
        z-index:2;
    }
}

.menu ul{
    position:absolute;
    top:calc(100% + .35rem);
    left:0;
    min-width:220px;
    padding:.5rem;
    border:1px solid var(--line-soft);
    background:var(--surface-strong);
    box-shadow:var(--shadow);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index:30;
}

.menu li:hover > ul,
.menu li:focus-within > ul{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.menu ul a{
    display:flex;
    width:100%;
    padding:.7rem .85rem;
    color:var(--menu-text);
}

.menu ul a:hover,
.menu ul .current-menu-item > a,
.menu ul .current_page_item > a{
    color:var(--menu-active-text);
    background:var(--menu-active-bg);
}

/* Layout */
.site-main{padding:2rem 0 3rem}

.content-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,340px);
    gap:1.5rem;
    align-items:start;
}

.layout-full-width .content-grid{grid-template-columns:1fr}
.layout-full-width #sidebar{display:none}
.layout-full-width .content-area{max-width:none}

.entry-header{margin-bottom:1rem}
.entry-title{margin-bottom:.45rem;word-break:break-word}
.entry-title a{color:var(--card-heading)}
.entry-title a:hover{color:var(--link-hover)}

.entry-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.55rem;
    font-size:.92rem;
}

.meta-sep{color:var(--muted)}

.entry-summary,
.entry-content{
    font-size:1rem;
    color:var(--card-text);
}

.entry-summary{display:grid;gap:1rem}

.summary-thumb img,
.featured-media,
.entry-content img,
.home-hero-image{
    width:100%;
    height:auto;
    margin-bottom:1rem;
    border:1px solid var(--line-soft);
    border-radius:20px;
}

.entry-content > *:last-child,
.entry-summary > *:last-child,
.widget-container > *:last-child,
.comment-content > *:last-child{
    margin-bottom:0;
}

.entry-content a,
.entry-summary a,
.widget-container a,
.comment-content a,
.entry-footer a,
.article-focus-body a,
.home-sections-content a{
    color:var(--accent);
}

.entry-content a:hover,
.entry-summary a:hover,
.widget-container a:hover,
.comment-content a:hover,
.entry-footer a:hover,
.article-focus-body a:hover,
.home-sections-content a:hover{
    color:var(--heading);
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.article-focus-body h2,
.article-focus-body h3,
.article-focus-body h4{
    margin-top:1.5rem;
}

.entry-links{margin-top:1rem}

.entry-footer{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    margin-top:1rem;
    padding-top:1rem;
    border-top:1px solid var(--line-soft);
    font-size:.95rem;
}

.sidebar{position:sticky;top:calc(75px + 1rem)}

.widget-list,
.xoxo{
    list-style:none;
    margin:0;
    padding:0;
}

.widget-container{
    margin:0;
    padding:1rem 0;
}

.widget-container + .widget-container{border-top:1px solid var(--line-soft)}
.widget-title,
.wp-block-heading{margin-bottom:.8rem;font-size:1.05rem}

/* Forms & buttons */
.button,
button,
input[type=submit],
input[type=button],
input[type=reset]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    min-height:3rem;
    padding:.85rem 1.25rem;
    border:1px solid transparent;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.button:hover,
button:hover,
input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover{
    transform:translateY(-1px);
}

.button-primary,
button,
input[type=submit]{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--button-text);
}

.button-primary:hover,
button:hover,
input[type=submit]:hover{
    color:var(--button-text);
}

.button-outline,
.more-link,
input[type=button],
input[type=reset]{
    background:var(--surface-soft);
    border-color:var(--line-soft);
    color:var(--card-text);
}

.button-small{min-height:2.6rem;padding:.65rem 1rem}

input[type=text],
input[type=email],
input[type=url],
input[type=search],
input[type=password],
textarea,
select{
    width:100%;
    padding:.9rem 1rem;
    border:1px solid var(--line-soft);
    border-radius:16px;
    background:var(--surface-strong);
    color:var(--card-text);
    outline:none;
}

textarea{
    min-height:140px;
    resize:vertical;
}

.search-form{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.75rem;
}

.search-form label{flex:1 1 260px}

.posts-nav,
.post-nav,
.comments-navigation{margin-top:1.25rem}

.posts-nav .nav-links,
.post-nav .nav-links{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    padding-top:1rem;
    border-top:1px solid var(--line-soft);
}

.posts-nav a,
.post-nav a,
.paginated-comments-links a,
.page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.7rem 1rem;
    border:1px solid var(--line-soft);
    border-radius:999px;
    background:var(--surface-soft);
    color:var(--card-text);
}

.page-numbers.current{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--button-text);
}

.comment-list{
    list-style:none;
    margin:0;
    padding:0;
}

.comment-list .comment{
    padding:1rem 0;
    border-top:1px solid var(--line-soft);
}

.comment-list .comment:first-child{
    padding-top:0;
    border-top:0;
}

/* Footer */
.site-footer{
    padding:1rem 0 2rem;
    background:var(--header-bg);
    border-top:1px solid var(--line-soft);
}

.footer-inner,
.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    flex-wrap:wrap;
}

.footer-inner{margin-bottom:1rem}
.footer-bottom{
    padding-top:1rem;
    border-top:1px solid var(--line);
    font-size:.95rem;
}

.footer-title{
    margin-bottom:.25rem;
    color:var(--heading);
    font-weight:700;
}

.footer-actions{
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
}

.footer-credit{text-align:right}

/* Home */
.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    margin:1rem auto auto 1rem;
    color:var(--accent);
    font-size:.9rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:.9rem;
    margin:1.75rem 0;
}

.cards-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.25rem;
}

.section-heading{
    max-width:72ch;
    margin-bottom:2rem;
}

.info-card h3{margin-bottom:.7rem}

.stat-card strong{
    display:block;
    font-size:clamp(2rem,5vw,3rem);
    line-height:1;
    color:var(--card-heading);
}

.stat-card span{
    display:block;
    margin-top:.45rem;
    color:var(--muted);
}

.home-about-grid{align-items:center}
.home-cta-panel .button{margin-top:.5rem}

.home-sections-template,
.article-focus-wrap{display:block}

.home-hero{
    margin-bottom:1.5rem;
    padding:1.6rem;
}

.home-hero-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:1.5rem;
    align-items:center;
}

.hero-glass-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:280px;
    padding:1.4rem;
}

.hero-glass-panel strong{
    display:block;
    margin-bottom:.5rem;
    font-size:1.5rem;
}

.home-sections-body{display:block}

.home-sections-content,
.home-sections-fallback{
    display:grid;
    gap:1.5rem;
}

.home-sections-content > div,
.home-sections-content > section,
.home-sections-content > .wp-block-group,
.home-sections-fallback > section{
    margin:0 0 1.5rem;
}

.home-sections-content > div:last-child,
.home-sections-content > section:last-child,
.home-sections-content > .wp-block-group:last-child,
.home-sections-fallback > section:last-child{
    margin-bottom:0;
}

.home-sections-content .gridContainer,
.home-sections-content .gridcontainer{
    width:min(var(--container), 100%);
    margin:0 auto;
}

.home-sections-content .features-coloured-icon-boxes-section,
.home-sections-content .about-big-images-section,
.home-sections-content .content-left-image-section,
.home-sections-content .content-right-image-section,
.home-sections-content .portfolio-full-section,
.home-sections-content .testimonials-boxed-section,
.home-sections-content .cta-blue-section,
.home-sections-content .numbers-section,
.home-sections-content .blog-section,
.home-sections-content .contact-section-formsection{
    padding:1.5rem;
    border:1px solid var(--line-soft);
    border-radius:var(--radius);
    background:var(--surface-soft);
    box-shadow:var(--shadow);
    color:var(--card-text);
}

.home-sections-content .features-coloured-icon-boxes-innerrow,
.home-sections-content .testimonials-boxed-itemsrow,
.home-sections-content .blog-postsrow,
.home-sections-content .portfolio-full-section,
.home-sections-content .numbers-section .gridContainer,
.home-sections-content .row,
.home-sections-content .content-right-image-gridcol{
    display:grid;
    gap:1.25rem;
}

.home-sections-content .features-coloured-icon-boxes-innerrow,
.home-sections-content .portfolio-full-section,
.home-sections-content .blog-postsrow{
    grid-template-columns:repeat(3,1fr);
}

.home-sections-content .testimonials-boxed-itemsrow{grid-template-columns:repeat(2,1fr)}
.home-sections-content .row,
.home-sections-content .content-right-image-gridcol{
    grid-template-columns:repeat(2,1fr);
    align-items:center;
}
.home-sections-content .numbers-section .gridContainer{grid-template-columns:repeat(3,1fr)}

.home-sections-content .features-coloured-icon-boxes-featurecol,
.home-sections-content .testimonials-boxed-itemcard,
.home-sections-content .blog-postcol .post-content,
.home-sections-content .about-big-images-textcol,
.home-sections-content .contact-formcol{
    padding:1.2rem;
    border:1px solid var(--line-soft);
    border-radius:20px;
    background:var(--surface-strong);
    color:var(--card-text);
}

.home-sections-content .about-big-images-bottomrow{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1rem;
    margin-top:1rem;
}

.home-sections-content .about-big-images-bottomrow img,
.home-sections-content .portfolio-full-projectimg,
.home-sections-content .post-list-item-thumb img,
.home-sections-content .custom-image,
.home-sections-content .content-left-image-imgcol img,
.home-sections-content .content-right-image-imgcol img{
    width:100%;
    height:auto;
    border:1px solid var(--line-soft);
    border-radius:18px;
}

.home-sections-content .features-coloured-button,
.home-sections-content .button{margin-top:.75rem}

.home-sections-content .numbers-numbertext{
    margin-bottom:.25rem;
    font-size:clamp(2rem,6vw,3.2rem);
}

.home-sections-content .numbers-itemcol,
.home-sections-content .numbers-itemcol-last{
    padding:1rem;
    text-align:center;
    border:1px solid var(--line-strong);
    border-radius:18px;
    background:var(--surface-strong);
}

.home-sections-content .contact-formcol form,
.home-sections-content .wpcf7 form{
    display:grid;
    gap:.9rem;
}

.home-sections-content .wpcf7-submit{width:auto}

.home-sections-content .blog-textcol,
.home-sections-content .testimonials-boxed-textcol,
.home-sections-content .contact-textcol,
.home-sections-content .about-big-images-textcol{
    text-align:left;
}

/* Article focus */
.article-focus-card{
    padding:0;
    overflow:hidden;
}

.article-focus-hero{padding:2rem 2rem 1.2rem}

.article-focus-title{font-size:clamp(2rem,5vw,3.8rem)}

.article-focus-eyebrow{
    margin-bottom:1rem;
    color:var(--accent);
    font-size:.82rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.article-focus-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
    margin-bottom:1rem;
    font-size:.95rem;
}

.article-focus-media{margin-top:1.25rem}
.article-focus-media .featured-media{margin-bottom:0}

.article-focus-layout{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:1.5rem;
    padding:0 2rem 2rem;
}

.article-focus-sidebar{position:relative}

.toc-card{
    position:sticky;
    top:calc(75px + 1rem);
}

.toc-card h2{
    margin-bottom:.85rem;
    font-size:1rem;
}

.toc-card ol{
    margin:0;
    padding-left:1.1rem;
}

.toc-card li{margin:.5rem 0}
.toc-card li.is-subheading{margin-left:.75rem;font-size:.95rem}

.article-focus-body{font-size:1.06rem}
.article-focus-body p,
.article-focus-body li{font-size:1.04rem}

.article-focus-footer{padding:0 2rem 2rem}

/* GT extras */
.home-hero-note{font-size:1rem;max-width:58ch;color:var(--muted)}

.service-card .button,
.portfolio-card-custom .button{margin-top:.6rem}

.portfolio-grid-custom,
.testimonials-grid-custom{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.25rem;
}

.portfolio-card-custom .summary-thumb img{
    width:100%;
    height:auto;
    border:1px solid var(--line-soft);
    border-radius:18px;
}

.testimonial-card-custom{
    position:relative;
    padding-top:1.8rem;
}

.testimonial-quote-mark{
    position:absolute;
    top:.7rem;
    left:1rem;
    font-size:2.2rem;
    line-height:1;
    font-weight:800;
    color:var(--accent);
}

.testimonial-quote{min-height:5.5rem}

.testimonial-person{
    display:flex;
    align-items:center;
    gap:.85rem;
    margin-top:1rem;
}

.testimonial-person strong{
    display:block;
    color:var(--card-heading);
}

.testimonial-person small{
    display:block;
    margin-top:.15rem;
    color:var(--muted);
}

.testimonial-avatar img{
    width:54px;
    height:54px;
    object-fit:cover;
    border:1px solid var(--line-soft);
    border-radius:999px;
}

.home-services-panel .cards-grid,
.home-portfolio-panel .cards-grid,
.home-testimonials-panel .cards-grid,
.home-posts-panel .cards-grid{
    align-items:stretch;
}

.home-hero-form{
    display:flex;
    align-items:stretch;
}

.home-hero-form .gtd-dl-wrap{
    width:100%;
    max-width:none;
    margin:0;
}

.home-hero-form .gtd-dl-box{
    height:100%;
    box-sizing:border-box;
}

.home-hero-form .gtd-dl-field input,
.home-hero-form .gtd-dl-field textarea,
.home-hero-form .gtd-dl-field select{
    font-size:15px;
}

.gtd-dl-service-picker-row select{
    background:var(--surface-strong)!important;
    color:var(--card-text)!important;
}

/* Content sections inside articles */
section h1,
section h2,
section h3{
    margin-top:0;
    line-height:1.2;
    font-weight:800;
    letter-spacing:-.02em;
}

section h1{
    margin-bottom:18px;
    padding-bottom:12px;
    font-size:2rem;
    color:var(--heading);
    border-bottom:3px solid var(--accent);
}

section h2{
    margin-bottom:16px;
    padding-left:14px;
    font-size:1.45rem;
    color:var(--heading);
    border-left:5px solid var(--accent);
}

section h3{
    margin-bottom:12px;
    font-size:1.15rem;
    color:var(--accent-2);
}

section p{
    margin:0 0 16px;
    font-size:1.05rem;
    line-height:1.8;
}

section p:last-child,
section ul:last-child,
section ol:last-child{
    margin-bottom:0;
}

section strong{font-weight:700}

section ul,
section ol{
    margin:0 0 16px 22px;
    padding:0;
}

section li{
    margin-bottom:10px;
    line-height:1.7;
}

.hero-section,
.article-section,
.cta-section,
.article-intro,
.article-body,
.article-conclusion{
    padding:12px;
    margin:0 0 24px;
    border:1px solid var(--line-soft);
    border-radius:18px;
    background:var(--surface-soft);
    box-shadow:var(--shadow);
    color:var(--card-text);
}

.cta-section{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--button-text);
}

.cta-section h2,
.cta-section p,
.cta-section strong{
    color:inherit;
}

.cta-section h2{
    border-left-color:var(--button-text);
}

.btn-cta{
    display:inline-block;
    margin-top:10px;
    padding:14px 22px;
    border:1px solid var(--line-soft);
    border-radius:12px;
    background:var(--surface-strong);
    color:var(--card-heading)!important;
    font-weight:800;
    text-decoration:none!important;
    transition:transform .2s ease, background .2s ease;
}

.btn-cta:hover{
    transform:translateY(-2px);
    background:var(--surface-hover);
    text-decoration:none!important;
}

/* Responsive */
@media (max-width:1100px){
    .cards-grid,
    .home-sections-content .features-coloured-icon-boxes-innerrow,
    .home-sections-content .portfolio-full-section,
    .home-sections-content .blog-postsrow,
    .portfolio-grid-custom,
    .testimonials-grid-custom{
        grid-template-columns:repeat(2,1fr);
    }

    .home-hero-grid,
    .home-sections-content .row,
    .home-sections-content .content-right-image-gridcol,
    .article-focus-layout{
        grid-template-columns:1fr;
    }

    .content-grid{grid-template-columns:1fr}
    .sidebar,
    .toc-card{position:static}
}

@media (max-width:900px){
    .home-hero-form{margin-top:18px}
}

@media (max-width:860px){
    .nav-toggle{
        display:inline-flex;
        flex-direction:column;
        justify-content:center;
    }

    .site-nav{position:relative}

    .menu{
        position:absolute;
        top:calc(100% + .75rem);
        right:0;
        width:min(320px, calc(100vw - 2rem));
        display:none;
        flex-direction:column;
        align-items:stretch;
        gap:.25rem;
        padding:.75rem;
        border:1px solid var(--line-soft);
        background:var(--surface-strong);
        box-shadow:var(--shadow);
    }

    .menu > li{display:block}

    .menu > li > a,
    .site-header.is-scrolled .menu > li > a{
        width:100%;
        min-height:auto;
        margin:0;
        padding:.8rem .9rem;
        border:0;
        justify-content:flex-start;
    }

    .menu > li > a:hover,
    .menu > li.current-menu-item > a,
    .menu > li.current_page_item > a,
    .menu > li.current-menu-ancestor > a{
        background:var(--menu-active-bg);
        color:var(--menu-active-text);
        border:0;
    }

    .menu ul{
        position:static;
        margin-top:.25rem;
        opacity:1;
        visibility:visible;
        transform:none;
        border:0;
        box-shadow:none;
        background:var(--surface-soft);
    }

    .nav-checkbox:checked ~ .menu{display:flex}

    .home-sections-content .about-big-images-bottomrow,
    .home-sections-content .testimonials-boxed-itemsrow,
    .home-sections-content .numbers-section .gridContainer{
        grid-template-columns:1fr;
    }
}

@media (max-width:680px){
    .container{width:min(var(--container), calc(100% - 1rem))}
    .site-main{padding:1rem 0 2rem}

    .section-card,
    .post-card,
    .sidebar-inner,
    .comments-wrap,
    .toc-card,
    .info-card,
    .gt-home-panel{
        padding:.9rem;
    }

    .header-inner{min-height:64px}
    .site-header.is-scrolled .header-inner{min-height:50px}

    img.custom-logo{
        width:var(--brand-logo-width);
        height:var(--brand-logo-height);
    }

    .site-header.is-scrolled img.custom-logo{
        width:var(--brand-logo-width);
        height:var(--brand-logo-height);
    }

    .brand-text span{display:none}

    .posts-nav .nav-links,
    .post-nav .nav-links,
    .footer-inner,
    .footer-bottom,
    .search-form,
    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .footer-credit{text-align:left}

    .cards-grid,
    .home-sections-content .features-coloured-icon-boxes-innerrow,
    .home-sections-content .portfolio-full-section,
    .home-sections-content .blog-postsrow,
    .home-sections-content .row,
    .home-sections-content .content-right-image-gridcol,
    .portfolio-grid-custom,
    .testimonials-grid-custom{
        grid-template-columns:1fr;
    }

    .article-focus-hero,
    .article-focus-layout,
    .article-focus-footer{
        padding:1rem;
    }

    .article-focus-meta{font-size:.88rem}

    .hero-section,
    .article-section,
    .cta-section,
    .article-intro,
    .article-body,
    .article-conclusion{
        padding:18px 1px;
        border-radius:14px;
    }

    section h1{font-size:1.6rem}
    section h2{font-size:1.25rem}
    section p,
    section li{
        font-size:1rem;
        line-height:1.7;
    }

    .btn-cta{
        display:block;
        width:100%;
        text-align:center;
        box-sizing:border-box;
    }
}
@media (min-width:980px) {
    .home-hero-visual #inscriere-catalog {
        max-height:550px;
        overflow: hidden;
        box-shadow:var(--shadow);
    }
    .home-hero-visual #inscriere-catalog .gtd-dl-box {
        overflow-y:scroll;
    }
}