/*
Theme Name: Resume Portfolio
Theme URI: https://example.com/
Author: Resume Portfolio
Author URI: https://example.com/
Description: A custom premium WordPress resume and portfolio theme built with Tailwind CSS.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: resume-portfolio
*/

/*
|--------------------------------------------------------------------------
| Production Compatibility & Dynamic Customizer Layer
|--------------------------------------------------------------------------
|
| The compiled Tailwind file contains the original visual system. This
| stylesheet intentionally loads after it and connects the live WordPress
| Customizer values to the complete frontend without requiring a rebuild.
|
*/

:root {
    --resume-primary-contrast: #1e1e1e;
    --resume-primary-hover-contrast: #1e1e1e;
    --resume-heading-font: "Poppins", "Helvetica Neue", Arial, sans-serif;
    --resume-body-font: "Open Sans", Arial, sans-serif;
    --resume-section-spacing: 90px;
}

html {
    scroll-behavior: smooth;
}

body,
.resume-one-page,
#page {
    background: var(--resume-light);
    color: var(--resume-text);
    font-family: var(--resume-body-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-sans {
    font-family: var(--resume-heading-font) !important;
}

.resume-dynamic-bg {
    background: var(--resume-white) !important;
}

.resume-dynamic-border {
    border-color: var(--resume-border) !important;
}

.resume-dynamic-max {
    max-width: var(--resume-container) !important;
}

.porto-match-container,
.resume-container {
    max-width: var(--resume-container) !important;
}

/* Core section surfaces. */
.porto-about-match,
.porto-education-match,
.porto-skills-match,
.porto-blog-match,
.porto-footer-match,
.porto-single-blog-match {
    background: var(--resume-white) !important;
}

.porto-experience-match,
.porto-portfolio-match {
    background: var(--resume-light) !important;
}

/* Customizer section spacing, preserving the original section rhythm. */
.porto-about-match,
.porto-experience-match,
.porto-blog-match {
    padding-top: calc(var(--resume-section-spacing) * 0.267) !important;
    padding-bottom: calc(var(--resume-section-spacing) * 0.267) !important;
}

.porto-education-match {
    padding-top: calc(var(--resume-section-spacing) * 0.267) !important;
    padding-bottom: calc(var(--resume-section-spacing) * 0.533) !important;
}

.porto-portfolio-match {
    padding-top: calc(var(--resume-section-spacing) * 0.667) !important;
    padding-bottom: calc(var(--resume-section-spacing) * 0.311) !important;
}

.porto-skills-match {
    padding-top: calc(var(--resume-section-spacing) * 0.667) !important;
    padding-bottom: calc(var(--resume-section-spacing) * 0.667) !important;
}

.porto-recommendations-match {
    padding-top: calc(var(--resume-section-spacing) * 0.667) !important;
    padding-bottom: calc(var(--resume-section-spacing) * 1.1) !important;
    background: var(--resume-primary) !important;
}

/* Dynamic typography. */
[class^="porto-"],
[class*=" porto-"] {
    font-family: var(--resume-heading-font);
}

.porto-about-match-text,
.porto-about-match-text p,
.porto-blog-excerpt,
.porto-single-content,
.porto-single-content p,
.porto-project-intro,
.porto-index-empty {
    font-family: var(--resume-body-font) !important;
}

/* Dynamic heading color. */
.porto-about-match-card-title,
.porto-about-match-title,
.porto-experience-match-title,
.porto-experience-card-title,
.porto-experience-card-company,
.porto-portfolio-title,
.porto-portfolio-filter-button,
.porto-education-title,
.porto-education-card-title,
.porto-skills-title,
.porto-skill-label,
.porto-blog-title,
.porto-blog-card-title,
.porto-blog-card-title a,
.porto-contact-title,
.porto-single-back,
.porto-single-title,
.porto-single-content h2,
.porto-single-content h3,
.porto-single-content h4,
.porto-single-content h5,
.porto-single-content h6,
.porto-single-date,
.porto-single-share strong,
.porto-single-nav-item a,
.porto-project-meta-item strong {
    color: var(--resume-heading) !important;
}

/* Dynamic body color. */
.porto-about-match-detail,
.porto-about-match-text,
.porto-about-match-text p,
.porto-experience-card-description,
.porto-education-degree,
.porto-blog-excerpt,
.porto-blog-date,
.porto-single-meta,
.porto-single-meta time,
.porto-single-content,
.porto-footer-match p,
.porto-project-intro,
.porto-project-meta-item span,
.porto-index-empty {
    color: var(--resume-text) !important;
}

/* Borders and muted tracks. */
#site-header,
#resume-mobile-navigation,
.resume-mobile-nav-link,
.porto-match-action-strip,
.porto-project-meta-grid,
.porto-project-meta-item,
.porto-index-pagination .page-numbers,
.porto-single-nav-item a {
    border-color: var(--resume-border) !important;
}

.porto-skill-track {
    background: var(--resume-border) !important;
}

.porto-skill-value {
    background: var(--resume-heading) !important;
}

/* Primary color driven elements. */
.porto-match-name,
.porto-match-action svg,
.porto-match-action:hover,
.porto-match-action:focus,
.porto-education-icon,
.porto-education-period,
.porto-single-back:hover,
.porto-single-back:focus,
.porto-single-categories {
    color: var(--resume-primary) !important;
}

.porto-recommendations-title,
.porto-recommendation-quote,
.porto-recommendation-quote p,
.porto-recommendation-quote::before,
.porto-recommendation-quote::after,
.porto-recommendation-author strong,
.porto-recommendation-author span {
    color: var(--resume-primary-contrast) !important;
}

.porto-recommendation-author::before {
    border-color: color-mix(in srgb, var(--resume-primary-contrast) 32%, transparent) !important;
}

.porto-recommendation-dot {
    border-color: var(--resume-primary-contrast) !important;
}

.porto-recommendation-dot.is-active,
.porto-recommendation-dot:hover,
.porto-recommendation-dot:focus-visible {
    background: var(--resume-primary-contrast) !important;
}

.resume-button,
.porto-about-match-button,
.porto-portfolio-filter-button.is-active,
.porto-portfolio-filter-button:hover,
.porto-portfolio-filter-button:focus-visible,
.porto-blog-view-all:hover,
.porto-blog-view-all:focus-visible,
.porto-contact-submit,
.porto-index-pagination .page-numbers.current,
.porto-index-pagination .page-numbers:hover,
.porto-index-pagination .page-numbers:focus-visible {
    color: var(--resume-primary-contrast) !important;
}

.resume-button:hover {
    color: var(--resume-primary-hover-contrast) !important;
}

/* Dark buttons use heading-colored backgrounds, so their text must not inherit
   the contrast color calculated for the primary accent. */
.porto-about-match-button,
.porto-contact-submit {
    color: #ffffff !important;
}

/*
|--------------------------------------------------------------------------
| Skills
|--------------------------------------------------------------------------
*/

.porto-skills-layout--skills-only {
    grid-template-columns: 1fr !important;
}

/*
|--------------------------------------------------------------------------
| Hero fields controlled from WordPress Admin
|--------------------------------------------------------------------------
*/

.porto-match-small-title {
    margin: 0 0 8px;
    font-family: var(--resume-heading-font) !important;
    font-size: 11.2px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--porto-match-muted);
}

.porto-match-description {
    max-width: 520px;
    margin: -12px 0 16px;
    font-family: var(--resume-body-font) !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: var(--porto-match-muted);
}

.porto-match-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-family: var(--resume-heading-font) !important;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.porto-match-availability > span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--resume-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--resume-primary) 18%, transparent);
}

/*
|--------------------------------------------------------------------------
| Archive / Page / Project Detail Support
|--------------------------------------------------------------------------
*/

.porto-index-header {
    margin-bottom: 28px;
}

.porto-index-pagination {
    margin-top: 36px;
}

.porto-index-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.porto-index-pagination .page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--resume-border);
    background: transparent;
    color: var(--resume-heading);
    font-family: var(--resume-heading-font) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.porto-index-pagination .page-numbers.current,
.porto-index-pagination .page-numbers:hover,
.porto-index-pagination .page-numbers:focus-visible {
    border-color: var(--resume-primary) !important;
    background: var(--resume-primary) !important;
}

.porto-index-empty {
    font-size: 14px;
    line-height: 1.8;
}

.porto-project-intro {
    max-width: 760px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.8;
}

.porto-project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    max-width: 900px;
    margin: 0 auto 38px;
    background: var(--resume-border);
    border: 1px solid var(--resume-border);
}

.porto-project-meta-item {
    min-width: 0;
    padding: 20px;
    background: var(--resume-white);
}

.porto-project-meta-item.is-wide {
    grid-column: span 2;
}

.porto-project-meta-item span,
.porto-project-meta-item strong {
    display: block;
}

.porto-project-meta-item span {
    margin-bottom: 6px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.porto-project-meta-item strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.porto-project-live-wrap {
    margin: 34px 0 0;
}

.porto-error-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}

.porto-error-code {
    margin: 0 0 8px;
    color: var(--resume-primary);
    font-family: var(--resume-heading-font) !important;
    font-size: clamp(56px, 9vw, 110px);
    font-weight: 700;
    line-height: 1;
}

.porto-error-inner .porto-index-empty {
    margin: 14px 0 28px;
}

@media (max-width: 767px) {
    .porto-project-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .porto-project-meta-item.is-wide {
        grid-column: span 2;
    }

    .porto-project-intro {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .porto-project-meta-grid {
        grid-template-columns: 1fr;
    }

    .porto-project-meta-item.is-wide {
        grid-column: auto;
    }
}

/*
|--------------------------------------------------------------------------
| Live Customizer Interaction States
|--------------------------------------------------------------------------
*/

.porto-about-match-button:hover,
.porto-about-match-button:focus,
.porto-portfolio-filter-button:hover,
.porto-portfolio-filter-button:focus-visible,
.porto-blog-view-all:hover,
.porto-blog-view-all:focus-visible,
.porto-contact-submit:hover,
.porto-contact-submit:focus-visible,
.porto-index-pagination .page-numbers:hover,
.porto-index-pagination .page-numbers:focus-visible {
    border-color: var(--resume-primary-hover) !important;
    background: var(--resume-primary-hover) !important;
    color: var(--resume-primary-hover-contrast) !important;
}

.porto-contact-info-row:hover .porto-contact-info-icon,
.porto-contact-info-row:focus-within .porto-contact-info-icon {
    border-color: var(--resume-primary-hover) !important;
    background: var(--resume-primary-hover) !important;
    color: var(--resume-primary-hover-contrast) !important;
}

.porto-contact-field input,
.porto-contact-field textarea {
    border-color: var(--resume-border) !important;
    color: var(--resume-text-dark) !important;
    font-family: var(--resume-body-font) !important;
}

.porto-contact-field input:focus,
.porto-contact-field textarea:focus {
    border-color: var(--resume-primary) !important;
    outline-color: var(--resume-primary) !important;
}

/*
|--------------------------------------------------------------------------
| Porto Resume 1.2 — Section-Specific Customizer Layer
|--------------------------------------------------------------------------
|
| These rules intentionally load last. They preserve the Porto Resume
| proportions while allowing every major visual area to be controlled
| independently from Appearance > Customize > Resume Portfolio.
|
*/

/* Floating navigation */
#desktop-navigation .porto-floating-shell,
#desktop-navigation .porto-floating-link {
    background: var(--rp-nav-bg) !important;
}

#desktop-navigation .porto-floating-link,
#desktop-navigation .porto-floating-icon,
#desktop-navigation .porto-floating-icon-wrap {
    color: var(--rp-nav-icon) !important;
}

#desktop-navigation .porto-floating-link.is-active,
#desktop-navigation .porto-floating-link:hover,
#desktop-navigation .porto-floating-link:focus-visible {
    background: var(--rp-nav-active-bg) !important;
    color: var(--rp-nav-icon) !important;
}

#desktop-navigation .porto-floating-label {
    background: var(--rp-nav-label-bg) !important;
    color: var(--rp-nav-label-text) !important;
}

/* Hero */
.porto-match-hero-main {
    background-color: var(--rp-hero-bg) !important;
}

.porto-match-name {
    color: var(--rp-hero-name) !important;
}

.porto-match-profession,
.porto-match-summary-row strong,
.porto-match-availability {
    color: var(--rp-hero-heading) !important;
}

.porto-match-small-title,
.porto-match-meta,
.porto-match-summary-row p,
.porto-match-description {
    color: var(--rp-hero-muted) !important;
}

.porto-match-view-more:hover,
.porto-match-view-more:focus,
.porto-match-availability > span {
    background: var(--rp-hero-name) !important;
}

.porto-match-action-strip {
    background: var(--rp-hero-action-bg) !important;
}

.porto-match-action {
    color: var(--rp-hero-action-text) !important;
}

.porto-match-action svg,
.porto-match-action:hover,
.porto-match-action:focus {
    color: var(--rp-hero-name) !important;
}

/* About */
.porto-about-match {
    background: var(--rp-about-bg) !important;
}

.porto-about-match-title {
    color: var(--rp-about-title) !important;
}

.porto-about-match-text,
.porto-about-match-text p,
.porto-about-match-detail,
.porto-about-match-detail a {
    color: var(--rp-about-text) !important;
}

.porto-about-match-card {
    background: var(--rp-about-card-bg) !important;
}

.porto-about-match-card-title,
.porto-about-match-detail span {
    color: var(--rp-about-card-title) !important;
}

.porto-about-match-button {
    border-color: var(--rp-about-btn-bg) !important;
    background: var(--rp-about-btn-bg) !important;
    color: var(--rp-about-btn-text) !important;
}

.porto-about-match-button:hover,
.porto-about-match-button:focus-visible {
    border-color: var(--rp-about-btn-hover) !important;
    background: var(--rp-about-btn-hover) !important;
    color: var(--rp-about-card-title) !important;
}

/* Experience */
.porto-experience-match {
    background: var(--rp-experience-bg) !important;
}

.porto-experience-match-title {
    color: var(--rp-experience-title) !important;
}

.porto-experience-info {
    background: var(--rp-experience-info-bg) !important;
    color: var(--rp-experience-info-text) !important;
}

.porto-experience-info::before {
    border-right-color: var(--rp-experience-info-bg) !important;
}

.porto-experience-period-label,
.porto-experience-period-date,
.porto-experience-company,
.porto-experience-company span,
.porto-experience-duration {
    color: var(--rp-experience-info-text) !important;
}

.porto-experience-description,
.porto-experience-card {
    background: var(--rp-experience-card-bg) !important;
}

.porto-experience-description h3 {
    color: var(--rp-experience-card-title) !important;
}

.porto-experience-description-text,
.porto-experience-description-text p {
    color: var(--rp-experience-card-text) !important;
}

.porto-experience-timeline-bar,
.porto-experience-marker span {
    background: var(--rp-experience-timeline) !important;
}

.porto-experience-marker {
    border-color: var(--rp-experience-timeline) !important;
    background: var(--rp-experience-bg) !important;
}

/* Education */
.porto-education-match {
    background: var(--rp-education-bg) !important;
}

.porto-education-title {
    color: var(--rp-education-title) !important;
}

.porto-education-card {
    background: var(--rp-education-card-bg) !important;
}

.porto-education-card-title {
    color: var(--rp-education-card-title) !important;
}

.porto-education-degree {
    color: var(--rp-education-text) !important;
}

.porto-education-icon,
.porto-education-period {
    color: var(--rp-education-accent) !important;
}

.porto-education-dot {
    border-color: var(--rp-education-dot) !important;
}

.porto-education-dot.is-active,
.porto-education-dot:hover,
.porto-education-dot:focus-visible {
    background: var(--rp-education-dot) !important;
}

/* Skills */
.porto-skills-match {
    background: var(--rp-skills-bg) !important;
}

.porto-skills-title {
    color: var(--rp-skills-title) !important;
}

.porto-skill-label {
    color: var(--rp-skills-label) !important;
}

.porto-skill-track {
    background: var(--rp-skills-track) !important;
}

.porto-skill-value {
    background: var(--rp-skills-bar) !important;
}

/* Portfolio */
.porto-portfolio-match {
    background: var(--rp-projects-bg) !important;
}

.porto-portfolio-title {
    color: var(--rp-projects-title) !important;
}

.porto-portfolio-filter-button {
    border-color: var(--rp-projects-filter-border) !important;
    color: var(--rp-projects-filter-text) !important;
}

.porto-portfolio-filter-button:hover,
.porto-portfolio-filter-button:focus-visible,
.porto-portfolio-filter-button.is-active {
    border-color: var(--rp-projects-filter-active) !important;
    background: var(--rp-projects-filter-active) !important;
    color: var(--rp-projects-filter-text) !important;
}

.porto-portfolio-overlay {
    background: var(--rp-projects-overlay) !important;
}

.porto-portfolio-zoom {
    background: var(--rp-projects-zoom-bg) !important;
    color: var(--rp-projects-zoom-color) !important;
}

/* Recommendations */
.porto-recommendations-match {
    background: var(--rp-recommendations-bg) !important;
}

.porto-recommendations-title {
    color: var(--rp-recommendations-title) !important;
}

.porto-recommendation-quote,
.porto-recommendation-quote p,
.porto-recommendation-quote::before,
.porto-recommendation-quote::after {
    color: var(--rp-recommendations-quote) !important;
}

.porto-recommendation-author strong,
.porto-recommendation-author span {
    color: var(--rp-recommendations-author) !important;
}

.porto-recommendation-author::before {
    border-color: var(--rp-recommendations-author) !important;
    opacity: .30;
}

.porto-recommendation-dot {
    border-color: var(--rp-recommendations-dot) !important;
}

.porto-recommendation-dot.is-active,
.porto-recommendation-dot:hover,
.porto-recommendation-dot:focus-visible {
    background: var(--rp-recommendations-dot) !important;
}

/* Blog */
.porto-blog-match {
    background: var(--rp-blog-bg) !important;
}

.porto-blog-title {
    color: var(--rp-blog-title) !important;
}

.porto-blog-card {
    background: var(--rp-blog-card-bg) !important;
}

.porto-blog-card-title,
.porto-blog-card-title a,
.porto-blog-date,
.porto-blog-share strong {
    color: var(--rp-blog-card-title) !important;
}

.porto-blog-excerpt {
    color: var(--rp-blog-card-text) !important;
}

.porto-blog-view-all {
    border-color: var(--rp-blog-btn-border) !important;
    color: var(--rp-blog-btn-border) !important;
    background: transparent !important;
}

.porto-blog-view-all:hover,
.porto-blog-view-all:focus-visible {
    border-color: var(--rp-blog-btn-hover) !important;
    background: var(--rp-blog-btn-hover) !important;
    color: var(--rp-blog-btn-border) !important;
}

/* Contact */
.porto-contact-left {
    background: var(--rp-contact-left-bg) !important;
}

.porto-contact-title,
.porto-contact-field input,
.porto-contact-field textarea,
.porto-contact-field input::placeholder,
.porto-contact-field textarea::placeholder {
    color: var(--rp-contact-left-text) !important;
}

.porto-contact-field input,
.porto-contact-field textarea {
    border-bottom-color: var(--rp-contact-field-border) !important;
}

.porto-contact-field input:focus,
.porto-contact-field textarea:focus {
    border-bottom-color: var(--rp-contact-left-text) !important;
}

.porto-contact-submit {
    position: relative;
    z-index: 2;
    min-width: 111px !important;
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 35px !important;
    background: var(--rp-contact-btn-bg) !important;
    color: var(--rp-contact-btn-text) !important;
    font-family: var(--resume-heading-font) !important;
    font-size: 12.8px !important;
    font-weight: 600 !important;
    line-height: 19.2px !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.porto-contact-submit:hover,
.porto-contact-submit:focus-visible {
    background: var(--rp-contact-btn-hover) !important;
    color: var(--rp-contact-btn-text) !important;
}

.porto-contact-right {
    background-color: var(--rp-contact-right-bg) !important;
}

.porto-contact-right-overlay {
    background: var(--rp-contact-overlay) !important;
    opacity: .82;
}

.porto-contact-info-row,
.porto-contact-info-icon,
.porto-contact-info-copy > span:not(.porto-contact-socials),
.porto-contact-socials,
.porto-contact-socials a {
    color: var(--rp-contact-right-text) !important;
}

.porto-contact-info-copy > strong {
    color: var(--rp-contact-right-label) !important;
}

.porto-contact-info-row:hover .porto-contact-info-icon,
.porto-contact-info-row:focus-within .porto-contact-info-icon {
    background: var(--rp-contact-icon-hover) !important;
    color: var(--rp-contact-left-text) !important;
}

/* Footer */
.porto-footer-match {
    background: var(--rp-footer-bg) !important;
}

.porto-footer-match p {
    color: var(--rp-footer-text) !important;
}

.porto-scroll-top {
    background: var(--rp-scroll-top-bg) !important;
    color: var(--rp-scroll-top-text) !important;
}

/* Reference-style polish */
.porto-about-match-title,
.porto-experience-match-title,
.porto-education-title,
.porto-skills-title,
.porto-portfolio-title,
.porto-recommendations-title,
.porto-blog-title,
.porto-contact-title {
    font-size: 25.2px !important;
    line-height: 42px !important;
    letter-spacing: -0.04em !important;
    text-transform: uppercase !important;
}

.porto-skills-title,
.porto-contact-title {
    font-weight: 700 !important;
}

/* Keep controls and buttons visually faithful at every zoom level. */
.porto-about-match-button,
.porto-match-view-more,
.porto-portfolio-filter-button,
.porto-blog-view-all,
.porto-contact-submit {
    white-space: nowrap;
    overflow: visible;
}

/* Cleaner mobile behaviour without changing the desktop Porto proportions. */
@media (max-width: 991px) {
    .porto-contact-left-inner,
    .porto-contact-right-inner {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .porto-contact-submit {
        min-width: 111px !important;
    }
}

@media (max-width: 640px) {
    .porto-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .porto-contact-info-copy > span:not(.porto-contact-socials),
    .porto-contact-socials {
        overflow-wrap: anywhere;
    }
}


/*
|--------------------------------------------------------------------------
| Premium Skills Layout — v1.2.2
|--------------------------------------------------------------------------
| Keeps long skill names clear of their progress bars and gives the section
| a cleaner two-column editorial treatment across desktop and mobile.
|--------------------------------------------------------------------------
*/

.porto-skills-title {
    margin-bottom: 26px !important;
}

.porto-skills-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 46px !important;
    row-gap: 0 !important;
    align-items: start;
}

.porto-skills-column {
    display: grid !important;
    gap: 14px !important;
    min-width: 0;
}

.porto-skill-row {
    display: block !important;
    min-height: 0 !important;
    padding: 7px 0 13px !important;
    border-bottom: 1px solid var(--rp-skills-track);
}

.porto-skill-row:last-child {
    border-bottom-color: transparent;
}

.porto-skill-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 9px;
}

.porto-skill-label {
    min-width: 0;
    max-width: calc(100% - 52px);
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.015em !important;
}

.porto-skill-percentage {
    flex: 0 0 auto;
    color: var(--rp-skills-bar);
    font-family: var(--resume-heading-font);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}

.porto-skill-track {
    width: 100% !important;
    height: 5px !important;
    margin: 0 !important;
    border-radius: 999px;
    background: var(--rp-skills-track) !important;
    overflow: hidden;
    position: relative;
}

.porto-skill-value {
    height: 100% !important;
    border-radius: inherit;
    background: var(--rp-skills-bar) !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.015);
}

@media (max-width: 767px) {
    .porto-skills-columns {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .porto-skills-column {
        gap: 10px !important;
    }

    .porto-skill-row {
        padding-top: 8px !important;
        padding-bottom: 13px !important;
    }
}

@media (max-width: 480px) {
    .porto-skill-meta {
        gap: 12px;
    }

    .porto-skill-label {
        max-width: calc(100% - 48px);
        font-size: 11.5px !important;
    }
}

/* ==========================================================================
   Blog Archive — Porto Resume inspired
   ========================================================================== */

.resume-portfolio-blog-archive .site-main,
.blog .site-main {
    background: var(--rp-blog-bg);
}

.porto-blog-archive {
    min-height: 72vh;
    padding: 68px 0 88px !important;
    background: var(--rp-blog-bg) !important;
}

.porto-blog-archive-inner {
    position: relative;
    padding: 0;
}

.porto-blog-archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 28px;
}

.porto-blog-archive-header .porto-blog-title {
    margin-bottom: 0;
}

.porto-blog-archive-grid {
    align-items: stretch;
    gap: 28px 24px;
}

.porto-blog-archive-card {
    border: 1px solid rgba(36, 35, 31, 0.06);
    background: var(--rp-blog-card-bg) !important;
    box-shadow: 0 24px 70px rgba(42, 39, 34, 0.08) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.porto-blog-archive-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 142, 88, 0.22);
    box-shadow: 0 30px 84px rgba(42, 39, 34, 0.12) !important;
}

.porto-blog-archive-card .porto-blog-image-link {
    position: relative;
    background: #ece9e2;
}

.porto-blog-archive-card .porto-blog-image {
    transition: transform .45s ease;
}

.porto-blog-archive-card:hover .porto-blog-image {
    transform: scale(1.025);
}

.porto-blog-archive-placeholder {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--rp-blog-card-title) !important;
    background:
        radial-gradient(circle at 16% 18%, rgba(214, 183, 111, .28), transparent 34%),
        linear-gradient(135deg, #f7f3ec 0%, #e8e5de 100%) !important;
}

.porto-blog-archive-placeholder::before,
.porto-blog-archive-placeholder::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(168, 142, 88, .22);
    border-radius: 999px;
}

.porto-blog-archive-placeholder::before {
    width: 220px;
    height: 220px;
    top: -118px;
    right: -56px;
}

.porto-blog-archive-placeholder::after {
    width: 135px;
    height: 135px;
    left: -48px;
    bottom: -72px;
}

.porto-blog-archive-placeholder > span {
    max-width: 78%;
    font-family: var(--resume-heading-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.porto-blog-archive-card .porto-blog-copy {
    min-height: 126px;
}

.porto-blog-archive-card .porto-blog-card-title {
    font-size: 18px;
    line-height: 1.5;
}

.porto-blog-archive-card .porto-blog-card-title a {
    transition: opacity .18s ease;
}

.porto-blog-archive-card .porto-blog-card-title a:hover,
.porto-blog-archive-card .porto-blog-card-title a:focus {
    opacity: .72;
}

.porto-blog-archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 42px;
}

.porto-blog-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rp-blog-btn-border);
    border-radius: 999px;
    color: var(--rp-blog-btn-border);
    background: transparent;
    font-family: var(--resume-heading-font);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.porto-blog-archive-pagination .page-numbers:hover,
.porto-blog-archive-pagination .page-numbers:focus-visible,
.porto-blog-archive-pagination .page-numbers.current {
    border-color: var(--rp-blog-btn-hover);
    background: var(--rp-blog-btn-hover);
    color: var(--rp-blog-btn-border);
    transform: translateY(-1px);
}

.porto-blog-archive-empty {
    max-width: 620px;
    padding: 34px 38px;
    border: 1px solid rgba(36, 35, 31, .08);
    background: var(--rp-blog-card-bg);
}

.porto-blog-archive-empty h2 {
    margin: 0 0 8px;
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 20px;
    font-weight: 600;
}

.porto-blog-archive-empty p {
    margin: 0;
    color: var(--rp-blog-card-text);
    font-size: 13px;
    line-height: 1.8;
}

/* Keep the Blog icon visibly selected while browsing the archive. */
.resume-portfolio-blog-archive #desktop-navigation .porto-floating-link.is-active,
.blog #desktop-navigation .porto-floating-link.is-active {
    background: var(--rp-nav-active-bg) !important;
    color: var(--rp-nav-icon) !important;
}

@media (max-width: 1199px) {
    .porto-blog-archive {
        padding-top: 58px !important;
        padding-bottom: 76px !important;
    }
}

@media (max-width: 991px) {
    .porto-blog-archive {
        padding: 46px 20px 64px !important;
    }

    .porto-blog-archive-header {
        margin-bottom: 22px;
    }
}

@media (max-width: 767px) {
    .porto-blog-archive {
        padding: 38px 18px 54px !important;
    }

    .porto-blog-archive-grid {
        gap: 22px;
    }

    .porto-blog-archive-card .porto-blog-copy {
        min-height: 0;
    }

    .porto-blog-archive-placeholder > span {
        max-width: 88%;
        font-size: 16px;
    }
}

/* ==========================================================================
   Single Blog Post — Porto Resume reference language
   ========================================================================== */

.single-post .site-main {
    background: var(--rp-blog-bg) !important;
}

.porto-resume-single-post {
    min-height: 70vh;
    padding: 64px 0 86px;
    background: var(--rp-blog-bg);
}

.porto-resume-single-shell {
    padding-left: 18px;
    padding-right: 18px;
}

.porto-resume-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.12fr) minmax(270px, .88fr);
    gap: 54px;
    align-items: start;
}

.porto-resume-single-main {
    min-width: 0;
}

.porto-resume-single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    color: var(--rp-blog-card-text);
    font-family: var(--resume-heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .18s ease, transform .18s ease;
}

.porto-resume-single-back:hover,
.porto-resume-single-back:focus-visible {
    color: var(--rp-blog-btn-border);
    transform: translateX(-2px);
}

.porto-resume-single-header {
    margin-bottom: 26px;
}

.porto-resume-single-kicker {
    margin-bottom: 9px;
    color: var(--rp-blog-btn-border);
    font-family: var(--resume-heading-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.porto-resume-single-title {
    max-width: 850px;
    margin: 0 0 16px;
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.14;
}

.porto-resume-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--rp-blog-card-text);
    font-size: 11px;
    line-height: 1.5;
}

.porto-resume-single-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.porto-resume-single-meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--rp-blog-btn-border);
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.porto-resume-single-meta a {
    color: inherit;
    text-decoration: none;
}

.porto-resume-single-featured {
    position: relative;
    margin: 0 0 34px;
    overflow: hidden;
    background: #ece9e2;
}

.porto-resume-single-featured img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.porto-resume-single-content {
    color: var(--rp-blog-card-text) !important;
    font-family: var(--resume-body-font) !important;
    font-size: 14px;
    line-height: 1.9;
}

.porto-resume-single-content > *:first-child {
    margin-top: 0;
}

.porto-resume-single-content p {
    margin: 0 0 20px;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit;
    line-height: inherit;
}

.porto-resume-single-content h2,
.porto-resume-single-content h3,
.porto-resume-single-content h4,
.porto-resume-single-content h5,
.porto-resume-single-content h6 {
    margin: 34px 0 14px;
    color: var(--rp-blog-card-title) !important;
    font-family: var(--resume-heading-font) !important;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.porto-resume-single-content h2 { font-size: 25px; }
.porto-resume-single-content h3 { font-size: 20px; }
.porto-resume-single-content h4 { font-size: 17px; }

.porto-resume-single-content a {
    color: var(--rp-blog-btn-border);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.porto-resume-single-content blockquote {
    margin: 30px 0;
    padding: 5px 0 5px 24px;
    border-left: 3px solid var(--rp-blog-btn-border);
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
}

.porto-resume-single-content img,
.porto-resume-single-content figure,
.porto-resume-single-content video,
.porto-resume-single-content iframe {
    max-width: 100%;
}

.porto-resume-single-content ul,
.porto-resume-single-content ol {
    margin: 0 0 22px 20px;
    padding: 0;
}

.porto-resume-single-content li {
    margin-bottom: 8px;
}

.porto-resume-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 30px;
}

.porto-resume-single-tags a,
.porto-resume-tag-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--resume-border);
    color: var(--rp-blog-card-text);
    background: transparent;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.porto-resume-single-tags a:hover,
.porto-resume-tag-cloud a:hover {
    border-color: var(--rp-blog-btn-hover);
    background: var(--rp-blog-btn-hover);
    color: #fff;
}

.porto-resume-single-sharebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding: 20px 0;
    border-top: 1px solid var(--resume-border);
    border-bottom: 1px solid var(--resume-border);
}

.porto-resume-single-sharebar strong {
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.porto-resume-single-sharelinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.porto-resume-single-sharelinks a {
    padding: 0 11px;
    border-right: 1px solid var(--resume-border);
    color: var(--rp-blog-card-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: uppercase;
}

.porto-resume-single-sharelinks a:last-child {
    padding-right: 0;
    border-right: 0;
}

.porto-resume-single-sharelinks a:hover {
    color: var(--rp-blog-btn-border);
}

.porto-resume-author-box {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid var(--resume-border);
    background: var(--rp-blog-card-bg);
}

.porto-resume-author-avatar img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.porto-resume-author-label {
    color: var(--rp-blog-btn-border);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.porto-resume-author-box h3 {
    margin: 2px 0 6px;
    color: var(--rp-blog-card-title);
    font-size: 16px;
    font-weight: 600;
}

.porto-resume-author-box p {
    margin: 0;
    color: var(--rp-blog-card-text);
    font-size: 12px;
    line-height: 1.75;
}

.porto-resume-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 34px;
}

.porto-resume-post-navigation > div:empty {
    display: none;
}

.porto-resume-post-navigation a {
    display: flex;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    border: 1px solid var(--resume-border);
    color: var(--rp-blog-card-title);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.porto-resume-post-navigation a:hover {
    border-color: var(--rp-blog-btn-border);
    transform: translateY(-1px);
}

.porto-resume-post-navigation small {
    display: block;
    margin-bottom: 4px;
    color: var(--rp-blog-card-text);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.porto-resume-post-navigation span {
    display: block;
    font-family: var(--resume-heading-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.porto-resume-post-navigation .is-next {
    text-align: right;
}

/* Sidebar */
.porto-resume-blog-sidebar {
    position: sticky;
    top: 28px;
    min-width: 0;
    padding-left: 4px;
}

.porto-resume-sidebar-widget {
    margin: 0 0 34px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--resume-border);
}

.porto-resume-sidebar-widget:last-child {
    border-bottom: 0;
}

.porto-resume-sidebar-widget > h3,
.porto-resume-sidebar-widget .widget-title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.porto-resume-sidebar-widget > h3::after,
.porto-resume-sidebar-widget .widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--rp-blog-btn-border);
}

.porto-resume-sidebar-widget .search-form {
    position: relative;
    display: flex;
    margin: 0;
}

.porto-resume-sidebar-widget .search-form label {
    flex: 1;
}

.porto-resume-sidebar-widget .search-field {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid var(--resume-border);
    outline: 0;
    color: var(--rp-blog-card-title);
    background: var(--rp-blog-card-bg);
    font-size: 12px;
    transition: border-color .18s ease;
}

.porto-resume-sidebar-widget .search-field:focus {
    border-color: var(--rp-blog-btn-border);
}

.porto-resume-sidebar-widget .search-submit {
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--rp-blog-btn-border);
    color: #fff;
    background: var(--rp-blog-btn-border);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.porto-resume-sidebar-categories,
.porto-resume-sidebar-widget ul:not(.children) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.porto-resume-sidebar-categories li,
.porto-resume-sidebar-widget > ul > li {
    position: relative;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--resume-border) 68%, transparent);
    color: var(--rp-blog-card-text);
    font-size: 11px;
}

.porto-resume-sidebar-categories li:last-child,
.porto-resume-sidebar-widget > ul > li:last-child {
    border-bottom: 0;
}

.porto-resume-sidebar-categories a,
.porto-resume-sidebar-widget li a {
    color: var(--rp-blog-card-text);
    text-decoration: none;
}

.porto-resume-sidebar-categories a:hover,
.porto-resume-sidebar-widget li a:hover {
    color: var(--rp-blog-btn-border);
}

.porto-resume-recent-posts {
    display: grid;
    gap: 15px;
}

.porto-resume-recent-post {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

.porto-resume-recent-post:not(:has(.porto-resume-recent-thumb)) {
    grid-template-columns: 1fr;
}

.porto-resume-recent-thumb {
    display: block;
    width: 68px;
    height: 56px;
    overflow: hidden;
    background: #ece9e2;
}

.porto-resume-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.porto-resume-recent-post h4 {
    margin: 0 0 3px;
    font-family: var(--resume-heading-font);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

.porto-resume-recent-post h4 a {
    color: var(--rp-blog-card-title);
    text-decoration: none;
}

.porto-resume-recent-post h4 a:hover {
    color: var(--rp-blog-btn-border);
}

.porto-resume-recent-post time {
    color: var(--rp-blog-card-text);
    font-size: 9px;
    text-transform: uppercase;
}

.porto-resume-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Comments + Leave a Reply */
.porto-resume-comments-area {
    margin-top: 48px;
    padding-top: 42px;
    border-top: 1px solid var(--resume-border);
}

.porto-resume-comments-title,
.porto-resume-comment-form-wrap .comment-reply-title {
    margin: 0 0 22px;
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.porto-resume-comments-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.porto-resume-comments-list .children {
    margin: 0 0 0 76px;
    padding: 0;
    list-style: none;
}

.porto-resume-comment {
    margin: 0;
    padding: 0;
}

.porto-resume-comment-body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 17px;
    padding: 22px 0;
    border-bottom: 1px solid var(--resume-border);
}

.porto-resume-comment-avatar img {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.porto-resume-comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.porto-resume-comment-head strong,
.porto-resume-comment-head strong a {
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.porto-resume-comment-head time {
    display: block;
    margin-top: 3px;
    color: var(--rp-blog-card-text);
    font-size: 9px;
    text-transform: uppercase;
}

.porto-resume-comment-head .comment-reply-link {
    color: var(--rp-blog-btn-border);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.porto-resume-comment-text {
    margin-top: 10px;
    color: var(--rp-blog-card-text);
    font-size: 12px;
    line-height: 1.75;
}

.porto-resume-comment-text p {
    margin: 0 0 10px;
}

.porto-resume-comment-awaiting {
    margin: 8px 0 0;
    color: var(--rp-blog-btn-border);
    font-size: 10px;
}

.porto-resume-comment-form-wrap {
    margin-top: 44px;
}

.porto-resume-comment-form-wrap .comment-notes,
.porto-resume-comment-form-wrap .logged-in-as {
    margin: -11px 0 22px;
    color: var(--rp-blog-card-text);
    font-size: 11px;
    line-height: 1.7;
}

.porto-resume-comment-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px 18px;
}

.porto-resume-comment-form > p {
    margin: 0;
}

.porto-resume-comment-form .comment-notes,
.porto-resume-comment-form .logged-in-as,
.porto-resume-comment-form .comment-form-comment,
.porto-resume-comment-form .form-submit,
.porto-resume-comment-form .comment-form-cookies-consent,
.porto-resume-comment-form .must-log-in {
    grid-column: 1 / -1;
}

.porto-resume-comment-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--rp-blog-card-title);
    font-family: var(--resume-heading-font);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.porto-resume-comment-form input[type="text"],
.porto-resume-comment-form input[type="email"],
.porto-resume-comment-form input[type="url"],
.porto-resume-comment-form textarea {
    width: 100%;
    border: 1px solid var(--resume-border);
    border-radius: 0;
    outline: 0;
    color: var(--rp-blog-card-title);
    background: var(--rp-blog-card-bg);
    font-family: var(--resume-body-font);
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.porto-resume-comment-form input[type="text"],
.porto-resume-comment-form input[type="email"],
.porto-resume-comment-form input[type="url"] {
    height: 43px;
    padding: 0 12px;
}

.porto-resume-comment-form textarea {
    min-height: 150px;
    padding: 11px 12px;
    resize: vertical;
}

.porto-resume-comment-form input:focus,
.porto-resume-comment-form textarea:focus {
    border-color: var(--rp-blog-btn-border);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--rp-blog-btn-border) 12%, transparent);
}

.porto-resume-comment-submit {
    min-width: 128px;
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--rp-blog-btn-border);
    border-radius: 999px;
    color: #fff;
    background: var(--rp-blog-btn-border);
    font-family: var(--resume-heading-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.porto-resume-comment-submit:hover,
.porto-resume-comment-submit:focus-visible {
    border-color: var(--rp-blog-btn-hover);
    background: var(--rp-blog-btn-hover);
    transform: translateY(-1px);
}

.porto-resume-comment-form-wrap #cancel-comment-reply-link {
    margin-left: 8px;
    color: var(--rp-blog-btn-border);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

/* Widgets added by the user inherit the same compact sidebar language. */
.porto-resume-blog-sidebar .widget p,
.porto-resume-blog-sidebar .widget_text,
.porto-resume-blog-sidebar .wp-block-latest-posts,
.porto-resume-blog-sidebar .wp-block-categories-list {
    color: var(--rp-blog-card-text);
    font-size: 11px;
    line-height: 1.7;
}

/* Keep the Blog floating-nav item selected on a single post. */
.single-post #desktop-navigation .porto-floating-link.is-active {
    background: var(--rp-nav-active-bg) !important;
    color: var(--rp-nav-icon) !important;
}

@media (max-width: 1199px) {
    .porto-resume-single-layout {
        gap: 38px;
        grid-template-columns: minmax(0, 1.9fr) minmax(250px, .85fr);
    }
}

@media (max-width: 991px) {
    .porto-resume-single-post {
        padding: 96px 20px 68px;
    }

    .porto-resume-single-shell {
        padding-left: 0;
        padding-right: 0;
    }

    .porto-resume-single-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .porto-resume-blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 28px;
        padding-left: 0;
    }

    .porto-resume-sidebar-widget {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .porto-resume-single-post {
        padding: 86px 18px 54px;
    }

    .porto-resume-single-title {
        font-size: clamp(28px, 9vw, 38px);
    }

    .porto-resume-single-meta {
        gap: 8px 14px;
    }

    .porto-resume-single-content {
        font-size: 13px;
        line-height: 1.85;
    }

    .porto-resume-single-sharebar {
        align-items: flex-start;
        flex-direction: column;
    }

    .porto-resume-single-sharelinks a:first-child {
        padding-left: 0;
    }

    .porto-resume-post-navigation {
        grid-template-columns: 1fr;
    }

    .porto-resume-post-navigation .is-next {
        text-align: left;
    }

    .porto-resume-blog-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .porto-resume-comment-form {
        grid-template-columns: 1fr;
    }

    .porto-resume-comment-form > p {
        grid-column: 1 / -1;
    }

    .porto-resume-comments-list .children {
        margin-left: 30px;
    }
}

@media (max-width: 480px) {
    .porto-resume-author-box {
        grid-template-columns: 1fr;
    }

    .porto-resume-comment-body {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .porto-resume-comment-avatar img {
        width: 44px;
        height: 44px;
    }

    .porto-resume-comments-list .children {
        margin-left: 16px;
    }
}
