/*
Theme Name: Theme Terminal
Theme URI: https://themeterminal.com
Author: Theme Terminal
Description: A custom WordPress theme converted from the Amdesk static template
Version: 1.0.0
Text Domain: ThemeTerminal
*/

/* Import any theme defaults here; primary styles are loaded via enqueues in functions.php */

body {
	overflow-x: hidden;
}

p:only-child,
p:last-child {
	margin-bottom: 0 !important;
}

.blog-post-box p:only-child,
.blog-post-box p:last-child {
	margin: 0 !important;
}

/* Improve reading rhythm on pages and single blog posts without changing archives or widgets. */
:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) {
    color: #46505e;
    font-size: clamp(1.03rem, 0.99rem + 0.2vw, 1.1rem);
    line-height: 1.78;
    letter-spacing: 0.003em;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(p, ul, ol, blockquote, pre, table, figure) {
    margin-top: 0;
    margin-bottom: 1.45rem;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p {
    margin-top: 0;
    margin-bottom: 1.45rem;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p:last-child,
:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p:only-child {
    margin-bottom: 1.45rem !important;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > p:last-child,
:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > p:only-child {
    margin-bottom: 0 !important;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(p, ul, ol) + :where(h2, h3, h4, h5, h6) {
    margin-top: 2.5rem;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(h1, h2, h3, h4, h5, h6) {
    margin-top: 0;
    margin-bottom: 0.9rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #18202d;
    text-wrap: balance;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) h1 {
    font-size: clamp(2rem, 1.75rem + 1vw, 2.7rem);
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) h2 {
    font-size: clamp(1.6rem, 1.45rem + 0.6vw, 2.1rem);
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) h3 {
    font-size: clamp(1.35rem, 1.25rem + 0.35vw, 1.7rem);
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(ul, ol) {
    padding-left: 1.35em;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) li + li {
    margin-top: 0.4rem;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) blockquote {
    padding: 0.25rem 0 0.25rem 1.4rem;
    color: #2d3748;
    border-left: 3px solid rgba(43, 111, 191, 0.35);
    font-size: 1.08em;
    font-weight: 500;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(strong, b) {
    color: #18202d;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > :first-child {
    margin-top: 0 !important;
}

:is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > :last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) {
        font-size: 1rem;
        line-height: 1.72;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(p, ul, ol, blockquote, pre, table, figure) {
        margin-bottom: 1.2rem;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p {
        margin-bottom: 1.2rem;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p:last-child,
    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) p:only-child {
        margin-bottom: 1.2rem !important;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > p:last-child,
    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) > p:only-child {
        margin-bottom: 0 !important;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) :where(p, ul, ol) + :where(h2, h3, h4, h5, h6) {
        margin-top: 2rem;
    }

    :is(body.page, body.single-post) .main :is(.blog-post-box, .post-content, .page-content, article.type-page, article.type-post, .row > .col-lg-8, .row > .col-lg-12) blockquote {
        padding-left: 1rem;
    }
}

.home-container {
	margin: 0 auto;
	padding: 60px 0;
	max-width: 750px;
}

.home-container .ghostkit-button-wrapper-inner {
	margin-bottom: -10px;
	font-size: 14px;
}

.home-container h2 {
	line-height: 1.2;
	margin: 0 !important;
}

.home-container:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.service {
	border: 1px solid #ccc !important;
	padding: 30px;
	margin-bottom: 30px;
}

.service:only-child,
.service:last-child {
	margin-bottom: 0;
}

.single-download .edd-submit,
.single-download .btn {
    display: block;
    font-size: 16px !important;
    letter-spacing: 0 !important;
}

.cta .btn {
    margin-top: 30px;
}

.account-title {
    font-size: 20px;
    margin-top: 40px;
}

.search-result-thumbnail,
.vp-portfolio__item-wrap figure,
.portfolio-item-image,
.img-wrap {
    padding: 0;
}

.img-wrap {
    height: 438px;
    overflow: hidden;
}

.img-wrap img {
    object-position: top center;
}

.portfolio-item-image .wp-post-image,
.box-decorated img {
    padding: 0;
}

.portfolio-item-image {
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat;
    min-height: 220px;
    position: relative;
    transition: background 0.5s ease;
}

.portfolio-item-image .portfolio-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item-image:hover .portfolio-item-overlay {
    opacity: 1;
}

.portfolio-item {
    border: 1px solid #cccccc63;
}

.portfolio-item-info {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #cccccc63;
}

.portfolio-item-info .portfolio-item-title,
.portfolio-item-info .portfolio-item-price {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 14px 20px;
    color: #232323;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.portfolio-item-info .portfolio-item-title {
    width: 100%;
    font-size: 1.15rem;
    font-weight: 600;
    padding-right: 12px;
}

.portfolio-item-info .portfolio-item-price {
    flex: 0 0 auto;
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    border-left: 1px solid #cccccc63;
}

.portfolio-item-info a:hover,
.portfolio-item-info a:focus {
    color: var(--amdesk-accent, #2b6fbf);
    text-decoration: none;
}

.portfolio-item.block-decorated,
.box.box-decorated.has-post-thumbnail {
    overflow: hidden;
}

.portfolio-item.block-decorated .portfolio-item-image,
.box.box-decorated.has-post-thumbnail > .img-wrap {
    margin: 0;
    border-radius: 0;
}

.box.box-decorated.has-post-thumbnail > .img-wrap {
    margin: -1px -1px 0;
    height: auto;
}

.box.box-decorated.has-post-thumbnail > .img-wrap img,
.portfolio-item.block-decorated .portfolio-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 !important;
}

.box.box-decorated.has-post-thumbnail > .img-wrap img {
    height: auto;
}

.theme-details-card,
.theme-price-card {
    border-color: rgba(35, 35, 35, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.theme-details-card-title {
    margin-bottom: 0;
    padding-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5b6574;
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
}

.theme-detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
}

.theme-detail-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.theme-detail-row:first-of-type {
    padding-top: 20px;
}

.theme-details-card .widget-information-title,
.theme-price-card .widget-information-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8491;
    line-height: 1.3;
}

.theme-detail-value {
    display: block;
    margin-left: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1d2430;
}

.theme-price-card .theme-detail-row {
    padding: 0;
    border-bottom: 0;
    gap: 6px;
}

.theme-price-card .theme-detail-value {
    font-size: 1.1rem;
    color: var(--amdesk-accent, #2b6fbf);
}

@media (max-width: 991px) {
    .theme-detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .theme-detail-value {
        margin-left: 0;
        text-align: left;
    }
}

/* EDD */
.edd-cart-added-alert {
	display: none !important;
}

.single .edd-submit {
    padding: 21px 38px;
    font-size: .75rem;
	width: 100%;
	text-align: center;
}

.single-download .edd_download_purchase_form {
	margin-bottom: 0 !important;
}

.navbar .icon {
    font-size: 28px !important;
}

.title-date {
    text-align: center;
    color: #fff;
    margin-top: 5px;
}

/* EDD */
.blog-post-box .edd_download_purchase_form {
    display: none;
}

#edd_terms_agreement,
#edd_show_terms {
	margin: 10px 0 !important;
}
.edd-input {
	background: #f3f3f3;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	color: #121212;
	padding: 15px !important;
	margin-bottom: 15px !important;
	width: 100% !important;
}

.edd-blocks-form__cart .edd-blocks-cart__row, .edd-blocks-form__cart .edd_cart_footer_row {
    padding: 10px 20px !important;
}

/*--------------------------------------------------------------
Minimal EDD Form Styling
--------------------------------------------------------------*/
.edd-logged-out {
    display: none;
}
/* General EDD Containers */
.edd, .edd-cart, .edd_checkout, #edd_checkout_cart, .wp-block-edd-checkout, #edd_checkout_form_wrap {
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
}

/* Forms and Inputs */
.edd_form, .edd-form, #edd_profile_editor_form {
    padding: 0;
}

.edd_form input[type="text"],
.edd_form input[type="email"],
.edd_form input[type="tel"],
.edd_form input[type="number"],
.edd_form input[type="password"],
.edd_form select,
.edd_form textarea,
.wp-block-edd-checkout input,
.wp-block-edd-checkout select,
.wp-block-edd-checkout textarea,
.edd-blocks-form input,
#edd_profile_editor_form input,
#edd_profile_editor_form select,
#edd_profile_editor_form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.edd_form input:focus,
.edd_form select:focus,
.edd_form textarea:focus,
.wp-block-edd-checkout input:focus,
#edd_profile_editor_form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Fieldsets and Labels */
.edd_form fieldset,
.edd-form fieldset,
#edd_profile_editor_form fieldset,
.wp-block-edd-checkout fieldset,
#edd_cc_fields {
    border: 0 !important;
    padding: 0 !important;
    margin: 14px 0 !important;
}

.edd_form label,
.edd-form label,
#edd_profile_editor_form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.edd_form fieldset legend,
#edd_profile_editor_form fieldset legend {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 8px;
}

#edd-purchase-button[disabled],
.edd-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tables */
.edd-cart-table,
#edd_checkout_cart,
.edd-profile-table,
#edd_subscription_receipt {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

.edd-cart-table th,
.edd-cart-table td,
#edd_checkout_cart th,
#edd_checkout_cart td,
.edd-profile-table th,
.edd-profile-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.edd-cart-table th,
#edd_checkout_cart th,
.edd-profile-table th {
    background: #f9fafb;
    font-weight: 500;
}

/* Status Pills */
.edd-subscription-status,
.edd-status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.edd-subscription-status.active,
.edd-status-pill.active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.edd-subscription-status.cancelled,
.edd-subscription-status.expired,
.edd-status-pill.cancelled,
.edd-status-pill.expired {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Notices */
.edd-success,
.edd-error,
.edd-message,
.edd-notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid;
    font-size: 14px;
}

.edd-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.edd-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Stripe Elements */
#edd_card_wrap,
#edd-card-wrap,
#edd-stripe-payment-element,
.StripeElement {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    box-sizing: border-box;
}

#edd-stripe-payment-element .__PrivateStripeElement,
.StripeElement,
.StripeElement *,
.__PrivateStripeElement {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Profile and History Titles */
#edd_profile_editor_title,
#purchase_history_title,
#edd_subscriptions_title,
#download_history_title {
    font-weight: 700;
    margin-bottom: 20px;
}

/* Terms and Misc */
#edd_terms {
    margin-bottom: 1.25rem;
}

#edd_terms_agreement {
    border: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

#edd_profile_submit_wrap {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-edd-receipt h3 {
    margin: 20px 0 12px;
    color: #0f172a;
}

/* Responsive */
@media (max-width: 768px) {
    .edd,
    .edd-cart,
    .edd_checkout,
    .wp-block-edd-checkout {
        margin: 0 10px;
        padding: 15px;
    }

    .edd-cart-table th,
    .edd-cart-table td {
        padding: 8px;
        font-size: 14px;
    }

    .edd-submit,
    #edd-purchase-button {
        width: 100%;
    }
}
.edd_purchase_submit_wrapper {
	position: relative;
}

.ghostkit-pricing-table-item {
	border-radius: 0 !important;
}

.edd-submit,
.edd-submit:active,
.edd-submit:focus {
  outline: none;
  background: #151515;
  color: #eee;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.edd-submit:hover {
      transform: translateY(-3px);
}

.edds-buy-now-modal #edd_checkout_form_wrap #edd_purchase_submit {
	margin: 0 !important;
	padding: 0;
}

.edds-buy-now-modal #edd_checkout_form_wrap #edd_purchase_submit .edd-submit {
	width: 100% !important
}

.edd_checkout_form_wrap .edd-submit {
	width: 100%;
}

.edd-stripe-new-card {
	margin-bottom: 20px !important;
}

.edd-success {
	background: inherit !important;
	color: inherit !important;
	border-color: inherit !important;
	padding: inherit !important;
	margin-bottom: inherit !important;
	border-radius: inherit !important;
	border: inherit !important;
}

.icon-container svg {
	opacity: .6;
	margin-bottom: 20px;
}

.addtoany_content {
	border-top: 1px solid #eee;
	margin-top: 40px !important;
	padding-top: 20px;
}

#edd_checkout_form_wrap input[type=checkbox] {
	width: auto !important;
}

/* Widget and block widget styling */
.sidebar,
.widget-area,
.wp-block-widget-area {
    --tt-widget-surface: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    --tt-widget-border: rgba(15, 23, 42, 0.08);
    --tt-widget-divider: rgba(148, 163, 184, 0.22);
    --tt-widget-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --tt-widget-text: #334155;
    --tt-widget-heading: #111827;
    --tt-widget-accent: var(--amdesk-accent, #2b6fbf);
    --tt-widget-accent-strong: #1f4fa3;
}

.sidebar .widget,
.widget-area .widget,
.wp-block-widget-area .widget {
    border: 1px solid var(--tt-widget-border);
    background: var(--tt-widget-surface);
    box-shadow: var(--tt-widget-shadow);
    color: var(--tt-widget-text);
    overflow: hidden;
}

.sidebar .widget > :last-child,
.widget-area .widget > :last-child,
.wp-block-widget-area .widget > :last-child,
.widget.widget_block > :last-child {
    margin-bottom: 0;
}

.widget.widget_block,
.widget .wp-block-group.is-layout-constrained,
.widget .wp-block-group.is-layout-flow {
    color: var(--tt-widget-text);
}

.widget.widget_block > :is(h1, h2, h3, h4, .wp-block-heading),
.widget .wp-block-group > :is(h1, h2, h3, h4, .wp-block-heading):first-child,
.widget .wp-block-search > .wp-block-search__label,
.widget .wp-block-calendar caption {
    margin: 0 0 20px;
    padding-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--tt-widget-heading);
    border-bottom: 1px solid var(--tt-widget-border);
}

.widget.widget_block > :is(p, ul, ol, form, figure, table, .wp-block-group, .wp-block-search, .wp-block-latest-posts, .wp-block-latest-comments, .wp-block-categories, .wp-block-archives, .wp-block-page-list, .wp-block-tag-cloud, .wp-block-rss, .wp-block-social-links, .wp-block-separator) + :is(h1, h2, h3, h4, .wp-block-heading),
.widget .wp-block-group > :not(:first-child):is(h1, h2, h3, h4, .wp-block-heading) {
    margin-top: 24px;
}

.widget.widget_block :where(p, li, label, small, cite, figcaption, .wp-block-latest-comments__comment-meta, .wp-block-rss__item-publish-date) {
    color: var(--tt-widget-text);
    line-height: 1.65;
    letter-spacing: 0;
}

.widget.widget_block :where(ul, ol):not(.wp-block-social-links) {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.widget.widget_block :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-categories, .wp-block-archives, .wp-block-page-list, .wp-block-rss) li,
.widget.widget_block .wp-block-group :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-categories, .wp-block-archives, .wp-block-page-list, .wp-block-rss) li,
.widget.widget_block > ul > li,
.widget.widget_block > ol > li {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid var(--tt-widget-divider);
    list-style: none;
}

.widget.widget_block :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-categories, .wp-block-archives, .wp-block-page-list, .wp-block-rss) li:last-child,
.widget.widget_block > ul > li:last-child,
.widget.widget_block > ol > li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.widget.widget_block a,
.widget .wp-block-group a,
.widget .wp-block-latest-posts a,
.widget .wp-block-latest-comments a,
.widget .wp-block-categories a,
.widget .wp-block-archives a,
.widget .wp-block-page-list a,
.widget .wp-block-rss a {
    color: var(--tt-widget-heading);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.widget.widget_block a:hover,
.widget.widget_block a:focus,
.widget .wp-block-group a:hover,
.widget .wp-block-group a:focus,
.widget .wp-block-latest-posts a:hover,
.widget .wp-block-latest-posts a:focus,
.widget .wp-block-page-list a:hover,
.widget .wp-block-page-list a:focus,
.widget .wp-block-rss a:hover,
.widget .wp-block-rss a:focus {
    color: var(--tt-widget-accent);
}

.widget.widget_block .wp-block-latest-posts__post-title,
.widget.widget_block .wp-block-rss__item-title a,
.widget.widget_block .wp-block-page-list a,
.widget.widget_block .wp-block-categories a,
.widget.widget_block .wp-block-archives a {
    font-weight: 600;
}

.widget.widget_block .wp-block-latest-posts__post-date,
.widget.widget_block .wp-block-latest-comments__comment-date,
.widget.widget_block .wp-block-rss__item-publish-date,
.widget.widget_block .wp-block-latest-comments__comment-excerpt p {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    color: #64748b;
}

.widget.widget_block .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget.widget_block .wp-block-tag-cloud a,
.widget.widget_block .tag-cloud-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.92rem !important;
    font-weight: 600;
    color: var(--tt-widget-accent-strong);
    background: rgba(43, 111, 191, 0.08);
    border: 1px solid rgba(43, 111, 191, 0.14);
    border-radius: 999px;
}

.widget.widget_block .wp-block-tag-cloud a:hover,
.widget.widget_block .wp-block-tag-cloud a:focus,
.widget.widget_block .tag-cloud-link:hover,
.widget.widget_block .tag-cloud-link:focus {
    color: #fff;
    background: var(--tt-widget-accent);
    border-color: var(--tt-widget-accent);
}

.widget.widget_block .wp-block-search__inside-wrapper {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    background: #f8fafc;
}

.widget.widget_block .wp-block-search__input,
.widget.widget_block input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.widget.widget_block select,
.widget.widget_block textarea,
.widget.widget_block .wp-block-calendar table {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
}

.widget.widget_block .wp-block-search__input,
.widget.widget_block input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.widget.widget_block select,
.widget.widget_block textarea {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    color: #0f172a;
    box-shadow: none;
}

.widget.widget_block .wp-block-search__button,
.widget.widget_block .wp-element-button,
.widget.widget_block button,
.widget.widget_block input[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--tt-widget-accent) 0%, #174a8f 100%);
    box-shadow: 0 14px 30px rgba(23, 74, 143, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.widget.widget_block .wp-block-search__button:hover,
.widget.widget_block .wp-element-button:hover,
.widget.widget_block button:hover,
.widget.widget_block input[type='submit']:hover,
.widget.widget_block .wp-block-search__button:focus,
.widget.widget_block .wp-element-button:focus,
.widget.widget_block button:focus,
.widget.widget_block input[type='submit']:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(23, 74, 143, 0.26);
    color: #fff;
}

.widget.widget_block .wp-block-calendar table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--tt-widget-divider);
    background: #fff;
}

.widget.widget_block .wp-block-calendar th,
.widget.widget_block .wp-block-calendar td {
    padding: 10px;
    text-align: center;
    border: 0;
    border-bottom: 1px solid var(--tt-widget-divider);
    border-right: 1px solid var(--tt-widget-divider);
}

.widget.widget_block .wp-block-calendar tr:last-child td,
.widget.widget_block .wp-block-calendar td:last-child,
.widget.widget_block .wp-block-calendar th:last-child {
    border-right: 0;
}

.widget.widget_block .wp-block-calendar tr:last-child td {
    border-bottom: 0;
}

.widget.widget_block .wp-block-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.widget.widget_block .wp-block-social-link {
    margin: 0;
    transform: none;
}

.widget.widget_block .wp-block-separator {
    margin: 22px 0;
    border-color: var(--tt-widget-divider);
    opacity: 1;
}

.widget.widget_block .wp-block-image img,
.widget.widget_block .wp-block-cover,
.widget.widget_block .wp-block-media-text {
    border-radius: 14px;
    overflow: hidden;
}

.widget.widget_block .wp-block-quote,
.widget.widget_block blockquote {
    padding: 18px 20px;
    margin: 0;
    background: rgba(15, 23, 42, 0.03);
    border-left: 3px solid var(--tt-widget-accent);
    border-radius: 12px;
}

.widget.widget_block .wp-block-quote p:last-child,
.widget.widget_block blockquote p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .widget.widget_block .wp-block-search__inside-wrapper {
        flex-direction: column;
    }

    .widget.widget_block .wp-block-search__button,
    .widget.widget_block .wp-element-button,
    .widget.widget_block button,
    .widget.widget_block input[type='submit'] {
        width: 100%;
    }
}

.home-header {
    font-size: 62px !important;
    margin-bottom: 22px !important;
}