/*
Theme Name: Astra Child
Theme URI: https://labdeletras.org
Description: A child theme of Astra
Author: Llorenç Muela
Template: astra
Version: 1.0.0
*/


:root {
    --color-primary: #FB2056;
    --color-primary-light: #FF7293;
    --color-primary-dark: #C4003D;
    --color-primary-muted: rgba(251, 32, 87, 0.25);
    --color-primary-contrast: #FFFFFF;
    /* Secondary */
    --color-secondary: #F2C14E;
    --color-secondary-light: #F7D77F;
    --color-secondary-dark: #C19733;
    --color-secondary-muted: rgba(242, 193, 78, 0.3);
    --color-secondary-contrast: #0F110C;
    /* Accent */
    --color-accent: #2A9D8F;
    --color-accent-light: #6EC1B1;
    --color-accent-dark: #1D6E66;
    --color-accent-muted: rgba(42, 157, 143, 0.2);
    --color-accent-contrast: #e1ead5;
    /* Tertiary */
    --color-tertiary: #456990;
    --color-tertiary-light: #6C87AC;
    --color-tertiary-muted: rgba(69, 105, 144, 0.2);
    --color-tertiary-contrast: #f1f2eb;
    /* Backgrounds */
    --color-background: #FDF8F9;
    --color-background-light: #FFFFFF;
    --color-background-dark: #F5F1F3;       /* Slightly deeper pink-gray */
    --color-background-alt1: #FFE0E5; /* brighter warm rose – complements primary */
    --color-background-alt2: #FFEEB3; /* vivid buttercream – complements secondary */
    --color-background-alt3: #F7EFE8; /* Toasted almond beige */
    --color-background-alt4: #DCE3F5; /* brighter cool gray-blue – complements tertiary */
    --color-background-alt5: #FFD6E0;   /* Vivid blush pink */
    --color-background-alt6: #FFE89C;   /* Lively golden butter */
    --color-background-alt7: #FFCBB0;   /* Lush melon-peach */
    --color-background-alt8: #D0C4FF;   /* Bright lavender-blue */
    --color-background-alt10: #FAD0E5;  /* Zesty rose sherbet */
    --color-background-alt11: #FFDEC1;  /* Warm sand-cream */
    --color-background-alt12: #D8ECFF;  /* Fresh sky blue */
    --color-background-alt13: #FFE5A9;  /* Bright banana cream */
    --color-background-alt14: #D6F5D6;  /* Leafy mint glow */
    --color-background-alt15: #FFE0F0;  /* Candy pink mist */
    --color-background-alt16: #FFEDC2;  /* Vibrant vanilla tint */
    --color-background-alt17: #E0F7FA;  /* Electric ice blue */
    --color-background-alt18: #F2D1FF;  /* Electric lavender blush */
    --color-background-alt19: #FFE2B2;  /* Apricot glaze */
    /* Text */
    --color-header-text: #0F110C;
    --color-body-text: #404040;

    --color-ink: #231b2e;
    --color-paper: #f3efe4;
    --color-paper-light: #FFFAED;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.max-w-600 {
    max-width: 600px;
}


.page-header {
    padding-bottom: 50px;
    width: 100%;
}

.page-title {
    margin: 0 auto 20px auto;
    text-align: center;
}

.logo-footer {
    filter: invert(1);
}

.page-section {
    scroll-margin-top: calc(120px + 16px);
}

#content #primary .page-section > div {
    row-gap: 0;
    /*margin-top: 2.25rem;*/
    /*margin-bottom: 5rem;*/
}

.page-section-header {
    max-width: 600px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.lang-switch-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.lang-flag-container {
    margin: 8px;
}

.lang-flag-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.lang-flag-toggle img {
  height: 24px;
  width: 24px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid black;
}

.lang-switch-container:hover .lang-switch-dropdown {
    display: block;
}

.lang-switch-container:hover #lang-dropdown-arrow {
    transform: rotate(-45deg) scaleX(-1) scaleY(-1);
}

.lang-switch-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    white-space: nowrap; /* Prevent content from wrapping */
    width: auto;          /* Allow dropdown to size based on its contents */
    min-width: max-content; /* Ensures it doesn't shrink smaller than content */
    box-sizing: border-box; /* Makes padding and border part of total size */
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-switch-dropdown > a {
    margin: 8px;
}

#lang-dropdown-arrow {
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    transform: rotate(-45deg) scaleX(1) scaleY(1);
    transition: transform 0.3s ease;
}

.lang-switch-name {
    margin-left: 8px;
}




.custom-btn {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 16px;
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
}

.custom-btn span {
    position: relative;
    z-index: 10;
}

.feather-btn {
    padding: 16px 72px !important;
}

.feather-btn::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: calc(50%-12px);
    right: 100%;
	transform: rotate(0deg);
	transform-origin: center;
	background-image: url('/wp-content/uploads/icons/feather-white.svg');
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    transition: right 0.2s ease-out, transform 0.2s ease-out;
}

.feather-btn:hover::after {
    right: 19px;
	transform: rotate(-135deg);
}

.custom-btn::before {
    content: '';
    display: block;
    border-radius: 50%;
    width: 0.1px;
    height: 0.1px;
    background-color: #F084A0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.custom-btn:hover::before {
    width: 20rem;
    height: 20rem;
}


.list-em-dash {
    list-style-type: "— " !important;
}







