/* ==========================================================
   PHIUM ESSENCE — COMPACT BLOCKSY FOOTER
   ========================================================== */

#footer.ct-footer {
    color: #f5e9df;
    background: #29170f !important;
    border-top: 0;
}


/* All content rows except copyright */

#footer > [data-row]:not([data-row="bottom"]) {
    padding: 34px 0 28px !important;

    background:
        linear-gradient(
            90deg,
            #2a170f 0%,
            #351d12 50%,
            #26140d 100%
        ) !important;
}

#footer > [data-row]:not([data-row="bottom"])
> .ct-container {
    display: grid !important;
    grid-template-columns:
        minmax(170px, 1.25fr)
        repeat(3, minmax(110px, 0.75fr))
        minmax(220px, 1.3fr) !important;

    align-items: start !important;
    gap: 30px !important;

    width: min(1320px, calc(100% - 48px)) !important;

    margin: 0 auto !important;
    padding: 0 !important;
}


/* Force Blocksy columns into the grid */

#footer > [data-row]:not([data-row="bottom"])
> .ct-container
> [data-column] {
    display: block !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Remove excessive internal spacing */

#footer [data-items],
#footer .ct-widget,
#footer .widget,
#footer .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Footer logo */

#footer .site-branding,
#footer [data-id="logo"] {
    display: block !important;
    margin: 0 !important;
}

#footer .site-branding img,
#footer [data-id="logo"] img {
    display: block !important;

    width: 92px !important;
    height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;

    margin: 0 0 10px !important;

    object-fit: contain !important;
}

#footer .site-title-container {
    display: none !important;
}


/* Text */

#footer p {
    margin: 0 0 10px !important;

    color: rgba(255, 241, 230, 0.74) !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

#footer .widget-title,
#footer h2,
#footer h3,
#footer h4 {
    margin: 0 0 12px !important;

    color: #dca078 !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.13em !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
}


/* Menus */

#footer ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#footer li {
    margin: 0 0 6px !important;
    padding: 0 !important;
}

#footer a {
    color: rgba(255, 241, 230, 0.78) !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    text-decoration: none !important;
}

#footer a:hover {
    color: #dca078 !important;
}


/* Social icons */

#footer .ct-social-box {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    margin-top: 12px !important;
}

#footer .ct-social-box a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    color: #dca078 !important;

    border: 1px solid rgba(220, 160, 120, 0.28) !important;
    border-radius: 50% !important;
    background: transparent !important;
}


/* Newsletter */

#footer form {
    margin: 10px 0 0 !important;
}

#footer .wpforms-container,
#footer .wpforms-form,
#footer .wpforms-field-container,
#footer .wpforms-field {
    margin: 0 !important;
    padding: 0 !important;
}

#footer label {
    color: rgba(255, 241, 230, 0.74) !important;
    font-size: 10px !important;
}

#footer input[type="email"] {
    width: 100% !important;
    height: 40px !important;

    margin: 6px 0 8px !important;
    padding: 0 12px !important;

    color: #fff !important;
    font-size: 11px !important;

    border: 1px solid rgba(255, 241, 230, 0.35) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

#footer button,
#footer input[type="submit"] {
    width: auto !important;
    min-width: 90px !important;
    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    color: #29170f !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;

    border: 1px solid #dca078 !important;
    border-radius: 0 !important;

    background: #dca078 !important;
}


/* Bottom copyright row */

#footer [data-row="bottom"] {
    padding: 0 !important;
    background: #29170f !important;
}

#footer [data-row="bottom"] > .ct-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;

    width: min(1320px, calc(100% - 48px)) !important;
    min-height: 54px !important;

    margin: 0 auto !important;
    padding: 14px 0 !important;

    border-top: 1px solid rgba(255, 241, 230, 0.12) !important;
}

#footer .ct-footer-copyright {
    margin: 0 !important;

    color: rgba(255, 241, 230, 0.6) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
}


/* Tablet */

@media (max-width: 1100px) {

    #footer > [data-row]:not([data-row="bottom"])
    > .ct-container {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 26px 22px !important;
    }
}


/* Mobile */

@media (max-width: 767px) {

    #footer > [data-row]:not([data-row="bottom"]) {
        padding: 30px 0 24px !important;
    }

    #footer > [data-row]:not([data-row="bottom"])
    > .ct-container {
        width: calc(100% - 28px) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 18px !important;
    }

    #footer [data-row="bottom"] > .ct-container {
        width: calc(100% - 28px) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}


/* Small mobile */

@media (max-width: 480px) {

    #footer > [data-row]:not([data-row="bottom"])
    > .ct-container {
        grid-template-columns: 1fr !important;
    }
}
/* ==========================================================
   PHIUM CUSTOM FOOTER MENU
   Exact selectors from live HTML
   ========================================================== */

.custom-footer {
    padding: 34px 0 22px !important;
    color: #f5e9df !important;
    background:
        linear-gradient(
            90deg,
            #29170f 0%,
            #351e13 50%,
            #29170f 100%
        ) !important;
    border-top: 0 !important;
}


/* Five-column footer layout */

.custom-footer .footer-container {
    display: grid !important;

    grid-template-columns:
        minmax(170px, 1.2fr)
        minmax(100px, 0.72fr)
        minmax(120px, 0.82fr)
        minmax(100px, 0.72fr)
        minmax(230px, 1.35fr) !important;

    align-items: start !important;
    gap: 38px !important;

    width: min(1180px, calc(100% - 48px)) !important;
    max-width: none !important;

    margin: 0 auto !important;
    padding: 0 !important;
}


/* Reset every footer column */

.custom-footer .footer-col {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Brand column */

.custom-footer .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.custom-footer .footer-brand picture {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-footer .footer-brand img {
    display: block !important;

    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;

    margin: 0 0 8px !important;

    object-fit: contain !important;
    object-position: center !important;
}


/* Tagline */

.custom-footer .crafted-text {
    margin: 0 0 12px !important;

    color: #dca078 !important;

    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
}


/* Headings */

.custom-footer .footer-col h3,
.custom-footer .footer-newsletter h3 {
    margin: 0 0 13px !important;

    color: #dca078 !important;

    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.13em !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
}


/* Footer menu */

.custom-footer .footer-col ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.custom-footer .footer-col li {
    margin: 0 0 7px !important;
    padding: 0 !important;
    list-style: none !important;
}

.custom-footer .footer-col a {
    display: inline-block !important;

    padding: 0 !important;

    color: rgba(255, 241, 230, 0.8) !important;

    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
}

.custom-footer .footer-col a:hover {
    padding-left: 0 !important;
    color: #dca078 !important;
    transform: translateX(2px);
}


/* Social icons */

.custom-footer .footer-socials {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.custom-footer .footer-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    padding: 0 !important;

    color: #dca078 !important;

    border: 1px solid rgba(220, 160, 120, 0.25) !important;
    border-radius: 50% !important;

    background: transparent !important;
    transform: none;
}

.custom-footer .footer-socials a:hover {
    color: #29170f !important;
    background: #dca078 !important;
    transform: translateY(-2px);
}

.custom-footer .footer-socials svg {
    width: 13px !important;
    height: 13px !important;
}


/* Newsletter description */

.custom-footer .footer-newsletter p {
    max-width: 260px !important;
    margin: 0 0 12px !important;

    color: rgba(255, 241, 230, 0.74) !important;

    font-size: 11px !important;
    line-height: 1.65 !important;
}


/* WPForms reset */

.custom-footer .footer-newsletter .wpforms-container,
.custom-footer .footer-newsletter .wpforms-form,
.custom-footer .footer-newsletter .wpforms-field-container,
.custom-footer .footer-newsletter .wpforms-field,
.custom-footer .footer-newsletter .wpforms-submit-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-footer .footer-newsletter .wpforms-form {
    display: block !important;
}


/* Hide unnecessary email label */

.custom-footer .footer-newsletter .wpforms-field-label {
    display: none !important;
}


/* Newsletter input */

.custom-footer .footer-newsletter input[type="email"] {
    width: 100% !important;
    height: 42px !important;

    margin: 0 0 8px !important;
    padding: 0 13px !important;

    color: #ffffff !important;
    font-size: 11px !important;

    border: 1px solid rgba(255, 241, 230, 0.36) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

.custom-footer .footer-newsletter input[type="email"]::placeholder {
    color: rgba(255, 241, 230, 0.62) !important;
}


/* Newsletter button */

.custom-footer .footer-newsletter button,
.custom-footer .footer-newsletter input[type="submit"] {
    width: auto !important;
    min-width: 92px !important;
    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    color: #29170f !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    line-height: 38px !important;
    text-transform: uppercase !important;

    border: 1px solid #dca078 !important;
    border-radius: 0 !important;

    background: #dca078 !important;
    box-shadow: none !important;
}


/* Footer divider */

.custom-footer hr {
    width: min(1180px, calc(100% - 48px)) !important;

    margin: 24px auto 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(255, 241, 230, 0.12) !important;
}


/* Tablet */

@media (max-width: 1050px) {

    .custom-footer .footer-container {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 30px 24px !important;
    }

    .custom-footer .footer-brand,
    .custom-footer .footer-newsletter {
        grid-column: span 3;
    }

    .custom-footer .footer-newsletter {
        max-width: 520px;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .custom-footer {
        padding: 30px 0 20px !important;
    }

    .custom-footer .footer-container {
        width: calc(100% - 28px) !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 26px 20px !important;
    }

    .custom-footer .footer-brand,
    .custom-footer .footer-newsletter {
        grid-column: 1 / -1;
    }

    .custom-footer hr {
        width: calc(100% - 28px) !important;
    }
}


/* Small mobile */

@media (max-width: 480px) {

    .custom-footer .footer-container {
        grid-template-columns: 1fr !important;
    }

    .custom-footer .footer-brand,
    .custom-footer .footer-newsletter {
        grid-column: auto;
    }
}
/* ==========================================================/* ==========================================================
   COPYRIGHT BAR
========================================================== */

#footer [data-row="bottom"]{
	background:#29170f !important;
	padding:0 !important;
}

#footer [data-row="bottom"]>.ct-container,
#footer [data-row="bottom"]>.ct-container-fluid{

	display:flex !important;
	align-items:center !important;
	justify-content:space-between !important;
	flex-wrap:wrap !important;

	gap:14px !important;

	width:min(1180px,calc(100% - 48px)) !important;

	margin:auto !important;

	padding:14px 0 !important;

	min-height:auto !important;
	height:auto !important;

	border-top:1px solid rgba(255,255,255,.10);
}

#footer .ct-footer-copyright{

	font-size:10px !important;
	line-height:1.6 !important;

	margin:0 !important;
}

#footer .footer-menu-inline{

	display:flex !important;
	flex-wrap:wrap !important;

	gap:18px !important;

	justify-content:flex-end !important;
}

#footer .footer-menu-inline .menu{

	display:flex !important;

	flex-wrap:wrap !important;

	gap:18px !important;

	margin:0 !important;
	padding:0 !important;
}

#footer .footer-menu-inline a{

	font-size:10px !important;
	line-height:1.6 !important;
	white-space:nowrap;
}

/* Tablet */

@media (max-width:1024px){

	#footer [data-row="bottom"]>.ct-container,
	#footer [data-row="bottom"]>.ct-container-fluid{

		flex-direction:column !important;

		align-items:center !important;

		text-align:center !important;
	}

	#footer .footer-menu-inline{

		justify-content:center !important;
	}

}

/* Mobile */

@media (max-width:767px){

	#footer [data-row="bottom"]>.ct-container,
	#footer [data-row="bottom"]>.ct-container-fluid{

		width:calc(100% - 28px) !important;

		padding:14px 0 18px !important;
	}

	#footer .footer-menu-inline{

		width:100%;

		justify-content:center !important;
	}

	#footer .footer-menu-inline .menu{

		justify-content:center !important;
		gap:12px 18px !important;
	}
}