/* MCIA / YOUNG MCIA Member Portal */

:root {
    --ymcia-dark: #3d3d3d;
    --ymcia-dark-2: #2f2f2f;
    --ymcia-gray: #ececec;
    --ymcia-gray-2: #f3f3f3;
    --ymcia-gray-3: #d8d8d8;
    --ymcia-text: #212529333;
    --ymcia-muted: #777777;
    --ymcia-yellow: #f3c729;
    --ymcia-yellow-hover: #ddb100;
    --ymcia-white: #ffffff;
    --font-main: "Barlow", sans-serif;
}

* { box-sizing: border-box; }

body.ymcia-body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--ymcia-text);
    background: var(--ymcia-white);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

/* Header */
.ymcia-header {
    background: linear-gradient(180deg, #4a4a4a 0%, #2d2d2d 100%);
    color: var(--ymcia-white);
    padding: 18px 0 14px;
}

.ymcia-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ymcia-brand img {
    max-height: 52px;
    width: auto;
}

.ymcia-brand-fallback {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.ymcia-brand-fallback .young { color: #fff; }
.ymcia-brand-fallback .mcia { color: var(--ymcia-yellow); }

.ymcia-tagline {
    font-size: 11px;
    color: #ddd;
    margin-top: 4px;
}

.ymcia-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ymcia-nav a {
    color: #fff;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.ymcia-nav a.active {
    color: var(--ymcia-yellow);
    border-bottom-color: var(--ymcia-yellow);
}

.ymcia-nav a:hover, .ymcia-nav-logout:hover {
    color: var(--ymcia-yellow);
}

.ymcia-nav-logout-form {
    display: inline;
    margin: 0;
	line-height: 0;
}

.ymcia-nav button.ymcia-nav-logout {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 0 6px;
    text-transform: uppercase;
}

.ymcia-nav button.ymcia-nav-logout:hover {
    color: var(--ymcia-yellow);
}

.ymcia-header-right img {
    max-height: 48px;
}

/* Page title bar */
.ymcia-page-bar {
    position: sticky;
  top: 94px;
  background-color: #DCDCDC;
  z-index: 5;
  padding: 15px 0;
}

.ymcia-page-bar h1 {
	color: #3e3e3e;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-size: 31px;
  text-transform: uppercase;
  pointer-events: none;
  margin-bottom: 0;
}


header.sticky {
	position: sticky;
	transition: 0.3s ease-in-out;
	top: -1px;
	width: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.30);
	background-color: #3E3E3E;
	/* height: 110px; */
	height: 95px;
}
header.sticky .logo a img {
	/* width: 200px; */
	width: 170px;
	transition: 0.3s ease-in-out;
}
header.sticky .logo a img {
	width: 240px;
}
header.sticky .logo1 a img, header.sticky .logo a img {
	padding: 10px;
	position: unset;
}

.ymcia-nav-logout {
	background-color: transparent;
	color: #cacaca;
	border: none;
	/* line-height: 1; */
}
/* Footer */
.ymcia-page-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
    min-height: 0;
}

.ymcia-footer {
	background: #3e3e3e;
	color: #b1afaf;
	text-align: center;
	padding: 18px 15px;
	font-size: 16px;
	/* text-transform: uppercase; */
	letter-spacing: 0.50px;
	margin-top: auto;
	font-weight: 600;
	width: 100%;
	flex-shrink: 0;
}


.ymcia-content {
    /*flex: 1;*/
    flex: 1 0 auto;
    padding: 40px 0 40px;
}

/* Login */
.ymcia-login-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 10px 15px 10px;
}

.ymcia-login-title {
    text-align: center;
    color: var(--ymcia-yellow);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.ymcia-input {
    width: 100%;
    border: none;
    background: var(--ymcia-gray-2);
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #555;
    outline: none;
}

.ymcia-search-bar .select2-selection.select2-selection--single {
	height: 100%;
	background-color: var(--ymcia-gray-2);
	border: none;
	border-radius: 0;
}

.ymcia-search-bar .select2-selection.select2-selection--single .select2-selection__rendered {
	line-height: 2.5;
}

.ymcia-input:focus {
    box-shadow: inset 0 0 0 1px var(--ymcia-yellow);
}

.ymcia-input.is-invalid {
    box-shadow: inset 0 0 0 1px #dc3545;
}

.ymcia-btn-yellow {
    display: inline-block;
    width: 100%;
    border: none;
    background: var(--ymcia-yellow);
    color: #222;
    font-size: 18px;
    font-weight: 400;
    padding: 13px 20px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.ymcia-btn-yellow:hover {
    background: var(--ymcia-yellow-hover);
    color: #222;
}

.ymcia-login-note {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}

.ymcia-login-note a {
    font-weight: 700;
    text-decoration: underline;
}

.ymcia-remember {
    color: #666;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ymcia-recaptcha {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

/* Profile */
.ymcia-profile-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px;
	border-radius: 15px;
}

.ymcia-profile-photo {
    width: 100%;
    max-width: 283px;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
    background: #f0f0f0;
}

.ymcia-profile-side-label {
    font-size: 18px;
  color: #212529;
  margin-bottom: 2px;
  font-weight: 600;
}

.ymcia-profile-side-value {
	margin-bottom: 14px;
	word-break: break-word;
}
.ymcia-profile-side-value a {
	font-size: 18px;
	color: #5d5d5d;
	word-break: break-word;
	font-weight: 600;
	transition: 0.5s;
}

.ymcia-profile-side-value a:hover {
	color: #f6bd07;
}

.ymcia-member-id {
    color: var(--ymcia-yellow);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.ymcia-profile-name {
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 6px;
    color: #222;
}

.ymcia-profile-role {
    font-size: 18px;
  font-weight: 600;
  color: #7a7a7a;
  margin-bottom: 30px;
}

.ymcia-profile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.ymcia-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #aeadad;
    border-bottom: 1px solid #aeadad;
    margin-bottom: 0;
}

.ymcia-info-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.ymcia-info-item label {
    display: block;
    font-size: 18px;
    color: #4f4f4f;
    margin-bottom: 0;
  padding: 10px 0;
  font-weight: 600;
}

.ymcia-info-item span,
.ymcia-info-item strong {
    font-size: 13px;
	color: #6e6e6e;
	font-size: 18px;
  font-weight: 600;
  line-height: 30px;
}

.ymcia-info-item label span {
    color: var(--ymcia-yellow);
    font-weight: 600;
	font-size: 18px;
}

.ymcia-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ymcia-social a {
    width: 34px;
    height: 34px;
    border: 1px solid #bbb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.ymcia-social a:hover {
    border-color: var(--ymcia-yellow);
    color: var(--ymcia-yellow);
}

.ymcia-accordion-item {
    border-top: 2px solid #ccc;
}

.ymcia-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #212529;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ymcia-accordion-btn .icon {
    font-size: 20px;
    line-height: 1;
    color: #666;
}

.ymcia-accordion-body {
    padding: 0 0 18px;
	font-size: 16px;
  color: #545454;
  font-weight: 500;
}

.ymcia-practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.ymcia-practice-grid li {
    list-style: none;
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.ymcia-practice-grid li::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--ymcia-yellow);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}

.ymcia-edit-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
}

/* Directory */
.ymcia-search-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr 0.9fr 0.9fr auto;
    gap: 10px;
    margin-bottom: 24px;
    align-items: stretch;
}

.ymcia-search-bar .ymcia-input {
    margin-bottom: 0;
    height: 100%;
}

.ymcia-search-btn {
    width: 52px;
    min-width: 52px;
    border: none;
    background: var(--ymcia-yellow);
    color: #222;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ymcia-search-btn:hover {
    background: var(--ymcia-yellow-hover);
}

.ymcia-member-card {
    display: grid;
    grid-template-columns: 283px 1fr;
    gap: 20px;
    border: 2px solid #efefef;
    padding: 18px;
    margin-bottom: 16px;
	border-radius: 15px;
    background: #fff;
}

.ymcia-member-card-photo {
    max-width: 283px;
    object-fit: cover;
    background: #f0f0f0;
}

.ymcia-member-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ymcia-member-card-name {
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 6px;
    color: #222;
}

.ymcia-member-card-role {
    font-size: 18px;
    font-weight: 600;
	color: #7a7a7a;
	margin-bottom: 30px
}

.ymcia-member-card-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    padding: 12px 0;
    border-top: 1px solid #aeadad;
    border-bottom: 1px solid #aeadad;
    margin-bottom: 12px;
}
.ymcia-member-card-contact .ymcia-info-item label a, .ymcia-member-card-contact .ymcia-info-item label span {
	color: #6e6e6e;
}
.ymcia-member-card-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ymcia-directory-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.ymcia-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ymcia-pagination a,
.ymcia-pagination span {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #444;
    font-size: 13px;
    padding: 0 8px;
    cursor: pointer;
    background: #fff;
}

.ymcia-pagination .active {
    background: #212529;
    color: #fff;
    border-color: #212529;
}

.ymcia-pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Edit profile */
.ymcia-form-section {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px;
    margin-bottom: 20px;
}

.ymcia-form-section h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: #444;
    font-weight: 700;
}

.ymcia-form-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ymcia-form-control,
.ymcia-form-select,
.ymcia-form-textarea {
    width: 100%;
    border: 1px solid #ddd;
    background: var(--ymcia-gray-2);
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 14px;
}

.ymcia-form-textarea {
    min-height: 110px;
    resize: vertical;
}

.ymcia-preview-box {
    margin-top: 10px;
    padding: 10px;
    background: #fafafa;
    border: 1px dashed #ccc;
    font-size: 13px;
}

.ymcia-preview-img {
    max-width: 160px;
    max-height: 160px;
    object-fit: cover;
    display: block;
    margin-top: 8px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 12px;
    display: block;
}

.ymcia-alert-warning {
    background: #fff8e6;
    border: 1px solid #f2c200;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .ymcia-header .container {
        flex-direction: column;
        text-align: center;
    }

    .ymcia-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ymcia-info-row,
    .ymcia-member-card-contact,
    .ymcia-search-bar {
        grid-template-columns: 1fr;
    }

    .ymcia-member-card {
        grid-template-columns: 1fr;
    }

    .ymcia-member-card-photo {
        width: 100%;
        max-width: 220px;
        height: auto;
        aspect-ratio: 1;
    }

    .ymcia-practice-grid {
        grid-template-columns: 1fr;
    }
}


.header {
	display: block;
	/* position: absolute; */
	position: fixed;
	width: 100%;
	transition: 0.3s ease-in-out;
	top: 0%;
	z-index: 99;
}

.header .logo {
	padding: 0px 0;
	display: inline-block;
	position: relative;
}

.header .logo a img {
	width: 276px;
	height: auto;
	position: relative;
	top: 5px;
	transition: 0.3s ease-in-out;
}
.logo img {
	float: right;
	padding: 20px;
}

.header .menu ul.second-ro > li {
	border-right: 1px solid #cacaca;
}

.menu-sec .topmenu li {
	list-style: none;
	font-weight: 100;
	font-size: 16px;
	margin-left: 0px;
	margin-top: 0;
}

.header .menu ul li {
	display: inline-block;
	list-style: none;
	padding: 0px 20px;
	vertical-align: top;
	margin: 20px 0;
	line-height: 14px;
}
.header .menu ul li a {
	color: #cacaca;
	text-decoration: none;
	font-weight: 400;
	font-size: 16px;
	transition: 0.5s;
	cursor: pointer;
	position: relative;
	font-family: "Barlow", sans-serif;
	z-index: 99999;
}
.header .menu ul li a:hover {
	color: #e3ba5e;
	text-decoration: none;
	border-bottom: 0px solid;
}

.header-inner-wrapper {
	display: none;
}

.menu-sec .topmenu {
	float: inherit;
	display: block;
	padding-top: 10px;
}
.menu-sec .topmenu ul {
	display: block;
	padding: 0;
	text-align: right;
}
.menu-sec .topmenu ul {
	text-align: center;
	padding-left: 0;
}
.header .menu ul li:last-child {
	border-right: 0px solid #cacaca;
	padding-right: 0;
}

.inner_top_banner {
	background-image: url(../images/about/banner.jpg);
	min-height: 530px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.inner_top_banner1 {
  background-image: url(../images/banner.jpg);
  min-height: 0px;
  height: 200px;
}
.logo1 {
  float: right;
}

.menu-sec {
  float: unset;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

header.sticky .logo a img {
  width: 240px;
}
header .logo1 img{
  width: 200px !important;
}
header.sticky .logo1 a img {
  width: 180px !important;
}
.second-ro {
  float: unset;
}
.menu-sec .topmenu ul {
  text-align: center;
  padding-left: 0;
}
header.sticky .logo1 a img, header.sticky .logo a img {
  padding: 10px;
  position: unset;
}
.logo {
  float: unset;
}
.container1 {
  display: flex;
}
.header .menu ul li:first-child {
  margin-left: 0;
  padding-left: 0;
}

h2.ymcia-login-title.head {
	color: black;
	font-size: 28px;
	text-transform: uppercase;
	font-weight: 500;
	width: 100%;
	text-align: center;
}
h2.ymcia-login-title.head span {
	color: #f1c40f;
}
@media (max-width: 990px) {
  .inner_top_banner {
    background-image: url(../images/banner.jpg);
     min-height: 150px;
     height: 150px;
  }
  .header .logo1{
    display: none;
  }
  .header .logo a img {
  width: 200px;
}
header.sticky .logo a img {
  width: 200px;
  padding-top: 25px !important;
}
header.sticky .header-inner-wrapper .mobile-navigation-section .mobile-menu-btn {
    position: relative;
    top: 10px;
  }
  .menu-sec {
	float: unset;
	width: auto;
	display: none;
}
.header .logo1 {
	display: none;
}
.header-inner-wrapper {
	display: block;
}
  .logo img {
    float: right;
    padding: 5px 0;
  }
  header .header-inner-wrapper .mobile-navigation-section .mobilemenu-btn span {
	background-color: #fff;
	border-radius: 1px 1px 1px 1px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	display: block;
	height: 2px;
	width: 24px;
	margin: 6px 0;
	transition: 0.3s ease-in-out;
}
header .header-inner-wrapper .mobile-navigation-section .mobilemenu-btn span:nth-child(2) {
	width: 14px;
	margin-left: auto;
}
header .header-inner-wrapper .mobile-navigation-section .mobile-menu-btn {
	background-color: transparent;
	border-radius: 0;
	color: #212529333;
	border: none;
	padding: 0;
	padding-right: 0px;
	padding-right: 12px;
	background-image: none;
	box-shadow: none;
}
header.sticky .header-inner-wrapper .mobile-navigation-section .mobile-menu-btn {
	position: relative;
	top: 10px;
}
.mobile-navigation-section {
	display: block;
	position: absolute;
	top: 20px;
	right: 10px;
	z-index: 999;
}
.offcanvas.show, .offcanvas.showing {
	background-color: #3e3e3e;
}
.btn-close {
	box-sizing: content-box;
	/* width: 3em; */
	width: 1em;
	height: 1em;
	color: #000;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	border: 0;
	border-radius: .375rem;
	font-size: 16px;
}
.btn-close:hover {
	color: #000;
	text-decoration: none;
	opacity: .75;
}
.topnav ul li {
	display: inline-block;
	margin-left: 0px;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding: 8px 0;
}
.offcanvas-body ul li a, .ymcia-nav-logout {
	color: #fff;
	font-weight: 500;
	line-height: 35px;
	font-size: 17px;
	display: block;
	text-transform: uppercase;
}
.offcanvas-body ul {
	padding-left: 0px;
	list-style: none;
}
.ymcia-page-bar h1 {
	text-align: center;
}
.ymcia-page-bar {
	top: 94px;
	padding: 15px 0;
}
.ymcia-search-btn {
	height: 52px;
}
}
@media (max-width: 575px) {
  .inner_top_banner {
    min-height: 100px;
    height: 100px;
  }
}


/* Directory policy + contact */
.ymcia-directory-info-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.ymcia-directory-info-card {
    background: var(--ymcia-gray-2);
    border-left: 4px solid var(--ymcia-yellow);
    padding: 28px 24px;
}

.ymcia-directory-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
    color: var(--ymcia-dark);
}

.ymcia-directory-info-card p {
    color: var(--ymcia-muted);
    margin-bottom: 18px;
    line-height: 1.55;
}

.ymcia-directory-contact-email a {
    color: var(--ymcia-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.ymcia-directory-contact-email a:hover {
    color: var(--ymcia-yellow-hover);
}

.ymcia-footer-links {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.ymcia-footer-links a {
    color: #d6d6d6;
    text-decoration: none;
}

.ymcia-footer-links a:hover {
    color: var(--ymcia-yellow);
}

.ymcia-footer-sep {
    margin: 0 10px;
    color: #777;
}

.ymcia-footer-copy {
    font-weight: 600;
}

.ymcia-policy-doc {
    max-width: 920px;
    margin: 0 auto;
}

.ymcia-policy-intro {
    background: var(--ymcia-gray-2);
    border-left: 4px solid var(--ymcia-yellow);
    padding: 24px 22px;
    margin-bottom: 28px;
}

.ymcia-policy-suite-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ymcia-dark);
}

.ymcia-policy-suite-sub {
    color: var(--ymcia-muted);
    margin-bottom: 16px;
}

.ymcia-policy-intro a {
    color: var(--ymcia-dark);
    font-weight: 600;
    text-decoration: none;
}

.ymcia-policy-intro a:hover {
    color: var(--ymcia-yellow-hover);
}

.ymcia-policy-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ymcia-gray-3);
}

.ymcia-policy-toc a {
    color: var(--ymcia-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ymcia-policy-toc a:hover {
    color: var(--ymcia-yellow-hover);
}

.ymcia-policy-section {
    margin-bottom: 40px;
    /* Fixed header (~95px) + sticky page title bar (~70px) + small gap */
    scroll-margin-top: 100px;
}

.ymcia-policy-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ymcia-dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ymcia-yellow);
}

.ymcia-policy-section h3 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 10px;
    color: var(--ymcia-dark-2);
}

.ymcia-policy-section p,
.ymcia-policy-section li {
    line-height: 1.65;
    color: #444;
    margin-bottom: 10px;
}

.ymcia-policy-section ul {
    padding-left: 1.25rem;
    margin-bottom: 14px;
}

.ymcia-policy-meta {
    color: var(--ymcia-muted) !important;
    margin-bottom: 18px !important;
}

.ymcia-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 14px;
}

.ymcia-policy-table th,
.ymcia-policy-table td {
    border: 1px solid var(--ymcia-gray-3);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.ymcia-policy-table th {
    background: var(--ymcia-gray-2);
    font-weight: 700;
}

.ymcia-policy-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--ymcia-gray-3);
}

.ymcia-policy-back-link {
    color: var(--ymcia-muted);
    font-weight: 600;
    text-decoration: none;
}

.ymcia-policy-back-link:hover {
    color: var(--ymcia-yellow-hover);
}

.ymcia-contact-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.ymcia-contact-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 32px;
}

.ymcia-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ymcia-contact-block {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-top: 4px solid var(--ymcia-yellow);
    border-radius: 12px;
    padding: 28px 22px 24px;
    text-align: center;
    height: 100%;
}

.ymcia-contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #f7f1da;
    color: #c49a00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ymcia-contact-block h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ymcia-dark);
    margin-bottom: 10px;
}

.ymcia-contact-link {
    display: inline-block;
    color: #5d5d5d;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    word-break: break-word;
    transition: 0.3s;
}

.ymcia-contact-link:hover {
    color: #f6bd07;
}

.ymcia-contact-note,
.ymcia-contact-address {
    margin: 12px 0 0;
    color: #7a7a7a;
    font-size: 14px;
    line-height: 1.55;
}

.ymcia-contact-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
}

.ymcia-contact-cta .ymcia-btn-yellow {
    width: auto;
    min-width: 160px;
    display: inline-block;
    padding: 12px 28px;
}

.header .menu ul li a.active {
    color: #e3ba5e;
}

.header .menu ul li {
    padding: 0 14px;
}

@media (max-width: 991px) {
    .ymcia-contact-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .ymcia-directory-info-row {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .ymcia-policy-section {
        scroll-margin-top: 120px;
    }
}
