/*
Theme Name: Arctic Circle Equity
Theme URI: https://arcticcircle.equity
Author: Arctic Circle Equity
Author URI: https://arcticcircle.equity
Description: Custom theme for Arctic Circle Equity based on the provided wireframe. Clean sans-serif typography with deep teal brand colors.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arctic-circle-equity
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* Brand Colors — defaults; overridden by Customizer via wp_head */
:root {
  --ace-primary:     #0F2032;
  --ace-primary-rgb: 15,32,50;
  --ace-secondary:   #8CAABF;
  --ace-accent:      #5F302B;
  --ace-dark-beige:  #9D8F86;
  --ace-bg-light:    #E4DFDD;
  --ace-text:        #0F2032;

  /* Page horizontal padding — matches portfolio grid indentation */
  --ace-page-pad: 5vw;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--ace-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevents horizontal scroll from full-bleed negative-margin sections */
}

h1, h2, h3, h4 {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ace-primary);
}

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

/* Layout styles */
.balanced-wrap {
  text-wrap-style: balance;
}

/* Header */
.site-header {
  background: white;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: padding 0.3s ease;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ace-text);
}

.menu-toggle__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img, .site-logo .custom-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: width 0.3s ease;
}

/* Header Nav */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--ace-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: var(--ace-primary);
}

/* Buttons */
.btn, .wp-element-button {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--ace-primary);
  border-radius: 0;
  color: var(--ace-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--ace-primary);
  color: white;
}

.btn-white {
  border-color: white;
  color: white;
}

.btn-white:hover {
  background: white;
  color: var(--ace-primary);
}

/* Custom Gutenberg Blocks */
.ace-blocks-hero,
.hero-block {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: white;
}

.ace-blocks-hero .hero-background,
.hero-block .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.ace-blocks-hero .hero-video,
.hero-block .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ace-blocks-hero .hero-overlay,
.hero-block .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(var(--ace-primary-rgb),0.4) 0%, rgba(var(--ace-primary-rgb),0.65) 100%);
  z-index: 2;
}

.ace-blocks-hero .hero-content,
.hero-block .hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.ace-blocks-hero h1,
.hero-block h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.ace-blocks-hero .hero-content p,
.hero-block .hero-content p,
.wp-block-cover .wp-block-cover__inner-container .wp-block-paragraph {
  font-size: 1.25rem;
  max-width: 960px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  text-wrap-style: balance;
}

/* Content Grid Block */
.content-grid-block {
  padding: 5rem var(--ace-page-pad);
}

.content-grid-block .section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--ace-primary);
  font-size: 2.25rem;
}

.content-grid-block .grid-items {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.content-grid-block.two-column-layout .grid-items {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.content-grid-block .grid-item {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.content-grid-block .item-icon {
  margin-bottom: 1.5rem;
}

.content-grid-block .item-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.content-grid-block .grid-item h3 {
  color: var(--ace-primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

/* Portfolio Grid Block */
.portfolio-grid-block .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-grid-block .portfolio-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.portfolio-grid-block .portfolio-item:hover {
  transform: translateY(-8px);
}

.portfolio-grid-block .portfolio-image {
  height: 220px;
  overflow: hidden;
}

.portfolio-grid-block .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-grid-block .portfolio-content {
  padding: 1.5rem;
}

.portfolio-grid-block .portfolio-content h3 {
  margin: 0 0 0.5rem 0;
  color: var(--ace-primary);
  font-size: 1.25rem;
}

.portfolio-grid-block .portfolio-location {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.portfolio-grid-block .portfolio-link {
  color: var(--ace-primary);
  text-decoration: none;
  font-weight: 500;
}

.portfolio-grid-block .portfolio-link:hover {
  text-decoration: underline;
}

/* Portfolio Section */
.portfolio-section {
  padding: 6rem var(--ace-page-pad);
  background: var(--ace-primary);
  color: white;
}

.portfolio-section h2 {
  color: white;
}

/* Custom portfolio grid block */
.portfolio-grid-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2.5rem;
}

.portfolio-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}

.portfolio-tile-media {
  position: absolute;
  inset: 0;
}

.portfolio-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-tile-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--ace-primary);
  font-weight: 700;
  z-index: 2;
}

.portfolio-section .portfolio-cta .btn.btn-outline {
  border-color: rgba(255,255,255,0.75);
  color: white;
}

.portfolio-section .portfolio-cta .btn.btn-outline:hover {
  background: white;
  color: var(--ace-primary);
}

/* Gutenberg Query Loop inside Portfolio pattern */
.portfolio-section .wp-block-query {
  max-width: 1200px;
  margin: 3rem auto 0;
}

.portfolio-section .wp-block-query ul.wp-block-post-template,
.portfolio-section .wp-block-query ul.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.portfolio-section .wp-block-post {
  background: var(--ace-secondary);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}

.portfolio-section .wp-block-post figure.wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
}

.portfolio-section .wp-block-post figure.wp-block-post-featured-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  opacity: 1;
  filter: none;
  position: absolute;
  inset: 0;
}

.portfolio-section .wp-block-post-title,
.portfolio-section .wp-block-post-title a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  /* color: #0b4f5b; */
  font-weight: 600;
  margin: 0;
  z-index: 2;
  text-decoration: none;
}

.portfolio-section .wp-block-post-title a:hover {
  text-decoration: underline;
}

.portfolio-section .wp-block-post-meta {
  display: none;
}

.portfolio-section .wp-block-buttons {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.portfolio-section .wp-block-button.is-style-outline .wp-block-button__link,
.portfolio-section .wp-block-button.is-style-outline a {
  color: white;
  border-color: rgba(255,255,255,0.8);
}

.portfolio-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* CTA Section */
.cta-section {
  background: var(--ace-primary);
  text-align: center;
  padding: 6rem var(--ace-page-pad);
}

.cta-section h2 {
  color: white;
  margin-bottom: 2rem;
}

/* ── Team Grid Block ─────────────────────────────────────────────────────── */

.team-section {
  padding: 6rem var(--ace-page-pad);
  background: var(--ace-bg-light);
}

.team-section-title {
  text-align: center;
  color: var(--ace-primary);
  margin: 0 auto 3rem;
  max-width: 1200px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.team-grid-block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

/* Portrait card */
.team-tile {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-tile-portrait-link {
  display: block;
  text-decoration: none;
}

.team-tile-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ace-secondary);
}

.team-tile-portrait img,
.team-tile-portrait-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Info block below portrait */
.team-tile-info {
  padding: 0.9rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-tile-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ace-primary);
  text-decoration: none;
  line-height: 1.3;
}

.team-tile-name:hover {
  text-decoration: underline;
}

.team-tile-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ace-secondary);
  margin: 0;
}

.team-tile-bio {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  margin: 0.4rem 0 0;
}

/* When a text color is set via the block settings, all tile text inherits it */
.team-section.has-text-color .team-section-title,
.team-section.has-text-color .team-tile-name,
.team-section.has-text-color .team-tile-role,
.team-section.has-text-color .team-tile-bio {
  color: inherit;
}

/* Responsive: collapse to 3 → 2 cols on smaller screens */
@media (max-width: 1200px) {
  .team-grid-block {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Native Query Loop inside Team pattern */
.team-section .wp-block-query {
  max-width: 1400px;
  margin: 3rem auto 0;
}

.team-section .wp-block-query ul.wp-block-post-template,
.team-section .wp-block-query ul.columns-5 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-section .wp-block-query .wp-block-post {
  display: flex;
  flex-direction: column;
}

.team-section .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-section .wp-block-post-title,
.team-section .wp-block-post-title a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ace-primary);
  text-decoration: none;
  margin-top: 0.75rem;
}

@media (max-width: 1200px) {
  .team-section .wp-block-query ul.wp-block-post-template,
  .team-section .wp-block-query ul.columns-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .team-section .wp-block-query ul.wp-block-post-template,
  .team-section .wp-block-query ul.columns-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* ── Portfolio Single ────────────────────────────────────────────────────── */

/* ── Contact Form Block ──────────────────────────────────────────────────── */

/* Editor preview */
.ace-contact-form-editor-preview {
  display: flex;
  gap: 0;
  pointer-events: none;
}

.ace-contact-form-editor-preview input,
.ace-contact-form-editor-preview button {
  height: 56px;
  border: 1px solid #ccc;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0 1.25rem;
  flex: 1;
  border-right: none;
  color: #aaa;
}

.ace-contact-form-editor-preview button {
  flex: 0 0 auto;
  border-color: #111;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ace-contact-form-wrap {
  width: 100%;
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.ace-contact-form-fields {
  display: flex;
  gap: 0;
}

.ace-contact-form-fields input,
.ace-contact-form-fields button {
  height: 56px;
  border: 1px solid #ccc;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0 1.25rem;
  outline: none;
  transition: border-color 0.15s;
}

.ace-contact-form-fields input {
  flex: 1;
  color: var(--ace-primary);
}

.ace-contact-form-fields input::placeholder {
  color: #aaa;
}

.ace-contact-form-fields input:focus {
  border-color: var(--ace-primary);
  position: relative;
  z-index: 1;
}

.ace-contact-form-fields button {
  flex: 0 0 auto;
  padding: 0 2rem;
  border-color: var(--ace-primary);
  background: #fff;
  color: var(--ace-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.ace-contact-form-fields button:hover {
  background: var(--ace-primary);
  color: #fff;
}

.ace-contact-form-fields button:disabled {
  opacity: 0.5;
  cursor: default;
}

.ace-contact-form-message {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.ace-contact-form-success { color: #2a7a4b; }
.ace-contact-form-error   { color: #c0392b; }

@media (max-width: 640px) {
  .ace-contact-form-fields {
    flex-direction: column;
  }

  .ace-contact-form-fields input,
  .ace-contact-form-fields button {
    border: 1px solid #ccc;
    border-bottom: none;
  }

  .ace-contact-form-fields button {
    border-bottom: 1px solid var(--ace-primary);
    text-align: center;
    height: 52px;
  }
}

/* Full-bleed hero image — spans the full viewport width */
.portfolio-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.portfolio-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body content — centered within the padded main */
.portfolio-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--ace-page-pad) 5rem;
}

@media (min-width: 1025px) {
  /* On desktop, main.site-main already provides 5vw padding, so remove it here */
  .portfolio-body {
    padding-left: 0;
    padding-right: 0;
  }
}

.portfolio-header {
  margin-bottom: 2rem;
}

.portfolio-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.portfolio-header .portfolio-location {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ace-secondary);
  margin: 0 0 0.75rem;
  padding: 0;
}

.portfolio-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Single Team Member */
.single-team-member {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem var(--ace-page-pad);
}

@media (min-width: 1025px) {
  .single-team-member {
    padding-left: 0;
    padding-right: 0;
  }
}

.team-member-header {
  margin-bottom: 2.5rem;
}

.team-member-name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.team-member-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ace-secondary);
  margin: 0 0 1rem;
}

.team-member-social {
  display: flex;
  gap: 1rem;
}

.team-member-social a {
  color: var(--ace-primary);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.team-member-social a:hover {
  opacity: 1;
}

.team-member-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background: var(--ace-primary);
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  gap: 3rem;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 160px;
  height: auto;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: white;
  transform: scale(1.1);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.85rem 5%;
    justify-content: flex-start;
  }

  .site-logo {
    transform: scale(0.7);
    transform-origin: left center;
    transition: transform 200ms ease;
  }

  .menu-toggle__icon {
    transition: transform 200ms ease;
  }

  .site-header--compact .menu-toggle__icon {
    transform: scale(0.9);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-header--nav-open .main-navigation {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid #eee;
    padding: 1.25rem 5%;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Compact header on scroll */
.site-header--compact {
  padding: 0.5rem 5%;
}

.site-header--compact .site-logo img,
.site-header--compact .site-logo .custom-logo {
  width: 120px;
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 5%;
  }
}

/* ── Page layout & block alignment ────────────────────────────────────────
   main gets 5vw horizontal padding. All direct block children default to
   max 1200px centered (Normal). alignwide goes to 1400px. alignfull escapes
   to viewport edge via negative margins.
   ──────────────────────────────────────────────────────────────────────── */
@media (min-width: 1025px) {
  main.site-main,
  main.front-page {
    padding-left: var(--ace-page-pad);
    padding-right: var(--ace-page-pad);
  }

  /* Normal (default): all non-full-bleed top-level blocks constrained to 1200px */
  main.site-main > :not(.alignfull, .alignwide, article),
  main.front-page > :not(.alignfull, .alignwide, article) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Wide alignment */
  main.site-main > .alignwide,
  main.front-page > .alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Full-bleed: escape to viewport edge.
     Only applies to top-level alignfull — not to alignfull nested inside
     another alignfull (e.g. a Cover block inside a full-bleed Group). */
  main .alignfull:not(.alignfull .alignfull) {
    margin-left: calc(-1 * var(--ace-page-pad));
    margin-right: calc(-1 * var(--ace-page-pad));
    width: calc(100% + 2 * var(--ace-page-pad));
    max-width: none;
  }
}

/* ── Password-protected page form ───────────────────────────────────────────── */
.post-password-form {
  max-width: 480px;
  margin: 6rem auto;
  padding: 3rem;
  background: var(--ace-bg-light);
  text-align: center;
}

.post-password-form p:first-child {
  font-size: 1rem;
  color: var(--ace-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.post-password-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ace-text);
  margin-bottom: 0.5rem;
}

.post-password-form input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ace-secondary);
  background: #fff;
  color: var(--ace-text);
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.post-password-form input[type="password"]:focus {
  border-color: var(--ace-primary);
}

.post-password-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.875rem 2rem;
  background: var(--ace-primary);
  color: #fff;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.post-password-form input[type="submit"]:hover {
  opacity: 0.85;
}
