


/* --- 🎨 NEWSLETTER FORM STYLES --- */
/* All styles in this section are scoped to .prhform__type_newsletter */

.prhform__type_newsletter {
    display: flex;
    width: 100%;
    background-color: #f3f4f1;
}

.prhform__type_newsletter .content-section {
    flex-basis: 50%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 6.4rem 4.8rem;
    box-sizing: border-box;
    background:#edf0ed;
}

.prhform__type_newsletter .content-wrapper {
    max-width: 404px;
}

.prhform__type_newsletter h1 {
    font-family: "ITCAvantGardeGothic", Arial, Sans-Serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 4rem;
    color: #000;
    text-align: left;
    letter-spacing: 0.2rem;
}

.prhform__type_newsletter ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.prhform__type_newsletter ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    line-height: 2.5rem;
    gap: 0.4rem;
    color:#3B3B3B;
    letter-spacing: 0;
}

.prhform__type_newsletter .checkmark {
    width: 24px;
    height: 24px;
    fill: #000;
    margin: 0 0.4rem;
    flex-shrink: 0;
    margin-top: 0px;
}

.prhform__type_newsletter .example-link {
    margin: 0.8rem 0 2.5rem 0;
    font-size: 1.4rem;
    line-height: 2.5rem;
    color: #3B3B3B;
    letter-spacing: 0px;
}

.prhform__type_newsletter .example-link a {
    color: #3B3B3B;
    text-decoration: underline;
    text-decoration-color: #f0b943;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    border-bottom: none; /* Override potential global link styles */
}

.prhform__type_newsletter .prhform__form {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.prhform__type_newsletter .prhform__field-wrapper {
    margin-bottom: 15px;
}
.prhform__type_newsletter .prhform__field-wrapper:last-of-type {
    margin-bottom: 0;
}

/* Visually hide labels but keep them for accessibility */
.prhform__type_newsletter .prhform__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.prhform__type_newsletter .prhform__field-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #000;
    background-color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.prhform__type_newsletter .prhform__form button {
    
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 31px;
    background-color: #fabc2f;
    border: 0.2rem solid #fabc2f;
    box-sizing: border-box;
    height: 4.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    text-align: center;
    font-size: 1.4rem;
    color: #000;
    font-weight: 600;
}
.prhform__type_newsletter .prhform__form button:focus {
    outline-style: none;
    box-shadow: none;
}
.prhform__type_newsletter .prhform__form button:hover {
    background-color: #e0ac39;
}

.prhform__type_newsletter .prhform__html_bottom p.privacy-text,
.prhform__type_newsletter .prhform__html_bottom p {
    font-size: 1.2rem !important;
    color: #3e3e3e;
    line-height: 2.1rem !important;
    margin-top: 1.5rem;
    text-align: left;
    letter-spacing: 0px;
}

.prhform__type_newsletter .prhform__html_bottom a {
    color: #555 !important;
    text-decoration: underline !important;
    border-bottom: none !important;
    font-weight: normal !important;
}

.prhform__type_newsletter .image-section {
    flex-basis: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 56.9rem;;
}


/* --- 🏆 COMPETITION FORM STYLES --- */
/* All styles in this section are scoped to .prhform__type_competition */

.prhform__wrapper.prhform__type_competition {
    max-width: 69rem !important;
    margin: auto;
}
.prhform__form.competitions fieldset{
	gap: 0px;
}
.prhform__field_competitions_title{
	width: 100%;
	position: relative;
	font-size: 24px !important;
	letter-spacing: 2px;
	line-height: 32px !important;
	font-family: "ITCAvantGardeGothic", Arial, sans-serif;
	color: #000;
	text-align: left;
	display: inline-block;
	height: auto;
	margin-bottom: 24px;
	font-weight: 600;
}
.prhform__form.competitions .prhform__field-wrapper-input{
	width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    font-size: 16px;
    color: #000;
    font-family: "ITCAvantGardeGothic", Arial, sans-serif;
	margin-bottom: 24px;
}
.prhform__form.competitions .prhform__field-wrapper-input input {
    padding: 10px;
    width: 100%;
	align-self: stretch;
	position: relative;
	background-color: #fff;
	border: 1px solid #0b0c0c;
	box-sizing: border-box;
	height: 47px;
}
.prhform__form.competitions .prhform__field-wrapper-input .prhform__label {
    margin: 0;
    align-self: stretch;
    position: relative;
    letter-spacing: 0.3px;
    line-height: 26px;
    font-weight: 500;
}
.prhform__type_competition .prhform__field-input {
	padding: 10px 40px;
}
.prhform__type_competition .prhform__field-wrapper-checkbox {
	display: flex;
	align-items: start;
	gap: 8px;
	margin-bottom: 16px;
}
.prhform__type_competition .prhform__field-wrapper-checkbox:last-of-type {
	margin-bottom: 24px;
}
.prhform__type_competition .prhform__field-wrapper-checkbox input[type="checkbox"] {
	order: 0;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
	background-color: #fff;
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #0b0c0c;
	border-radius: 0px;
	box-sizing: border-box;
	outline: none;
	cursor: pointer;
	display: grid;
	place-content: center;
	padding: 0;
	margin-top: 4px;
}
.prhform__type_competition .prhform__field-wrapper-checkbox input[type="checkbox"]::before {
	content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #000000;
    clip-path: polygon(14% 35%, 0 64%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.prhform__type_competition .prhform__field-wrapper-checkbox input[type="checkbox"]:checked::before {
	transform: scale(1);
}
.prhform__type_competition .prhform__field-wrapper-checkbox input[type="checkbox"]:focus-visible {
	outline: 2px solid #6b6b6b;
	outline-offset: 2px;
}
.prhform__type_competition .prhform__field-wrapper-checkbox label {
	order: 1;
	flex: 1;
	width: 100%;
	position: relative;
	font-size: 14px;
	line-height: 25px;
	font-family: 'Source Serif Pro';
	color: #000;
	text-align: left;
	display: inline-block;
	letter-spacing: 0;
    font-weight: normal;
	margin: 0;
}
.prhform__type_competition .prhform__html_bottom {
    max-width: 100% !important;
    margin-top: 16px !important;
}
.prhform__type_competition .prhform__html_bottom p {
	width: 100%;
	position: relative;
	font-size: 12px !important;
	line-height: 21px !important;
	font-family: 'Source Serif Pro';
	color: #3e3e3e;
	text-align: left;
	display: inline-block;
}
.prhform__type_competition .prhform__html_bottom a {
    color: #3e3e3e !important;
    font-weight: normal !important;
	border-bottom: 0.1rem solid #3e3e3e;
}
.prhform__form-inline-group {
  display: flex;
  align-items: center; 
  gap: 0.4rem;         
}
.prhform__type_newsletter .prhform__label {
  display: none;
}
.prhform__form-inline-group .prhform__field-wrapper {
  flex-grow: 1;
  margin-bottom: 0;
}
.prhform__form-inline-group .prhform__field-input {
  width: 100%;
  height: 48px; 
  min-width: 249px; 
  color:#6e6e6e;
  border: 1px solid #000;
  padding: 11px 16px !important;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.5rem;
  box-sizing: border-box;
  letter-spacing: 0px;
}
.prhform__form-inline-group button:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 31px;
    background-color: #FFCD5A !important;
    border: 2px solid #FFCD5A;
  
}
.prhform__form-inline-group button:active {
    border: 2px solid #000;
  
}
.prhform__field-checkbox{
    display: none;
}
.prhform--success h1,
.prhform--success ul,
.prhform--success .prhform__form,
.prhform--success .prhform__html_bottom,
.prhform--success .example-link {
  display: none;
}

.prhform__success {
    display: none;
}

.prhform--success .prhform__success {
  display: block;
  text-align: left;
  background: transparent;
  border: none;
}
.prhform__success h2 {
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 2px;
  color: #000000;
  margin: 0 0 0.8rem 0;
}
.prhform__success p {
  font-size: 14px;
  line-height: 25px;
  color: #3b3b3b;
  text-align: left;
  margin: 0;
}
.hf-newsletter-modal .hf-modal__inner .hf-modal__title{
    margin: 0 !important;
}
.form__wrapper{
    margin-left:0px !important;
}
.author-newsletter-description{
    font-size: 1.4rem;
    line-height: 2.1rem;
    color:#3b3b3b;
    margin-top: 0.8rem;
}
.prhform--success .author-newsletter-description {
  display: none !important;
}
@media only screen and (orientation: landscape) and (max-width: 1024px) {
    .hf-modal .hf-modal__inner {
        min-height: auto !important;
        max-height: 95vh;
    }
}
/* --- RESPONSIVE STYLES --- */
@media (max-width: 900px) {
    .prhform__type_newsletter .prhform__form button {
        max-width: 100px;
    }
    .prhform__form-inline-group .prhform__field-input{
        min-width: 150px;
    }
    .prhform__type_newsletter .prhform__form button {
        margin-top: 8px;
    }
}
/* Responsive styles for screens up to 900px wide */
@media (max-width: 800px) {
    .prhform__type_newsletter .content-section {
        flex-basis: 50%;
        padding: 4.8rem 3.2rem;
    }
    .prhform__type_newsletter .image-section {
        flex-basis: 50%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 5rem;
    }
    .prhform__form-inline-group{
        display: block;
     }
    .prhform__type_newsletter h1 {
        font-size: 3.2rem;
    }
    .prhform__type_newsletter .prhform__form button {
        max-width: 100%;
    }
    .prhform__form-inline-group .prhform__field-input{
        min-width: 100%;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 2.5rem;
    }
    .prhform__type_newsletter .prhform__html_bottom p {
        font-size: 1.2rem !important;
        color: #3e3e3e;
        line-height: 2.1rem !important;
        text-align: left;
    }
    
    /* Responsive for Competition */
	.prhform__wrapper.prhform__type_competition {
		padding: 0 !important;
	}
	.prhform__type_competition .prhform__field-wrapper-button {
		width: 100%;
	}
    
    .prhform__type_newsletter .prhform__html_bottom {
        margin-top: 10px !important;
    }
    .prhform__wrapper.prhform__type_newsletter {
        min-height: 54vh;
    }
    
}
@media (max-width: 767px) {
    .prhform__wrapper.prhform__type_newsletter.brand--the-happy-foodie {
        display: flex;
        flex-direction: column;
    }
    .prhform__wrapper.brand--the-happy-foodie-vegetarian {
    flex-direction: column;
    }
    .prhform__type_newsletter{
        flex-direction: column;
    }
    .content-section {
        order: 2;
    }
    .image-section {
        order: 1;
        min-height: 30rem; /* Or any height you prefer */
    }
    .prhform__type_newsletter .image-section{
        min-height: 170px;
    }
    .prhform__type_newsletter .content-section {
        padding: 2.4rem 1.6rem 1.6rem 1.6rem;
        min-height: 37.5rem;
        align-items: baseline;
    }
    .prhform__type_newsletter .content-wrapper {
        max-width: 100%;
    }
    .prhform__type_newsletter h1 {
        font-size: 1.9rem;
        line-height: 2.9rem;
    }
    .prhform__success h2 {
        font-weight: 600;
        font-size: 1.9rem;
        line-height: 2.9rem;
        margin: 0 0 1.6rem 0;
    }
    .prhform__type_newsletter ul {
        margin: 1.6rem 0;
    }
    .prhform__type_newsletter .example-link {
        margin: 0.8rem 0 3.2rem 0;
    }
    .prhform__type_newsletter .prhform__html_bottom p {
        font-size: 1.2rem !important;
        color: #3e3e3e;
        line-height: 2.1rem !important;
        margin-top: 1rem;
        text-align: left;
    }
}

.hf-newsletter-modal .hf-modal__inner {
        width: 99% !important;
        max-width: 1000px;
        min-height: 56.9rem;
        padding: 0 !important;
    }
    .hf-newsletter-modal .hf-modal__inner .hf-modal__title{
        position: relative;
        margin-bottom: 0;
    }
    .hf-newsletter-modal .hf-modal__inner .hf-modal__title .hf-modal__icon-close {
    position: absolute;
    right: 10px;
    top: 10px;
}

.prhform__form-inline-group .prhform__field-wrapper:nth-child(2) {
    display: none !important;
}