/*
Theme Name: Pink Tea
Theme URI: https://pinktea.com
Author: Pink Tea Blog
Author URI: https://pinktea.com
Description: A girly, chic lifestyle blog theme featuring gingham accents, soft pink palettes, and a fully customizable design system. Perfect for beauty, lifestyle, fashion, and travel bloggers. Includes full Customizer support for fonts, colors, and layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pink-tea
Tags: blog, lifestyle, beauty, fashion, pink, feminine, customizer, full-site-editing

*/

/* ============================================
   PINK TEA THEME — CSS CUSTOM PROPERTIES
   All values pulled from WordPress Customizer
   ============================================ */

:root {
  /* Brand colours — editable in Customizer */
  --pt-primary:       #e8759a;
  --pt-primary-dark:  #b86b85;
  --pt-blush:         #ffd9e5;
  --pt-lavender:      #D8BFD8;
  --pt-soft-pink:     #fde8f0;
  --pt-cat-bg:        #fde8f0;

  /* Neutrals */
  --pt-white:         #ffffff;
  --pt-bg:            #ffffff;
  --pt-text:          #1a1a1a;
  --pt-text-mid:      #5a4040;
  --pt-text-light:    #9a7878;
  --pt-border:        #e8d8de;

  /* Typography — editable in Customizer */
  --pt-font-heading:  'Cormorant Garamond', serif;
  --pt-font-display:  'Playfair Display', serif;
  --pt-font-body:     'Jost', sans-serif;
  --pt-font-size-base: 16px;
  --pt-line-height:   1.8;

  /* Gingham pattern size */
  --pt-gingham-size:  22px;
  --pt-gingham-color: rgba(255,120,175,0.38);

  /* Spacing */
  --pt-container:     1100px;
  --pt-gap:           28px;
  --pt-radius:        0px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: var(--pt-font-size-base); }
body {
  font-family: var(--pt-font-body);
  background: var(--pt-bg);
  color: var(--pt-text);
  font-weight: 300;
  line-height: var(--pt-line-height);
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* ============================================
   PINK UNDERLINE LINKS
   ============================================ */
a {
  color: var(--pt-text);
  text-decoration: none;
  background-image: linear-gradient(var(--pt-primary), var(--pt-primary));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease, color 0.2s;
}

a:hover {
  color: var(--pt-primary);
  background-size: 100% 2px;
}

/* Nav / button links — override underline */
nav a, .btn, .btn-read, .btn-read-more,
.card-title a, .widget-btn, .subcat-pill,
.page-btn, .social-pill, .footer-links a,
.card-read-link, .cat-list a, .pop-post h4 a,
.related-card-title, .nav-post-title,
.about-social-btn, .social-link-item,
.collab-btn, .submit-btn {
  background-image: none;
}

/* ============================================
   GINGHAM UTILITY CLASS
   ============================================ */
.pt-gingham {
  background-color: var(--pt-blush);
  background-image:
    repeating-linear-gradient(
      0deg, transparent,
      transparent calc(var(--pt-gingham-size) - 1px),
      var(--pt-gingham-color) calc(var(--pt-gingham-size) - 1px),
      var(--pt-gingham-color) var(--pt-gingham-size)
    ),
    repeating-linear-gradient(
      90deg, transparent,
      transparent calc(var(--pt-gingham-size) - 1px),
      var(--pt-gingham-color) calc(var(--pt-gingham-size) - 1px),
      var(--pt-gingham-color) var(--pt-gingham-size)
    );
}

/* ============================================
   SCROLLING TOP BAR
   ============================================ */
.pt-top-bar {
  background: var(--pt-lavender);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}
.pt-top-bar-track {
  display: inline-flex;
  animation: ptMarquee 28s linear infinite;
}
.pt-top-bar-track span {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--pt-white); font-weight: 500; padding: 0 48px;
}
@keyframes ptMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SITE HEADER
   ============================================ */
.pt-site-header {
  background: var(--pt-blush);
  padding: 0 40px;
  position: relative;
}

.pt-header-inner { max-width: 1200px; margin: 0 auto; }

/* Optional logo area shown only if no nav-only mode */
.pt-site-branding {
  text-align: center;
  padding: 28px 0 0;
  position: relative;
}
.pt-site-branding::before,
.pt-site-branding::after {
  content: '✿'; color: var(--pt-primary-dark); font-size: 16px;
  position: absolute; top: 40%; transform: translateY(-50%);
}
.pt-site-branding::before { left: 0; }
.pt-site-branding::after  { right: 0; }

.pt-site-title {
  font-family: var(--pt-font-heading);
  font-size: 56px; font-weight: 300; letter-spacing: 8px;
  color: var(--pt-text); text-transform: uppercase; line-height: 1;
}
.pt-site-title a { background-image: none; color: var(--pt-text); }
.pt-site-title a:hover { color: var(--pt-primary); }

.pt-site-description {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--pt-primary-dark); margin-top: 8px;
}

/* ============================================
   DESKTOP NAVIGATION
   ============================================ */
.pt-nav-wrap { border-top: 1px solid rgba(201,169,166,0.4); }

.main-navigation ul { list-style: none; display: flex; justify-content: center; }
.main-navigation > ul > li { position: relative; }

.main-navigation > ul > li > a {
  display: block; padding: 15px 22px;
  font-family: var(--pt-font-body);
  font-size: 10.5px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pt-text-mid);
  background-image: none; transition: color 0.2s;
}
.main-navigation > ul > li > a:hover,
.main-navigation > ul > li.current-menu-item > a { color: var(--pt-primary); }

.main-navigation ul ul {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); background: var(--pt-white);
  border: 1px solid var(--pt-border); border-top: 2px solid var(--pt-primary);
  min-width: 180px; z-index: 200;
  box-shadow: 0 8px 28px rgba(200,130,160,0.12);
  list-style: none; padding: 8px 0;
}
.main-navigation ul ul li a {
  display: block; padding: 10px 20px; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--pt-text-mid);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
  background-image: none;
}
.main-navigation ul ul li a:hover { background: var(--pt-soft-pink); color: var(--pt-primary); }
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul { display: block; animation: ptFadeDown 0.18s ease; }

@keyframes ptFadeDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.pt-mobile-header {
  display: none;
  background: var(--pt-blush);
  padding: 16px 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,169,166,0.4);
}

.pt-mobile-logo {
  font-family: var(--pt-font-heading);
  font-size: 22px; letter-spacing: 4px; color: var(--pt-text); text-transform: uppercase;
  background-image: none;
}

.pt-menu-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.pt-menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--pt-text-mid); }
.pt-menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.pt-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.pt-menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.pt-mobile-menu {
  display: none; background: var(--pt-white);
  border-top: 2px solid var(--pt-primary); list-style: none; padding: 12px 0;
}
.pt-mobile-menu.is-open { display: block; }
.pt-mobile-menu li a {
  display: block; padding: 11px 28px; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--pt-text-mid);
  border-bottom: 1px solid #f0e0e8; background-image: none;
}
.pt-mobile-menu li a:hover { color: var(--pt-primary); }

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.pt-reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--pt-primary), var(--pt-lavender));
  z-index: 1000; width: 0%; transition: width 0.1s linear;
}

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */
.pt-container { max-width: var(--pt-container); margin: 0 auto; padding: 0 24px; }

.pt-content-sidebar {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 56px; align-items: start;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.pt-divider {
  display: flex; align-items: center; gap: 18px;
  padding: 36px 0;
}
.pt-divider::before, .pt-divider::after {
  content: ''; flex: 1; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--pt-primary), transparent);
}
.pt-divider span {
  font-family: var(--pt-font-heading);
  font-size: 18px; color: var(--pt-primary); font-style: italic; letter-spacing: 2px; white-space: nowrap;
}

/* ============================================
   HERO / GINGHAM BANNER
   ============================================ */
.pt-hero {
  background-color: var(--pt-blush);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), var(--pt-gingham-color) calc(var(--pt-gingham-size) - 1px), var(--pt-gingham-color) var(--pt-gingham-size)),
    repeating-linear-gradient(90deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), var(--pt-gingham-color) calc(var(--pt-gingham-size) - 1px), var(--pt-gingham-color) var(--pt-gingham-size));
  padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden;
}
.pt-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.pt-hero-eyebrow {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--pt-primary-dark); font-weight: 500; margin-bottom: 16px;
}
.pt-hero-title {
  font-family: var(--pt-font-heading);
  font-size: 56px; font-weight: 300; font-style: italic;
  color: var(--pt-text); line-height: 1.1; letter-spacing: 2px; margin-bottom: 16px;
}
.pt-hero-desc { font-size: 15px; color: var(--pt-text-mid); line-height: 1.85; }

/* Featured image in white frame */
.pt-featured-frame {
  max-width: 780px; margin: 32px auto 0;
  padding: 10px; background: var(--pt-white);
  box-shadow: 0 16px 48px rgba(200,120,150,0.18);
  position: relative;
}
.pt-featured-frame::before { content: '✿'; position: absolute; top: -10px; left: -10px; font-size: 20px; color: var(--pt-primary); }
.pt-featured-frame::after  { content: '✿'; position: absolute; bottom: -10px; right: -10px; font-size: 20px; color: var(--pt-primary); }
.pt-featured-frame img { width: 100%; display: block; }

.pt-hero-fade { height: 60px; background: linear-gradient(to bottom, transparent, var(--pt-white)); margin-top: -60px; position: relative; z-index: 1; }

/* ============================================
   POST META
   ============================================ */
.pt-post-meta {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-primary); margin-bottom: 16px;
}
.pt-post-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-text-light);
}
.pt-meta-dot { color: var(--pt-primary); font-size: 14px; }

.pt-breadcrumb {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-primary-dark); margin-bottom: 16px;
}
.pt-breadcrumb a { color: var(--pt-primary-dark); background-image: none; }

.pt-cat-pill {
  display: inline-block; background: var(--pt-primary); color: var(--pt-white);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; padding: 6px 16px; margin-bottom: 18px;
}

/* ============================================
   POST TITLES
   ============================================ */
.pt-post-title, .entry-title {
  font-family: var(--pt-font-display);
  font-size: 42px; font-weight: 700; line-height: 1.2;
  color: var(--pt-text); margin-bottom: 20px;
}
.pt-post-title em, .entry-title em { color: var(--pt-primary); }

/* Outlined title variant */
.pt-title-outlined {
  color: transparent;
  -webkit-text-stroke: 2px var(--pt-text);
  font-family: var(--pt-font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pt-title-outlined .filled { color: var(--pt-primary); -webkit-text-stroke: 0; }
.pt-title-outlined .outlined-pink { color: transparent; -webkit-text-stroke: 2px var(--pt-primary); }

/* ============================================
   POST CONTENT / ENTRY
   ============================================ */
.entry-content {
  font-size: 15.5px; color: var(--pt-text-mid); line-height: 1.95;
}
.entry-content > * + * { margin-top: 1.4em; }

.entry-content h2 {
  font-family: var(--pt-font-display);
  font-size: 26px; font-weight: 600; color: var(--pt-text);
  padding-bottom: 10px; margin-top: 2em; position: relative;
}
.entry-content h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 48px; height: 2px; background: var(--pt-primary); }

.entry-content h3 {
  font-family: var(--pt-font-body);
  font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-primary); margin-top: 2em;
}

.entry-content p:first-child::first-letter {
  font-family: var(--pt-font-heading);
  font-size: 72px; font-weight: 600; color: var(--pt-primary);
  float: left; line-height: 0.75; margin: 8px 10px 0 0;
}

.entry-content blockquote {
  background: var(--pt-soft-pink);
  padding: 32px 36px; margin: 40px 0; position: relative; text-align: center;
}
.entry-content blockquote::before {
  content: '\201C'; font-family: var(--pt-font-heading);
  font-size: 100px; line-height: 0.6; color: var(--pt-primary); opacity: 0.3;
  position: absolute; top: 28px; left: 20px;
}
.entry-content blockquote p {
  font-family: var(--pt-font-display); font-size: 22px; font-style: italic;
  color: var(--pt-text); line-height: 1.6; margin-top: 0 !important;
}
.entry-content blockquote cite {
  display: block; margin-top: 14px; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pt-primary); font-style: normal; font-weight: 500;
}

/* Intro paragraph style */
.pt-post-intro {
  font-family: var(--pt-font-display);
  font-size: 19px; font-weight: 400; font-style: italic; color: var(--pt-text-mid);
  line-height: 1.85; border-left: 3px solid var(--pt-primary); padding-left: 22px;
}

/* Tips box */
.pt-tips-box {
  background: var(--pt-white); border: 1.5px solid var(--pt-primary);
  padding: 28px 30px; margin: 36px 0; position: relative;
}
.pt-tips-box::before {
  content: '✿ MY TIPS'; position: absolute; top: -11px; left: 20px;
  background: var(--pt-white); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pt-primary); font-weight: 700; padding: 0 8px;
}
.pt-tips-box ul { list-style: none; padding: 0; }
.pt-tips-box ul li {
  font-size: 15px; color: var(--pt-text-mid); padding: 7px 0 7px 28px;
  border-bottom: 1px solid #f8e8ee; position: relative;
}
.pt-tips-box ul li:last-child { border-bottom: none; }
.pt-tips-box ul li::before { content: '♡'; position: absolute; left: 0; color: var(--pt-primary); font-size: 14px; }

/* ============================================
   POST CARDS
   ============================================ */
.pt-card {
  background: var(--pt-white); border: 1px solid var(--pt-text);
  overflow: hidden; transition: box-shadow 0.25s, transform 0.25s;
}
.pt-card:hover { box-shadow: 4px 4px 0 var(--pt-primary); transform: translate(-2px, -2px); }

.pt-card-img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
}
.pt-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pt-card:hover .pt-card-img img { transform: scale(1.04); }

.pt-card-body { padding: 18px 18px 16px; }

.pt-card-tag {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--pt-primary); font-weight: 500; margin-bottom: 7px;
}
.pt-card-title {
  font-family: var(--pt-font-display); font-size: 16px; font-weight: 400;
  line-height: 1.4; color: var(--pt-text); margin-bottom: 8px;
  text-decoration: underline; text-decoration-color: rgba(232,117,154,0.4); text-underline-offset: 3px;
}
.pt-card-title a { background-image: none; }
.pt-card-title a:hover { color: var(--pt-primary); }
.pt-card-excerpt { font-size: 12.5px; color: var(--pt-text-light); line-height: 1.7; margin-bottom: 12px; }
.pt-card-meta {
  font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pt-text-light);
  border-top: 1px solid var(--pt-border); padding-top: 10px;
  display: flex; justify-content: space-between;
}
.pt-card-read { color: var(--pt-primary); font-weight: 500; background-image: none; }

/* Grid layouts */
.pt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pt-gap); }
.pt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--pt-gap); }

/* ============================================
   BUTTONS
   ============================================ */
.pt-btn {
  display: inline-block; padding: 13px 34px;
  background: var(--pt-primary); border: 1.5px solid var(--pt-primary);
  color: var(--pt-white); font-family: var(--pt-font-body);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: background 0.25s, color 0.25s;
  background-image: none;
}
.pt-btn:hover { background: var(--pt-primary-dark); border-color: var(--pt-primary-dark); color: var(--pt-white); }

.pt-btn-outline {
  background: transparent; color: var(--pt-primary);
}
.pt-btn-outline:hover { background: var(--pt-primary); color: var(--pt-white); }

/* ============================================
   CATEGORY SECTION BLOCKS
   ============================================ */
.pt-cat-block { padding: 50px 24px 54px; width: 100%; overflow: hidden; }
.pt-cat-block-gingham {
  background-color: #fde0ee;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.38) calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.38) var(--pt-gingham-size)),
    repeating-linear-gradient(90deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.38) calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.38) var(--pt-gingham-size));
}
.pt-cat-block-pink { background: var(--pt-cat-bg); }
.pt-cat-block-alt  { background: #fef0f6; }

.pt-cat-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.pt-cat-header h2 {
  font-family: var(--pt-font-heading); font-size: 28px; font-weight: 400; font-style: italic;
  color: var(--pt-text); white-space: nowrap; letter-spacing: 1px;
}
.pt-cat-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--pt-primary) 0%, rgba(232,117,154,0.1) 100%); }
.pt-view-all {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-primary);
  text-decoration: none; white-space: nowrap; font-weight: 500; background-image: none;
}
.pt-view-all:hover { color: var(--pt-primary-dark); }

/* ============================================
   SIDEBAR WIDGETS — themed, boxed
   ============================================ */
.widget {
  margin-bottom: 28px;
  background: var(--pt-white);
  border: 1px solid var(--pt-border);
  padding: 22px 20px;
  position: relative;
}

/* pink left accent bar on every widget */
.widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--pt-primary);
}

.widget-title, .widgettitle {
  font-family: var(--pt-font-heading);
  font-size: 20px; font-style: italic; font-weight: 400; color: var(--pt-text);
  letter-spacing: 1px; padding-bottom: 10px;
  border-bottom: 1.5px solid var(--pt-primary); margin-bottom: 16px;
}

/* Default WordPress widget link styling — pink underline */
.widget ul { list-style: none; padding: 0; }

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--pt-border);
  font-size: 13px;
  color: var(--pt-text-mid);
  position: relative;
}
.widget ul li:last-child { border-bottom: none; }

/* Pink bullet heart */
.widget ul li::before {
  content: '♡';
  color: var(--pt-primary);
  font-size: 11px;
  margin-right: 8px;
}

.widget ul li a {
  color: var(--pt-text-mid);
  font-size: 13px;
  letter-spacing: 0.3px;
}
.widget ul li a:hover { color: var(--pt-primary); }

/* Search widget */
.widget_search .search-form {
  display: flex;
}
.widget_search input[type="search"] {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--pt-border); border-right: none;
  font-family: var(--pt-font-body); font-size: 13px;
  color: var(--pt-text); background: var(--pt-white); outline: none;
  transition: border-color 0.2s;
}
.widget_search input[type="search"]:focus { border-color: var(--pt-primary); }
.widget_search input[type="search"]::placeholder { color: var(--pt-text-light); }
.widget_search button, .widget_search input[type="submit"] {
  padding: 10px 16px; background: var(--pt-primary); border: 1.5px solid var(--pt-primary);
  color: var(--pt-white); font-family: var(--pt-font-body);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.widget_search button:hover { background: var(--pt-primary-dark); }

/* Archives widget — override bullets to styled links */
.widget_archive ul li::before,
.widget_categories ul li::before,
.widget_recent_entries ul li::before,
.widget_recent_comments ul li::before,
.widget_pages ul li::before,
.widget_nav_menu ul li::before { content: '♡'; }

/* Category count badge */
.widget_categories ul li .post-count,
.widget_categories ul li a + span {
  float: right;
  background: var(--pt-soft-pink);
  color: var(--pt-primary);
  font-size: 9px; padding: 2px 8px;
  border-radius: 20px; font-weight: 500;
}

/* Recent posts thumbnail */
.widget_recent_entries ul li { padding: 10px 0; }
.widget_recent_entries ul li a { font-size: 13px; line-height: 1.4; display: block; margin-bottom: 3px; }
.widget_recent_entries ul li .post-date {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pt-text-light);
}

/* Tag cloud */
.widget_tag_cloud .tagcloud a {
  display: inline-block; padding: 4px 12px; margin: 4px 3px;
  border: 1px solid var(--pt-primary); color: var(--pt-primary);
  font-size: 10px !important; letter-spacing: 2px; text-transform: uppercase;
  background-image: none; transition: background 0.2s, color 0.2s;
}
.widget_tag_cloud .tagcloud a:hover { background: var(--pt-primary); color: var(--pt-white); }

/* Text / HTML widget */
.widget_text p, .widget_html p { font-size: 13px; color: var(--pt-text-mid); line-height: 1.7; }

/* Calendar widget */
.widget_calendar table { width: 100%; border-collapse: collapse; font-size: 12px; }
.widget_calendar th { background: var(--pt-blush); color: var(--pt-text-mid); padding: 6px; text-align: center; }
.widget_calendar td { padding: 5px; text-align: center; }
.widget_calendar td a { color: var(--pt-primary); font-weight: 500; }
.widget_calendar #today { background: var(--pt-primary); color: #fff; border-radius: 50%; }

/* Newsletter widget */
.widget_pink_tea_newsletter {
  background-color: var(--pt-blush);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.3) calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.3) var(--pt-gingham-size)),
    repeating-linear-gradient(90deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.3) calc(var(--pt-gingham-size) - 1px), rgba(255,140,192,0.3) var(--pt-gingham-size));
  padding: 24px 20px; text-align: center;
}
.widget_pink_tea_newsletter h3 {
  font-family: var(--pt-font-heading); font-size: 22px; font-weight: 300; font-style: italic;
  color: var(--pt-text); margin-bottom: 8px;
}
.widget_pink_tea_newsletter p { font-size: 12px; color: var(--pt-text-mid); margin-bottom: 14px; line-height: 1.6; }
.widget_pink_tea_newsletter input[type="email"] {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--pt-primary);
  background: rgba(255,255,255,0.85); font-family: var(--pt-font-body);
  font-size: 12px; color: var(--pt-text); outline: none; margin-bottom: 8px;
}
.widget_pink_tea_newsletter button {
  width: 100%; padding: 11px; background: var(--pt-primary); border: none;
  color: var(--pt-white); font-family: var(--pt-font-body);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.widget_pink_tea_newsletter button:hover { background: var(--pt-primary-dark); }

/* ============================================
   HEART RELATED POSTS
   ============================================ */
.pt-related-section {
  background: var(--pt-soft-pink); padding: 70px 24px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.pt-related-section::before {
  content: '♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡';
  position: absolute; inset: 0; font-size: 28px; color: rgba(232,117,154,0.07);
  letter-spacing: 28px; pointer-events: none; word-break: break-all;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}

.pt-related-title {
  font-family: var(--pt-font-heading);
  font-size: 38px; font-weight: 300; font-style: italic;
  color: var(--pt-text); margin-bottom: 48px; position: relative; z-index: 1;
}

.pt-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1040px; margin: 0 auto; position: relative; z-index: 1;
}

.pt-heart-card { text-align: center; cursor: pointer; }

.pt-heart-frame {
  position: relative; width: 180px; height: 180px; margin: 0 auto 20px;
}
.pt-heart-inner {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; clip-path: url(#ptHeartClip);
  transition: transform 0.35s ease;
}
.pt-heart-inner img { width: 100%; height: 100%; object-fit: cover; }
.pt-heart-card:hover .pt-heart-inner { transform: scale(1.06); }
.pt-heart-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

.pt-heart-cat {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--pt-primary);
  font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pt-heart-cat::before, .pt-heart-cat::after { content: '♡'; font-size: 11px; }

.pt-heart-title {
  font-family: var(--pt-font-display); font-size: 17px; font-weight: 400; line-height: 1.45;
  color: var(--pt-text); margin-bottom: 10px; display: block; background-image: none;
}
.pt-heart-title:hover { color: var(--pt-primary); }

/* ============================================
   POST NAVIGATION
   ============================================ */
.pt-post-nav { background: var(--pt-white); border-top: 1px solid var(--pt-border); border-bottom: 1px solid var(--pt-border); }
.pt-post-nav-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1px 1fr; }
.pt-nav-divider { background: var(--pt-border); }
.pt-nav-item { padding: 32px 28px; display: flex; flex-direction: column; text-decoration: none; transition: background 0.2s; background-image: none; }
.pt-nav-item:hover { background: #fff5f8; }
.pt-nav-item.next { align-items: flex-end; text-align: right; }
.pt-nav-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-primary); font-weight: 500; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.pt-nav-item.prev .pt-nav-label::before { content: '← ♡'; }
.pt-nav-item.next .pt-nav-label::after  { content: '♡ →'; }
.pt-nav-post-title {
  font-family: var(--pt-font-display); font-size: 17px; font-weight: 400;
  color: var(--pt-text); line-height: 1.4;
}

/* ============================================
   AUTHOR BOX
   ============================================ */
.pt-author-box {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--pt-soft-pink); padding: 28px;
  border-left: 3px solid var(--pt-primary); margin-top: 40px;
}
.pt-author-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; border: 2px solid var(--pt-white);
  box-shadow: 0 2px 10px rgba(200,120,150,0.2);
}
.pt-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pt-author-info h4 { font-family: var(--pt-font-display); font-size: 18px; font-weight: 400; margin-bottom: 4px; }
.pt-author-handle { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-primary); margin-bottom: 10px; font-weight: 500; }

/* ============================================
   POST TAGS & SHARE
   ============================================ */
.pt-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--pt-border); }
.pt-tag {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-primary);
  border: 1px solid var(--pt-primary); padding: 5px 14px;
  transition: background 0.2s, color 0.2s; background-image: none;
}
.pt-tag:hover { background: var(--pt-primary); color: var(--pt-white); }

/* ============================================
   PAGINATION
   ============================================ */
.pt-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.pt-page-btn {
  width: 38px; height: 38px; border: 1.5px solid var(--pt-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; text-decoration: none; color: var(--pt-text-mid);
  transition: border-color 0.2s, background 0.2s, color 0.2s; background-image: none;
}
.pt-page-btn:hover { border-color: var(--pt-primary); color: var(--pt-primary); }
.pt-page-btn.current { background: var(--pt-primary); border-color: var(--pt-primary); color: var(--pt-white); }

/* ============================================
   HOMEPAGE — hide page title
   ============================================ */
.home .entry-title,
.home .page-title,
.home h1.entry-title { display: none; }

/* ============================================
   POST GRID — 4 col desktop, 2 col mobile
   ============================================ */
.pt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pt-gap);
}

/* Homepage layout: first 4 cards = 2×2, last 4 cards = 1×4 */
.pt-cat-block .pt-grid-4 > *:nth-child(-n+4) {
  grid-column: span 2;
}
.pt-cat-block .pt-grid-4 > *:nth-child(n+5) {
  grid-column: span 1;
}

/* ============================================
   NEWSLETTER SECTION (full-width) — on-theme
   ============================================ */
.pt-newsletter-section {
  background-color: var(--pt-blush);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,120,175,0.42) calc(var(--pt-gingham-size) - 1px), rgba(255,120,175,0.42) var(--pt-gingham-size)),
    repeating-linear-gradient(90deg, transparent, transparent calc(var(--pt-gingham-size) - 1px), rgba(255,120,175,0.42) calc(var(--pt-gingham-size) - 1px), rgba(255,120,175,0.42) var(--pt-gingham-size));
  padding: 64px 24px; text-align: center; position: relative; overflow: hidden;
}
.pt-newsletter-section::before, .pt-newsletter-section::after {
  content: '✿ ✿ ✿'; position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: rgba(180,80,120,0.4); letter-spacing: 14px;
}
.pt-newsletter-section::before { top: 18px; }
.pt-newsletter-section::after  { bottom: 18px; }

.pt-newsletter-card {
  max-width: 520px; margin: 0 auto; position: relative; z-index: 1;
  background: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(232,117,154,0.4);
  padding: 42px 38px 36px;
}
.pt-newsletter-title {
  font-family: var(--pt-font-heading);
  font-size: 36px; font-weight: 300; color: var(--pt-text); line-height: 1.2; margin-bottom: 10px;
}
.pt-newsletter-title em { font-style: italic; color: var(--pt-primary); }
.pt-newsletter-desc { font-size: 13px; color: var(--pt-text-mid); margin-bottom: 22px; line-height: 1.7; }
.pt-newsletter-privacy { font-size: 10px; color: var(--pt-text-light); margin-top: 12px; letter-spacing: 0.5px; }

.pt-newsletter-form { display: flex; max-width: 400px; margin: 0 auto; }
.pt-newsletter-form input[type="email"] {
  flex: 1; padding: 13px 18px; border: 1.5px solid var(--pt-primary); border-right: none;
  background: var(--pt-white); font-family: var(--pt-font-body); font-size: 13px; outline: none;
}
.pt-newsletter-form input[type="email"]::placeholder { color: var(--pt-text-light); }
.pt-newsletter-form button {
  padding: 13px 22px; background: var(--pt-primary); border: 1.5px solid var(--pt-primary);
  color: var(--pt-white); font-family: var(--pt-font-body);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.pt-newsletter-form button:hover { background: var(--pt-primary-dark); border-color: var(--pt-primary-dark); }

/* Override any plugin newsletter styles to match theme */
.mc4wp-form input[type="email"] {
  padding: 13px 18px; border: 1.5px solid var(--pt-primary);
  background: var(--pt-white); font-family: var(--pt-font-body); font-size: 13px; outline: none;
  width: 100%; margin-bottom: 10px;
}
.mc4wp-form input[type="submit"] {
  padding: 13px 22px; background: var(--pt-primary); border: 1.5px solid var(--pt-primary);
  color: var(--pt-white); font-family: var(--pt-font-body);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background 0.2s; width: 100%;
}
.mc4wp-form input[type="submit"]:hover { background: var(--pt-primary-dark); }

/* Mailchimp / any third-party newsletter embed — neutralize */
.pt-newsletter-section .mc4wp-form,
.pt-newsletter-section form {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* ============================================
   FOOTER
   ============================================ */
.pt-footer {
  background: var(--pt-blush); padding: 50px 24px 28px;
  text-align: center; border-top: 1px solid rgba(201,169,166,0.3);
}
.pt-footer-logo {
  font-family: var(--pt-font-heading); font-size: 32px; font-weight: 300;
  letter-spacing: 6px; text-transform: uppercase; color: var(--pt-text); margin-bottom: 6px;
}
.pt-footer-logo a { background-image: none; color: var(--pt-text); }
.pt-footer-tagline { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--pt-primary-dark); margin-bottom: 24px; }
.pt-footer-nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.pt-footer-nav a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-text-mid); background-image: none; transition: color 0.2s; }
.pt-footer-nav a:hover { color: var(--pt-primary); }
.pt-footer-socials { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.pt-social-pill {
  width: 36px; height: 36px; border: 1px solid var(--pt-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; color: var(--pt-primary); background-image: none;
}
.pt-social-pill:hover { background: var(--pt-primary); color: var(--pt-white); }
.pt-footer-copy {
  font-size: 11px; color: var(--pt-text-light); letter-spacing: 1px;
  border-top: 1px solid rgba(201,169,166,0.3); padding-top: 20px;
}

/* ============================================
   FORMS (Contact, Comments)
   ============================================ */
.pt-form input[type="text"],
.pt-form input[type="email"],
.pt-form input[type="url"],
.pt-form select,
.pt-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--pt-border); background: var(--pt-white);
  font-family: var(--pt-font-body); font-size: 14px; color: var(--pt-text);
  outline: none; transition: border-color 0.2s; margin-bottom: 18px;
}
.pt-form input:focus, .pt-form textarea:focus,
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--pt-primary); }

.pt-form label,
.comment-form label {
  font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pt-primary); font-weight: 500; margin-bottom: 8px; display: block;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--pt-border); }
.comments-title { font-family: var(--pt-font-display); font-size: 24px; margin-bottom: 28px; }
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--pt-border); }
.comment-author { font-weight: 500; color: var(--pt-text); }
.comment-metadata { font-size: 11px; color: var(--pt-text-light); letter-spacing: 1px; }
.comment-content { margin-top: 8px; font-size: 15px; color: var(--pt-text-mid); }

/* ============================================
   ACCESSIBILITY & SKIP LINK
   ============================================ */
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--pt-primary);
  color: var(--pt-white); padding: 8px 16px; z-index: 10000; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .pt-site-header { padding: 0 16px; }
  .main-navigation { display: none; }
  .pt-mobile-header { display: flex; }
  .pt-content-sidebar { grid-template-columns: 1fr; }

  /* 2 columns on tablet */
  .pt-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pt-grid-4 { grid-template-columns: repeat(2, 1fr); }

  .pt-hero-title { font-size: 40px; }
  .pt-related-grid { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
  .pt-post-nav-inner { grid-template-columns: 1fr; }
  .pt-nav-divider { display: none; }
  .pt-nav-item.next { align-items: flex-start; text-align: left; }
  .pt-newsletter-card { padding: 32px 20px; }
  .pt-newsletter-form { flex-direction: column; }
  .pt-newsletter-form input[type="email"] { border-right: 1.5px solid var(--pt-primary); }
  .pt-cat-block { padding: 36px 20px 40px; }
  .pt-author-box { flex-direction: column; align-items: center; text-align: center; }

  /* Keep page/content in frame */
  .pt-container { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 600px) {
  html, body { overflow-x: hidden; max-width: 100vw; }

  .pt-site-title { font-size: 34px; letter-spacing: 4px; }
  .pt-hero-title { font-size: 26px; }

  /* 2 columns on mobile for post grids */
  .pt-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pt-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pt-grid-2 { grid-template-columns: 1fr; }

  /* Reset homepage span overrides on mobile */
  .pt-cat-block .pt-grid-4 > *:nth-child(-n+4),
  .pt-cat-block .pt-grid-4 > *:nth-child(n+5) {
    grid-column: span 1;
  }

  .pt-post-title, .entry-title { font-size: 26px; }
  .pt-newsletter-form { flex-direction: column; }
  .pt-newsletter-form input[type="email"] { border-right: 1.5px solid var(--pt-primary); }
  .pt-footer-nav { gap: 10px; }
  .pt-container { padding-left: 14px; padding-right: 14px; }

  /* Keep card text readable at small sizes */
  .pt-card-title { font-size: 14px; }
  .pt-card-excerpt { display: none; }

  /* Related posts: 1 column on small mobile */
  .pt-related-grid { grid-template-columns: 1fr; max-width: 260px; }

  /* Widgets: reduce padding */
  .widget { padding: 16px 14px; }

  /* Featured post: stack on mobile */
  .pt-featured-inner { grid-template-columns: 1fr !important; }
}
  
    