/*
Theme Name: Palace Craving Child
Theme URI: https://palacecraving.com/
Description: Custom Editorial Theme for Palace Craving - Cloned Aesthetic of Cozy Crochet Club
Author: Palace Craving Team
Template: generatepress
Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Lobster&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --blue: #123f91;
  --blue-dark: #0a2f73;
  --pink: #ef6f9e;
  --pink-soft: #fff0f5;
  --cream: #fbf2e8;
  --cream-light: #fffaf7;
  --white: #fff;
  --text: #667085;
  --border: #eadfd5;
  --shadow: 0 16px 44px rgba(30,54,95,.10);
  --font-heading: 'Lobster', cursive;
  --font-sans: 'DM Sans', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #ffffff !important;
  color: var(--text) !important;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* =========================================================
   HEADER STYLING (MATCHING COZY CROCHET CLUB)
   ========================================================= */
.pc-site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1000;
  padding: 14px 0;
}

.pc-header-container {
  width: 96%;
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.pc-brand-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
}

.pc-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-logo-text {
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  color: var(--blue);
  font-weight: 400;
}

.pc-yarn-icon {
  width: 26px;
  height: 26px;
  color: var(--pink);
}

.pc-logo-sub {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 3px;
  padding-left: 2px;
}

.pc-nav-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pc-nav-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 28px;
}

.pc-nav-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.pc-nav-menu li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none !important;
  transition: color 0.2s ease;
  padding: 10px 0;
}

.pc-nav-menu li a:hover,
.pc-nav-menu li.current-menu-item a {
  color: var(--pink) !important;
}

.pc-nav-menu li.menu-item-has-children > a::after {
  content: '▾';
  font-size: 11px;
  margin-left: 4px;
}

.pc-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.pc-nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pc-nav-menu .sub-menu li a {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  display: block;
  color: var(--blue) !important;
}

.pc-nav-menu .sub-menu li a:hover {
  background-color: var(--pink-soft) !important;
  color: var(--pink) !important;
  padding-left: 24px !important;
}

.pc-header-pinterest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: 1px solid #fed7e2;
}

.pc-header-pinterest:hover {
  background: var(--pink);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .pc-nav-area {
    display: none;
  }
}

/* =========================================================
   FOOTER (COZY CROCHET STYLE)
   ========================================================= */
.pc-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 50px 0 35px 0;
  margin-top: 60px;
}

.pc-footer-inner {
  width: 94%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.pc-footer-links {
  display: flex;
  gap: 24px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap;
}

.pc-footer-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.pc-footer-links a:hover {
  color: var(--blue);
}

.pc-footer-copy {
  width: 100%;
  border-top: 1px solid #f3ece4;
  margin-top: 30px;
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #98a2b3;
}

/* =========================================================
   SINGLE ARTICLE & BLUEPRINT STYLES
   ========================================================= */
.pc-article-container {
  width: 94%;
  max-width: 1100px;
  margin: 40px auto 80px auto;
}

.pc-blueprint-box {
  background: var(--cream) !important;
  border-left: 4px solid var(--blue) !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  margin: 32px 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
}

.pc-blueprint-box h3 {
  margin-top: 0 !important;
  color: var(--blue) !important;
  font-size: 22px !important;
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
}

.pc-blueprint-box ul {
  margin: 14px 0 0 0 !important;
  padding-left: 20px !important;
  line-height: 1.75 !important;
  color: #344054 !important;
  font-size: 15px !important;
}

.has-lead {
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: #1d2939 !important;
  margin-bottom: 25px !important;
}

.single .entry-content figure.wp-block-image img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 24px auto;
}

.single .entry-content hr,
.single .entry-content .wp-block-separator,
.entry-content > hr {
  display: none !important;
  border: none !important;
  height: 0 !important;
}


@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Lobster&display=swap');

.ccc7,
.ccc7 *,
.ccc7 *::before,
.ccc7 *::after{
  box-sizing:border-box;
}

.ccc7{
  --blue:#123f91;
  --blue-dark:#0a2f73;
  --pink:#ef6f9e;
  --pink-soft:#fff0f5;
  --cream:#fbf2e8;
  --cream-light:#fffaf7;
  --white:#fff;
  --text:#667085;
  --border:#eadfd5;
  --shadow:0 16px 44px rgba(30,54,95,.10);

  display:block;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;

  font-family:'DM Sans',Arial,sans-serif;
  color:var(--text);
  font-size:16px;
  line-height:1.65;
}

.ccc7 img{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
}

.ccc7 a{
  text-decoration:none;
}

.ccc7-content{
  width:94%;
  max-width:1500px;
  margin:0 auto;
}

.ccc7-wide{
  width:96%;
  max-width:1580px;
  margin:0 auto;
}

.ccc7-script{
  font-family:'Lobster',cursive;
  font-weight:400;
  color:var(--blue);
}

.ccc7-kicker{
  margin:0 0 9px;
  color:var(--pink);
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.ccc7-heading{
  max-width:780px;
  margin:0 auto 42px;
  text-align:center;
}

.ccc7-heading h2{
  margin:0 0 10px !important;
  color:var(--blue);
  font-size:clamp(38px,4vw,58px);
  line-height:1.07;
}

.ccc7-heading p{
  max-width:690px;
  margin:0 auto !important;
  font-size:16px;
  line-height:1.7;
}

.ccc7-btn{
  display:inline-flex;
  min-height:49px;
  align-items:center;
  justify-content:center;
  padding:12px 25px;
  border:2px solid var(--blue);
  border-radius:999px;
  background:var(--blue);
  color:#fff !important;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  transition:.2s ease;
}

.ccc7-btn:hover{
  background:var(--blue-dark);
  border-color:var(--blue-dark);
  transform:translateY(-2px);
}

.ccc7-btn-light{
  background:#fff;
  color:var(--blue) !important;
}

.ccc7-btn-light:hover{
  background:#f6f8ff;
  color:var(--blue-dark) !important;
}


/* =========================================================
   HERO
   ========================================================= */

.ccc7-hero{
  padding:28px 0 66px;
}

.ccc7-hero-card{
  overflow:hidden;
  border-radius:32px;
  background:var(--cream);
  box-shadow:0 12px 35px rgba(30,54,95,.06);
}

.ccc7-hero-main{
  display:flex;
  min-height:570px;
  align-items:center;

  background:
    linear-gradient(
      90deg,
      rgba(251,242,232,.99) 0%,
      rgba(251,242,232,.97) 35%,
      rgba(251,242,232,.79) 48%,
      rgba(251,242,232,.25) 65%,
      rgba(251,242,232,.02) 82%
    ),
    url('/wp-content/uploads/assets/free_crochet_blanket_patterns_6tr43.jpg')
    center right / cover no-repeat;
}

.ccc7-hero-copy{
  width:54%;
  max-width:760px;
  padding:72px 68px;
}

.ccc7-hero-copy h1{
  max-width:660px;
  margin:0 0 20px !important;
  color:var(--blue);
  font-family:'Lobster',cursive;
  font-size:clamp(56px,5.5vw,84px);
  font-weight:400;
  line-height:.98;
}

.ccc7-hero-copy p{
  max-width:600px;
  margin:0 0 29px !important;
  color:#55627b;
  font-size:18px;
  line-height:1.72;
}

.ccc7-hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.ccc7-hero-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(210,194,180,.45);
}

.ccc7-hero-link{
  position:relative;
  display:flex;
  min-height:120px;
  align-items:center;
  justify-content:center;
  gap:17px;
  padding:24px 34px;
}

.ccc7-hero-link:not(:last-child)::after{
  position:absolute;
  top:25px;
  right:0;
  width:1px;
  height:70px;
  background:#e6d8cc;
  content:"";
}

.ccc7-hero-icon{
  width:52px !important;
  height:52px !important;
  flex:0 0 52px;
  object-fit:contain;
}

.ccc7-hero-link strong{
  display:block;
  margin-bottom:2px;
  color:var(--blue);
  font-size:16px;
}

.ccc7-hero-link span{
  display:block;
  color:#718099;
  font-size:13px;
}


/* =========================================================
   PATTERN SECTION
   ========================================================= */

.ccc7-pattern-wrap{
  padding:0 0 92px;
}

.ccc7-pattern-panel{
  padding:78px 4% 74px;
  border-radius:30px;
  background:var(--cream);
}

.ccc7-pattern-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:22px;
}

.ccc7-pattern-card{
  position:relative;
  overflow:hidden;
  min-height:330px;
  border-radius:25px;
  box-shadow:0 10px 28px rgba(33,55,92,.08);
}

.ccc7-pattern-large{
  grid-column:span 6;
  min-height:410px;
}

.ccc7-pattern-small{
  grid-column:span 4;
}

.ccc7-pattern-card img{
  width:100%;
  height:100%;
  min-height:330px;
  object-fit:cover;
  transition:transform .45s ease;
}

.ccc7-pattern-large img{
  min-height:410px;
}

.ccc7-pattern-card:hover img{
  transform:scale(1.045);
}

.ccc7-pattern-label{
  position:absolute;
  right:16px;
  bottom:16px;
  left:16px;
  padding:17px 19px;
  border-radius:17px;
  background:rgba(255,255,255,.95);
  box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.ccc7-pattern-label h3{
  margin:0 0 3px !important;
  color:var(--blue);
  font-size:20px;
}

.ccc7-pattern-label span{
  color:var(--pink);
  font-size:13px;
  font-weight:800;
}

.ccc7-center{
  margin-top:32px;
  text-align:center;
}


/* =========================================================
   BEGINNER JOURNEY
   ========================================================= */

.ccc7-journey{
  padding:0 0 98px;
}

.ccc7-journey-card{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  min-height:590px;
  overflow:hidden;
  border-radius:30px;
  background:#fff;
  box-shadow:var(--shadow);
}

.ccc7-journey-img{
  min-height:590px;

  background:
    url('/wp-content/uploads/assets/cozycrochetclub-Gallery-4.jpg')
    center / cover no-repeat;
}

.ccc7-journey-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:74px 78px;
}

.ccc7-journey-copy h2{
  margin:0 0 18px !important;
  font-size:clamp(41px,4vw,60px);
  line-height:1.06;
}

.ccc7-journey-intro{
  max-width:650px;
  margin:0 0 31px !important;
  font-size:16px;
  line-height:1.75;
}

.ccc7-step{
  display:flex;
  gap:17px;
  padding:18px 0;
  border-top:1px solid #eee5dc;
}

.ccc7-step:last-of-type{
  border-bottom:1px solid #eee5dc;
}

.ccc7-step-num{
  display:flex;
  width:36px;
  height:36px;
  flex:0 0 36px;
  align-items:center;
  justify-content:center;
  margin-top:1px;
  border-radius:50%;
  background:var(--pink-soft);
  color:var(--pink);
  font-size:12px;
  font-weight:800;
}

.ccc7-step h3{
  margin:0 0 4px !important;
  color:var(--blue);
  font-size:16px;
}

.ccc7-step p{
  margin:0 !important;
  color:var(--text);
  font-size:14px;
  line-height:1.6;
}

.ccc7-journey-button{
  margin-top:30px;
}


/* =========================================================
   STITCHES
   ========================================================= */

.ccc7-stitch-wrap{
  padding:0 0 96px;
}

.ccc7-stitch-panel{
  padding:78px 4% 72px;
  border-radius:30px;
  background:var(--cream-light);
}

.ccc7-stitch-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.ccc7-stitch-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:22px;
  background:#fff;
  transition:.25s ease;
}

.ccc7-stitch-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 34px rgba(33,55,92,.10);
}

.ccc7-stitch-card img{
  aspect-ratio:1/1;
  object-fit:cover;
}

.ccc7-stitch-name{
  padding:16px 14px 17px;
  color:var(--blue);
  text-align:center;
  font-size:15px;
  font-weight:800;
}


/* =========================================================
   EASY PROJECTS
   ========================================================= */

.ccc7-projects{
  padding:0 0 98px;
}

.ccc7-project-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:17px;
}

.ccc7-project{
  position:relative;
  min-height:245px;
  overflow:hidden;
  border-radius:20px;
}

.ccc7-project img{
  height:245px;
  object-fit:cover;
  transition:transform .4s ease;
}

.ccc7-project:hover img{
  transform:scale(1.055);
}

.ccc7-project-name{
  position:absolute;
  right:12px;
  bottom:12px;
  left:12px;
  padding:11px 8px;
  border-radius:12px;
  background:rgba(255,255,255,.95);
  color:var(--blue);
  text-align:center;
  font-size:13px;
  font-weight:800;
}


/* =========================================================
   FREE PATTERN LIBRARY
   ========================================================= */

.ccc7-library{
  padding:0 0 78px;
}

.ccc7-library-card{
  display:flex;
  min-height:455px;
  align-items:center;
  overflow:hidden;
  border-radius:31px;

  background:
    linear-gradient(
      90deg,
      rgba(16,55,137,.98) 0%,
      rgba(16,55,137,.95) 42%,
      rgba(16,55,137,.46) 67%,
      rgba(16,55,137,.06) 100%
    ),
    url('/wp-content/uploads/assets/crochet_bag_tutorial_inspiration_hmt2k.jpg')
    center right / cover no-repeat;
}

.ccc7-library-copy{
  width:58%;
  max-width:780px;
  padding:64px 70px;
}

.ccc7-library-copy .ccc7-kicker{
  color:#ffadc9;
}

.ccc7-library-copy h2{
  margin:0 0 15px !important;
  color:#fff;
  font-size:clamp(42px,4vw,60px);
  line-height:1.06;
}

.ccc7-library-copy p{
  max-width:620px;
  margin:0 0 25px !important;
  color:rgba(255,255,255,.88);
  font-size:17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1024px){

  .ccc7-content{
    width:94%;
  }

  .ccc7-wide{
    width:96%;
  }

  .ccc7-project-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .ccc7-journey-copy{
    padding:60px 55px;
  }
}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media(max-width:800px){

  .ccc7-hero-main{
    min-height:auto;

    background:
      linear-gradient(
        rgba(251,242,232,.94),
        rgba(251,242,232,.94)
      ),
      url('/wp-content/uploads/assets/free_crochet_blanket_patterns_6tr43.jpg')
      center / cover no-repeat;
  }

  .ccc7-hero-copy{
    width:100%;
    padding:50px 30px;
    text-align:center;
  }

  .ccc7-hero-copy p{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .ccc7-hero-buttons{
    justify-content:center;
  }

  .ccc7-hero-nav{
    grid-template-columns:1fr;
  }

  .ccc7-hero-link{
    justify-content:flex-start;
    min-height:95px;
    padding:20px 28px;
  }

  .ccc7-hero-link:not(:last-child)::after{
    top:auto;
    right:25px;
    bottom:0;
    left:25px;
    width:auto;
    height:1px;
  }

  .ccc7-pattern-large,
  .ccc7-pattern-small{
    grid-column:span 6;
  }

  .ccc7-journey-card{
    grid-template-columns:1fr;
  }

  .ccc7-journey-img{
    min-height:410px;
  }

  .ccc7-journey-copy{
    padding:52px 40px;
  }

  .ccc7-stitch-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ccc7-library-card{
    background:
      linear-gradient(
        rgba(16,55,137,.95),
        rgba(16,55,137,.95)
      ),
      url('/wp-content/uploads/assets/crochet_bag_tutorial_inspiration_hmt2k.jpg')
      center / cover no-repeat;
  }

  .ccc7-library-copy{
    width:100%;
    max-width:none;
    padding:52px 34px;
    text-align:center;
  }

  .ccc7-library-copy p{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:560px){

  .ccc7-content,
  .ccc7-wide{
    width:94%;
  }

  .ccc7-pattern-panel,
  .ccc7-stitch-panel{
    padding-left:14px;
    padding-right:14px;
  }

  .ccc7-pattern-grid{
    grid-template-columns:1fr;
  }

  .ccc7-pattern-large,
  .ccc7-pattern-small{
    grid-column:auto;
    min-height:285px;
  }

  .ccc7-pattern-card img,
  .ccc7-pattern-large img{
    min-height:285px;
  }

  .ccc7-stitch-grid{
    gap:11px;
  }

  .ccc7-project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ccc7-project,
  .ccc7-project img{
    min-height:180px;
    height:180px;
  }

  .ccc7-library{
    padding-bottom:55px;
  }
}