/* =================================================== */
/* 🌟 VRIL GENERATOR - CLEAN CSS                       */
/* =================================================== */

/* ===== Hide radio and checkbox inputs ===== */
#vril-generator input[type="radio"],
#vril-generator input[type="checkbox"] {
    display: none;
}

/* ===== Reset default spacing ===== */
#vril-generator *,
#vril-generator p,
#vril-generator label,
#vril-generator select,
#vril-generator button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#vril-generator p {
    margin-bottom: 1rem;
}

/* ===== Step layout ===== */
#vril-generator .step {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr;
    gap: 20px;
    margin-bottom: 1.5rem;
}

/* Step headings / labels */
#vril-generator .step h3,
#vril-generator .step h4,
#vril-generator .step label[for] {
    grid-column: 1 / -1;
    justify-self: stretch;
    align-self: start;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== CATEGORY WRAPPERS ===== */
#vril-generator .category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: minmax(50px, auto);
    gap: 15px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(4px);
}

/* ===== CATEGORY LABELS (tiles) ===== */
#vril-generator .category label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid transparent;
    border-radius: 8px;
    color: #e2e2e2;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 45px;
}

/* Hover effect */
#vril-generator .category label:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 255, 150, 0.4);
}

/* Active glow (selected tile) */
#vril-generator .category input[type="checkbox"]:checked + label,
#vril-generator .category input[type="radio"]:checked + label,
#vril-generator .category label.active {
    background: rgba(0, 255, 150, 0.15);
    border-color: #00c896;
    box-shadow: 0 0 10px #00c896;
    color: #fff;
}

/* ===== FORM CONTROLS ===== */
/* Selects */
#vril-generator select {
    display: block;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    border: 2px solid #ccc;
    background: #f9f9f9;
    font-size: 1rem;
    color: #111;
    margin-bottom: 1rem;
}

/* Buttons */

#vril-generator button,
#vril-generator input[type="submit"] {
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering if needed */
    flex-wrap: wrap;      align-items: center;
    gap: 0.6rem;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #ffca28;
    color: #000;
    transition: all 0.2s ease;
    margin: 0 auto;
}

#vril-generator button:hover,
#vril-generator input[type="submit"]:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}

/* ===== RESULTS ===== */
#vril-generator #vril-result {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    color: #fff;
}

/* ===== STACKED MODULE (long-answer steps) ===== */
#vril-generator #forminator-module-3076 .step {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 900px) {
    #vril-generator .step {
        grid-template-columns: repeat(2, 1fr);
    }
    #vril-generator .category {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media screen and (max-width: 600px) {
    #vril-generator .step,
    #vril-generator .category {
        grid-template-columns: 1fr;
    }
}

/* Step 2 checkboxes layout */
#step-2 .category {
  display: flex;        /* arrange labels in a row */
  flex-wrap: wrap;      /* allow wrapping to next row */
  gap: 10px;            /* space between labels */
    background: #efefef;
  margin-top: -1.5rem;
  padding: 2rem 1rem 1rem 1rem;
}

#step-2 .category label {
    display: flex;                 /* flex container for checkbox + text */
    flex-direction: column;        /* optional: stack text under checkbox if needed */
    align-items: center;           /* vertically center content */
    justify-content: center;       /* horizontal centering */
    cursor: pointer;               /* pointer on hover */
    padding: 20px;                 /* consistent padding */
    text-align: center;            /* center text */
    margin: 0 auto;
    
    /* Colors, borders, shadows, fonts from your "label button" */
    background-color: rgb(249, 249, 249);
    color: rgb(34, 34, 34);
    font-family: "Merriweather", serif, Arial, Helvetica, sans-serif;
    line-height: 25.6px;
    border: 1.75px solid rgb(204, 204, 204);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px 0px;

    /* Transitions for hover effects */
    transition: all 0.3s ease;
}

/* Optional hover effect */
#step-2 .category label:hover {
    background-color: rgb(245, 245, 245);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
}


#step-2 .category input.part2-choice {
  margin-right: 6px;    /* space between checkbox and text */
}


#vril-result-container {
    background: linear-gradient(145deg, #1e1e2f, #2a2a3d);
    color: #fff !important;
    padding: 25px 20px;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 15px 5px #C22F5D; 
    box-shadow: 0px 0px 15px 5px #C22F5D;
    max-width: 600px;
    margin: 30px auto;
    font-family: 'Helvetica', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.4s ease;
}

#vril-result-container p {
    margin-bottom: 20px;
    line-height: 1.5;
}

#vril-result-container:hover {
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 15px 5px rgba(108,173,103,0.46); 
    box-shadow: 0px 10px 13px -7px #000000, 0px 0px 15px 5px rgba(108,173,103,0.46);
    }

#vril-result-container button {
    background-color: #ffca28;
    color: #000;
    padding: 10px 25px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

#vril-result-container button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffca28;
}







/* ============================================================== */
/*                         Forminator Styles                      */
/* ============================================================== */

/* ===== Hide radio inputs and checkmark icons ===== */
.forminator-answer input[type="radio"],
.forminator-answer--status {
    display: none;
}

/* ===== Default Question container: stacked answers ===== */
.forminator-question {
    display: flex;
    flex-direction: column;       /* stack answers vertically */
    gap: 20px;                    /* spacing between answers */
}

/* ===== Legend styling (applies to all) ===== */
.forminator-question .forminator-legend {
    width: 100%;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    font-weight: bold;
    font-size: 1.2rem;
    align-self: start;
}

/* ===== Each answer as a card ===== */
.forminator-answer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 12px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ===== Glow the entire card when selected ===== */
.forminator-answer:has(input[type="radio"]:checked) {
    box-shadow: 0 0 20px 5px #ffea00;
    border-color: #ffea00;
    background-color: #fff9c4;
}

/* ===== Hover effect ===== */
.forminator-answer:hover {
    box-shadow: 0 0 12px 3px #ffd700;
    transform: translateY(-2px);
}

/* ===== Smooth transitions ===== */
.forminator-answer,
.forminator-answer--name {
    transition: all 0.3s ease;
}

/* ===== Quiz buttons styling ===== */
.forminator-button {
    background-color: #ffca28;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.forminator-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}

/* ===== Center pagination buttons ===== */
.forminator-pagination-footer, .forminator-quiz--action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Optional: style pagination buttons consistently */
.forminator-pagination-footer .forminator-button {
    padding: 12px 35px;
    font-weight: bold;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.forminator-pagination-footer .forminator-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}


/* Make button content flex to control icon-text spacing */
.forminator-quiz--action-buttons .forminator-button {
    display: inline-flex;        /* flex layout */
    align-items: center;         /* vertically center icon and text */
    gap: 10px;                   /* space between icon and text, adjust as needed */
}

/* Optional: increase padding if buttons feel tight */
.forminator-quiz--action-buttons .forminator-button span {
    display: inline-block;
}

.forminator-result--retake, .forminator-button-submit { background: red; }

/* ============================================================== */
/* Module 1619: 3-column grid style (long answers)               */
/* ============================================================== */
#forminator-module-1619 .forminator-question {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: auto;        /* row height auto based on content */
}

/* Legend fix inside module 1619 */
#forminator-module-1619 .forminator-question .forminator-legend {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: start;
    justify-self: stretch;
    height: auto !important;
}

/* ===== Responsive adjustments for module 1619 ===== */
@media screen and (max-width: 900px) {
    #forminator-module-1619 .forminator-question {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    #forminator-module-1619 .forminator-question {
        grid-template-columns: 1fr;
    }
}



.download-sticker {
    display: block;          
    width: 100%;             
    margin: 0 auto;          
    max-width: 150px !important;
    transition: transform 0.2s ease;
}

/* Wiggle keyframes */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Trigger wiggle on hover */
.download-sticker:hover {
    animation: wiggle 0.6s ease-in-out;
}

.forminator-result p:first-of-type {
    display: none;
}

.forminator-result h2 { font-size: 2em !important; }


/* =============================== */
/* 🌸 Yellow/Orange → Grey/Neon Pink */
/* =============================== */

#vril-generator h4 {
  text-transform: inherit;
  background:  #222;
    color: #fff;
  display: inline;
  line-height: 1.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 15px;
  position: relative;
  z-index: 3;
  font-family: var(--font-heading), serif;
  font-weight: 400;
  margin: 1rem 0;
    font-size: 2.2rem !important;
    margin: 0 0 0 -1rem;
}

#vril-generator h2 {
font-size: 1.5rem;
  color: #c22f5d;
}
/* General buttons (step buttons, submit buttons, Forminator buttons) */
#vril-generator button,
#vril-generator input[type="submit"],
.forminator-button {
    background: #c22f5d;
    background: linear-gradient(180deg, rgba(194, 47, 93, 1) 0%, rgba(71, 0, 22, 1) 100%);
    color: #fff; /* dark grey */
    border: 2px solid #c22f5d;
    transition: all 0.25s ease;
}

#vril-generator button:hover,
#vril-generator input[type="submit"]:hover,
.forminator-button:hover {
    background: #470016;
    background: linear-gradient(180deg, rgba(71, 0, 22, 1) 0%, rgba(14, 0, 15, 1) 100%);
    color: #ffffff;
    box-shadow: 0 0 15px #c22f5d; /* coral-pink glow */
    transform: translateY(-2px);
}

/* Forminator answer tiles (yellow/orange ones) */
.forminator-answer,
#step-2 .category label {
    background-color: #222222; 
    color: #fff;            
    -webkit-box-shadow: 0px 0px 15px -5px #0A0507; 
    box-shadow: 0px 0px 15px -5px #0A0507;
}

.forminator-answer:hover,
#step-2 .category label:hover {
    background-color: #c22f5d; /* neon pink on hover */
    color: #ffffff;
    box-shadow: 0 0 12px 4px #c22f5d; /* coral-pink glow */
}

/* Selected / checked state glow */
.forminator-answer:has(input[type="radio"]:checked),
#step-2 .category input:checked + label,
#step-2 .category label.active {
    background-color: #c22f5d; /* neon pink */
    color: #ffffff;
    border-color: #c22f5d;
    box-shadow: 0 0 15px 5px #ff6f91; /* coral-pink glow */
}

/* Optional: result container button update */
#vril-result-container button {
    background-color: #ffffff;
    color: #333333;
}

#vril-result-container button:hover {
    background-color: #ff007f;
    color: #ffffff;
    box-shadow: 0 0 15px #ff6f91;
    transform: scale(1.05);
}

#vril-generator button#retry-vril, 
.forminator-result--retake { 
background: #C74A80;
    -webkit-box-shadow: 0px 0px 14px 3px rgba(0,0,0,0.42); 
box-shadow: 0px 0px 14px 3px rgba(0,0,0,0.42);
    color: #fff;
}





/* =============================== */
/* 🌟 Fowl Society — Frost Edition (Unified + Clean) */
/* =============================== */



body.page-id-2311 .featured-image-header {
 max-height: 200px !important;
}

@media (max-width: 700px) {
   body.page-id-2311 .featured-image-header {
 max-height: 100px !important;
} 
}
/* ================================
🪶 Base Variables
================================ */
:root {
  --fowl-accent: #21918a;          /* main teal */
  --fowl-accent-soft: #3bb8b0;     /* hover teal */
  --fowl-bg: #383838;              /* default card grey */
  --fowl-bg-alt: #1c1e2a;          /* darker alt */
  --fowl-glow: rgba(33, 145, 138, 0.35); /* soft glow */
}

/* ================================
🪶 General Layout
================================ */
#fowl-society,
#fowl-society-secret {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  color: #fff;
}

/* Secret Society Grid */
#fowl-society-secret {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  overflow-x: hidden;
  transition: all 0.4s ease-in-out;
}

/* Animate layout changes smoothly */
#fowl-society-secret .fowl-section {
  transition: transform 0.25s ease, 
              box-shadow 0.25s ease, 
              border-color 0.25s ease, 
              background 0.25s ease, 
              all 0.4s ease-in-out;
  min-width: 0;
}

/* Each Section Card */
#fowl-society-secret .fowl-section {
  background: var(--fowl-bg);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

#fowl-society-secret .fowl-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px var(--fowl-glow);
  border-color: rgba(33, 145, 138, 0.6);
}

/* Double-width Card */
.quail-row-long {
  grid-column: span 2;
}

/* Quail Image + Info Block */
.quail-wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.quail-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  flex-shrink: 0;
}

.quail-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.5;
}

.quail-info p {
  margin: 0.4rem 0;
}

/* Footer — Full Width */
.footer-section {
  grid-column: 1 / -1;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

/* ================================
🧊 Buttons
================================ */
.read-dispatch-btn,
.reveal-btn,
.fowl-btn,
#fowl-society-secret .name-form .forminator-button-submit {
  display: block;
  margin: 1rem auto 0 auto;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Primary Buttons */
.read-dispatch-btn,
.reveal-btn,
.fowl-btn {
  background: var(--fowl-accent);
  color: #111;
}

/* Form Button */
#fowl-society-secret .name-form .forminator-button-submit {
  background: linear-gradient(135deg, #21918a, #3bb8b0);
  color: #fff;
  font-family: var(--font-heading), serif;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 9999px;
  box-shadow: 0 0 8px var(--fowl-glow);
}

/* Hover Effects */
.read-dispatch-btn:hover,
.reveal-btn:hover,
.fowl-btn:hover,
#fowl-society-secret .name-form .forminator-button-submit:hover {
  transform: scale(1.06) rotate(-1deg);
  background: linear-gradient(135deg, #1a6661, #21918a);
  box-shadow: 0 0 16px var(--fowl-glow);
  letter-spacing: 1px;
}

/* Success Message */
#fowl-society-secret .name-form .forminator-response-message {
  background: rgba(33, 145, 138, 0.1);
  border-left: 4px solid var(--fowl-accent);
  color: var(--fowl-accent-soft);
  padding: 0.8rem 1rem;
  border-radius: 0.4rem;
  margin-top: 0.8rem;
  text-align: center;
}

/* Hide backend edit link */
#fowl-society-secret .name-form .forminator-edit-module {
  display: none;
}

/* ================================
✨ Headings
================================ */
#fowl-society-secret h2,
#fowl-society-secret h3 {
  font-family: 'Amatic SC', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  padding: 0.2rem 1rem;
}

/* ================================
✨ Section Background Variants
================================ */
.quail-section h2 {
  background: linear-gradient(90deg, #21777c, #21918a);
}

.frostbitten-freebie {
  background: linear-gradient(135deg, #4a6fa5, #90caf9, #bbdefb) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.frostbitten-freebie h3 {
  background: linear-gradient(90deg, #1b3a57, #274c77);
  color: #e3f2fd;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.cocoa-lore-drop {
  background: linear-gradient(90deg, #3bb8b0, #21918a) !important;
}

.cocoa-lore-drop h3,
.archive-section h3 {
  background: linear-gradient(90deg, #26a69a, #1f5f5b);
}

.word-of-month h3 {
  background: linear-gradient(90deg, #4fc3f7, #2e96ab);
}

.last-word h3 {
  background: linear-gradient(90deg, #607d8b, #37474f);
}

.comic-section h3 {
  background: linear-gradient(90deg, #64b5f6, #2196f3);
}

.footer-section h3 {
  background: linear-gradient(90deg, #21777c, #1a3d3f);
}

/* ================================
🪶 Cocoa Lore Drop Example
================================ */
#fowl-society-secret .cocoa-lore-drop .example-lore {
  font-size: 0.9rem;
  font-style: italic;
  border-left: 3px solid var(--fowl-accent);
  padding-left: 0.8rem;
  margin: 0.8rem 0;
  color: #d0e6f0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.3rem;
}

/* ================================
📱 Mobile Tweaks
================================ */
@media (max-width: 900px) {
  #fowl-society-secret {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  #fowl-society-secret {
    padding: 1.5rem;
  }

  .quail-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quail-info {
    text-align: center;
    justify-content: flex-start;
  }

  .quail-row-long {
    grid-column: span 1 !important;
  }
}

/* ================================
🪶 Interactive / Secret Word
================================ */
.secret-word {
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: none;
  color: var(--fowl-accent);
  text-shadow: 0 0 10px var(--fowl-glow);
  text-align: center;
}

/* === FORM STYLING FOR FOWL SOCIETY === */

/* Wrap adjustments */
.name-form, .cocoa-form {
  margin-top: 1rem;
  text-align: center;
}
.fowl-section.quail-section.quail-row-long div.quail-row-long {
  border: 2px dotted rgba(255, 255, 255, 0.5);
  border-radius: 45px;
  background: rgba(255, 255, 255, 0.12); /* translucent icy layer */
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15),
              0 0 18px rgba(99, 169, 255, 0.25);
  transition: all 0.4s ease-in-out;
}

/* Optional hover shimmer */
.fowl-section.quail-section.quail-row-long div.quail-row-long:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25),
              0 0 30px rgba(99, 169, 255, 0.35);
  transform: translateY(-2px);
}

/* Inputs */
#fowl-society-secret .forminator-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-body, 'Figtree', sans-serif);
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
  text-align: center;
}

#fowl-society-secret .forminator-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#fowl-society-secret .forminator-input:focus {
  border-color: #a7d8f5;
  box-shadow: 0 0 10px rgba(163, 225, 255, 0.6);
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}

/* Submit Buttons */
#fowl-society-secret .forminator-button-submit {
  display: inline-block;
  background: linear-gradient(90deg, #3bb8b0, #21918a);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 30px;
  margin-top: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(33, 145, 138, 0.4);
}

#fowl-society-secret .forminator-button-submit:hover {
  background: linear-gradient(90deg, #21918a, #3bb8b0);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(163, 225, 255, 0.6);
}

/* Form alignment */
#fowl-society-secret form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Frostbitten Freebie background fix */
#fowl-society-secret .frostbitten-freebie {
  background: linear-gradient(90deg, #607d8b, #64b5f6) !important;
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

#fowl-society-secret .frostbitten-freebie h3 {
  background: linear-gradient(90deg, #1a1a1a, #2c3e50);
  color: #fff;
  text-shadow: 0 0 20px rgba(163, 225, 255, 0.3);
}

/* Example box in Cocoa Lore */
#fowl-society-secret .example-lore {
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  padding-left: 1rem;
  margin: 1rem auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
  #fowl-society-secret .forminator-input {
    max-width: 90%;
  }

  #fowl-society-secret .frostbitten-freebie {
    padding: 1.5rem;
  }

  #fowl-society-secret .forminator-button-submit {
    width: auto;
    padding: 10px 24px;
  }
}

/* ================================
🧩 Fix: Quail Wrap Alignment & Padding
================================ */

/* Reduce excess padding and keep consistent layout */
#fowl-society {
  padding: 1rem; /* tighter overall spacing */
}

#fowl-society-secret {
  padding: 1rem; /* reduces the white/grey space around the grid */
  gap: 1.5rem; /* slightly tighter spacing between cards */
}

/* Lock the quail-wrap layout ratios so image/info stay balanced */
.quail-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

/* Ensure image and info stay consistent ratio */
.quail-img {
  flex: 0 0 40%; /* fixed ratio for image column */
  max-width: 200px;
}

.quail-info {
  flex: 1 1 60%; /* fixed ratio for text column */
}

/* Keep layout stable at medium viewports */
@media (max-width: 1000px) {
  .quail-wrap {
    flex-wrap: wrap;
    text-align: center;
  }
  .quail-img {
    flex: 0 0 100%;
    max-width: 240px;
  }
  .quail-info {
    flex: 0 0 100%;
  }
    
    #fowl-society, #fowl-society-secret {
       padding: 0;
    }
    .post-2311 {
        padding: 0 !important;
    }
}
/* ================================
📏 Mid-Range Column Fix (600-900 px)
================================ */
@media (min-width: 600px) and (max-width: 900px) {
  /* Keep cards in 2 neat columns */
  #fowl-society-secret {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem;
  }

  /* Prevent flex items from squishing */
  .quail-wrap {
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: flex-start;
  }

  /* Let image and info each take full width when needed */
  .quail-img,
  .quail-info {
    flex: 0 0 100% !important;
    max-width: 100%;
    text-align: center;
  }

  .quail-info {
    margin-top: 0.5rem;
  }

  /* Normalize padding so cards remain balanced */
  #fowl-society,
  #fowl-society-secret .fowl-section {
    padding: 1rem !important;
  }
}







/* ============================================================ */
/* 🎨 PAGE + QUIZZES GRID STYLING                               */
/* ============================================================ */

/* ======================================== */
/* ✨ QUIZ GRID – Title Overstretch Version  */
/* ======================================== */

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.quiz-post {
  position: relative;
  overflow: visible; /* allow title to stick out */
  border-radius: 1.2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  aspect-ratio: 4 / 3;
}

.quiz-post:hover {
  transform: scale(1.02);
}

.quiz-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.quiz-post:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

/* Overlay container */
.quiz-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.quiz-post:hover .quiz-overlay {
  background: rgba(0,0,0,0.55);
}

/* Title — full-width and proud */
.quiz-title {
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
  line-height: 1.3;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
  
  /* the key stretch effect */
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  backdrop-filter: blur(4px);
    margin: 0 auto !important;
}


/* “Try it now” button */
.quiz-try-now {
  display: inline-block;
  background: linear-gradient(135deg, #8b0045, #ff007c);
  color: #fff;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-post:hover .quiz-try-now {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* 📱 Responsive tweaks */
@media (max-width: 768px) {
  .quiz-title {
    font-size: 1.3rem;
    bottom: 0.5rem;
  }
  .quiz-try-now {
    font-size: 0.9rem;
  }
}


/* ============================================================ */
/* 🎨 END PAGE + QUIZZES GRID STYLING                               */
/* ============================================================ */